Minuit Returning Function Does Not Depend on Any of the Parameters

Hello,

I am having a problem with Minuit returning “FUNCTION VALUE DOES NOT SEEM TO DEPEND ON ANY OF THE 1 VARIABLE PARAMETERS”. I have 12 variables of which I am fixing 11 and varying one. When I manually scan through the data, I can clearly see it does vary between the limits I have given. Why might the function not varying properly?

I have attached my full code and a graph of the manual scan in case you want to look. The three sections of code involving Minuit are “minimisation”, “fcn” and “scan”. “ScanCuts” is where I perform the manual scan.

SLT_NR_MVC.C (24.5 KB)
1. mBB_Scan_t>tcut
1. mBB_Scan_t<tcut
1. mBB_ManualScan_Weights

Hello @LaurenC,

if Minuit tells that it’s not varying, I would believe that this is the case. I can imagine several reasons for that:

  • In setting the parameters constant, you might have accidentally set one constant which you didn’t want to set constant.
    I guess you can test this by setting none of them constant, and only handing over a single parameter to Minuit, so it sees a one-parameter fit problem. Now, it should work if what I described above was the problem.
    To achieve this, you can wrap your N-parameter function into a function that takes only a single parameter, and sets the other N-1 parameters to a value that you can pre-define.
  • The other option could be that the step size or the limits of the parameters are wrong such that Minuit doesn’t see any difference. Please try to set the print level to 1 (or maybe even higher, I don’t know the exact meaning of the values), and see what Minuit says.

PS:
Often it’s good to also post the output of the macro. We might see things that you missed.

Hi Stephan,

I have checked the function and the correct variables are being varied. This is the output for the first parameter being varied:

Processing SLT_NR_MVC.C...
 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 mBB_t>tcut   7.20000e+01  1.00000e-01    3.00000e+01  1.00000e+02
     2 mMMC_t>tcut   9.80000e+01  5.00000e-01    7.00000e+01  1.10000e+02
     3 mHH_t>tcut   3.38000e+02  5.00000e-01    2.50000e+02  7.00000e+02
     4 drBB_t>tcut   7.60000e-01  1.00000e-03    4.00000e-01  2.00000e+00
     5 drLepTau_t>tcut   6.00000e-01  1.00000e-03    4.00000e-01  2.00000e+00
     6 mtLepMet_t>tcut   1.50000e+01  5.00000e-01    0.00000e+00  2.00000e+02
     7 mBB_t<tcut   1.41000e+02  5.00000e-01    1.30000e+02  5.00000e+02
     8 mMMC_t<tcut   4.76000e+02  5.00000e-01    1.10000e+02  5.00000e+02
     9 mHH_t<tcut   3.93921e+06  5.00000e-01     no limits
    10 drBB_t<tcut   4.70000e+00  1.00000e-03    1.00000e+00  5.00000e+00
    11 drLepTau_t<tcut   4.90000e+00  1.00000e-03    4.00000e-01  5.00000e+00
    12 mtLepMet_t<tcut   1.90000e+02  5.00000e-01    0.00000e+00  2.00000e+02
 **********
 **    1 **FIX            2
 **********
 **********
 **    2 **FIX            3
 **********
 **********
 **    3 **FIX            4
 **********
 **********
 **    4 **FIX            5
 **********
 **********
 **    5 **FIX            6
 **********
 **********
 **    6 **FIX            7
 **********
 **********
 **    7 **FIX            8
 **********
 **********
 **    8 **FIX            9
 **********
 **********
 **    9 **FIX           10
 **********
 **********
 **   10 **FIX           11
 **********
 **********
 **   11 **FIX           12
 **********
 **********
 **   12 **SIMPLEX         1000         0.1
 **********
 FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT. 0.1
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS        3 CALLS           4 TOTAL
                     EDM=0.000165619    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01   1.00000e-01   3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mHH_t>tcut   3.38000e+02     fixed       2.50000e+02   7.00000e+02
   4  drBB_t>tcut   7.60000e-01     fixed       4.00000e-01   2.00000e+00
   5  drLepTau_t>tcut   6.00000e-01     fixed       4.00000e-01   2.00000e+00
   6  mtLepMet_t>tcut   1.50000e+01     fixed       0.00000e+00   2.00000e+02
   7  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   8  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
   9  mHH_t<tcut   3.93921e+06     fixed    
  10  drBB_t<tcut   4.70000e+00     fixed       1.00000e+00   5.00000e+00
  11  drLepTau_t<tcut   4.90000e+00     fixed       4.00000e-01   5.00000e+00
  12  mtLepMet_t<tcut   1.90000e+02     fixed       0.00000e+00   2.00000e+02
 SIMPLEX MINIMIZATION HAS CONVERGED.
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS        8 CALLS           9 TOTAL
                     EDM=4.34069e-06    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01   1.00000e-01   3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mHH_t>tcut   3.38000e+02     fixed       2.50000e+02   7.00000e+02
   4  drBB_t>tcut   7.60000e-01     fixed       4.00000e-01   2.00000e+00
   5  drLepTau_t>tcut   6.00000e-01     fixed       4.00000e-01   2.00000e+00
   6  mtLepMet_t>tcut   1.50000e+01     fixed       0.00000e+00   2.00000e+02
   7  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   8  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
   9  mHH_t<tcut   3.93921e+06     fixed    
  10  drBB_t<tcut   4.70000e+00     fixed       1.00000e+00   5.00000e+00
  11  drLepTau_t<tcut   4.90000e+00     fixed       4.00000e-01   5.00000e+00
  12  mtLepMet_t<tcut   1.90000e+02     fixed       0.00000e+00   2.00000e+02
 **********
 **   13 **MIGRAD        2e+04         0.1
 **********
 START MIGRAD MINIMIZATION.  STRATEGY  1.  CONVERGENCE WHEN EDM .LT. 1.00e-04
 FCN=-0.204024 FROM MIGRAD    STATUS=INITIATE        6 CALLS          15 TOTAL
                     EDM= unknown      STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS       STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01   1.00000e-01   1.16642e-04  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mHH_t>tcut   3.38000e+02     fixed    
   4  drBB_t>tcut   7.60000e-01     fixed    
   5  drLepTau_t>tcut   6.00000e-01     fixed    
   6  mtLepMet_t>tcut   1.50000e+01     fixed    
   7  mBB_t<tcut   1.41000e+02     fixed    
   8  mMMC_t<tcut   4.76000e+02     fixed    
   9  mHH_t<tcut   3.93921e+06     fixed    
  10  drBB_t<tcut   4.70000e+00     fixed    
  11  drLepTau_t<tcut   4.90000e+00     fixed    
  12  mtLepMet_t<tcut   1.90000e+02     fixed    
 MIGRAD FAILS TO FIND IMPROVEMENT
 COVARIANCE MATRIX CALCULATED SUCCESSFULLY
 FCN=-0.204024 FROM HESSE     STATUS=OK              5 CALLS          29 TOTAL
                     EDM=1.75655e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01   4.68875e-01   1.14611e-05  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mHH_t>tcut   3.38000e+02     fixed    
   4  drBB_t>tcut   7.60000e-01     fixed    
   5  drLepTau_t>tcut   6.00000e-01     fixed    
   6  mtLepMet_t>tcut   1.50000e+01     fixed    
   7  mBB_t<tcut   1.41000e+02     fixed    
   8  mMMC_t<tcut   4.76000e+02     fixed    
   9  mHH_t<tcut   3.93921e+06     fixed    
  10  drBB_t<tcut   4.70000e+00     fixed    
  11  drLepTau_t<tcut   4.90000e+00     fixed    
  12  mtLepMet_t<tcut   1.90000e+02     fixed    
 MIGRAD FAILS TO FIND IMPROVEMENT
 MIGRAD MINIMIZATION HAS CONVERGED.
 FCN=-0.204024 FROM MIGRAD    STATUS=CONVERGED      29 CALLS          38 TOTAL
                     EDM=1.75655e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01   4.68875e-01   0.00000e+00  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mHH_t>tcut   3.38000e+02     fixed    
   4  drBB_t>tcut   7.60000e-01     fixed    
   5  drLepTau_t>tcut   6.00000e-01     fixed    
   6  mtLepMet_t>tcut   1.50000e+01     fixed    
   7  mBB_t<tcut   1.41000e+02     fixed    
   8  mMMC_t<tcut   4.76000e+02     fixed    
   9  mHH_t<tcut   3.93921e+06     fixed    
  10  drBB_t<tcut   4.70000e+00     fixed    
  11  drLepTau_t<tcut   4.90000e+00     fixed    
  12  mtLepMet_t<tcut   1.90000e+02     fixed    
 EXTERNAL ERROR MATRIX.    NDIM=  25    NPAR=  1    ERR DEF=1
  2.199e-01 
fmin = -0.204024 fedm = 1.75655e-07 errdef = 1
npari = 1 nparx = 12 istat = 3
minimisation of variable mBB complete

 **********
 **   14 **SCAN            1        1000           0         500
 **********
1SCAN OF PARAMETER NO. 1,  mBB_t>tcut
 FCN=-0.204653 FROM SCAn        STATUS=IMPROVED       98 CALLS         136 TOTAL
                     EDM=1.75655e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.25773e+01   4.68875e-01   0.00000e+00  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mHH_t>tcut   3.38000e+02     fixed    
   4  drBB_t>tcut   7.60000e-01     fixed    
   5  drLepTau_t>tcut   6.00000e-01     fixed    
   6  mtLepMet_t>tcut   1.50000e+01     fixed    
   7  mBB_t<tcut   1.41000e+02     fixed    
   8  mMMC_t<tcut   4.76000e+02     fixed    
   9  mHH_t<tcut   3.93921e+06     fixed    
  10  drBB_t<tcut   4.70000e+00     fixed    
  11  drLepTau_t<tcut   4.90000e+00     fixed    
  12  mtLepMet_t<tcut   1.90000e+02     fixed    
Minuit Scan of variable mBB complete

I have also copied the function being varied across to an independent program (Debugger.C). Using the same step size as in the original program, I get the output as follows

-0.765405
-0.765305
-0.766735
-0.769408
-0.770576
-0.771739
-0.771381
-0.775027
-0.776778
-0.779103
-0.78016
-0.782176
-0.782192
-0.783223
-0.789127
-0.789694
-0.792568
-0.794006
-0.793174
-0.796097
-0.797191
-0.798299
-0.799581
-0.801503
-0.800177
-0.800834
-0.802493
-0.80179
-0.801491
-0.801909
-0.801204
-0.801495
-0.801737
-0.8036
-0.802146
-0.800773
-0.801458
-0.800649
-0.79987
-0.801596
-0.804093
-0.80212
-0.801902
-0.801048
-0.797642
-0.794917
-0.792488
-0.78976
-0.790293
-0.791761
-0.787314
-0.787479
-0.785306
-0.782195
-0.779243
-0.781717
-0.780358
-0.773069
-0.769074
-0.764908
-0.762448
-0.756819
-0.750118
-0.746669
-0.743766
-0.74143
-0.737782
-0.732341
-0.72835
-0.723767
-0.717361
-0.713588
-0.707883
-0.704866
-0.703363
-0.696127
-0.691288
-0.684597
-0.676998
-0.67317
-0.665537
-0.655273
-0.650654
-0.639559
-0.631936
-0.62133
-0.61365
-0.603949
-0.598159
-0.589639
-0.578692
-0.569387
-0.556595
-0.544622
-0.540233
-0.53507
-0.539645
-0.527293
-0.512176
-0.497716

Have you any ideas of where I’m going wrong?

What I see is that the function always has the same value, at least when it’s being evaluate by Minuit. It’s unclear why Minuit doesn’t understand what’s going on.

  • I can only suggest again to remove all the overhead, and only pass a one-parameter function to Minuit.
  • Further, I would suggest to try Minuit2. It might give different diagnostics.

Hi Stephen.

I have run it with one variable (but two cuts) and it works fine. However if I run it with more than one I am having the same problem.

Processing Debugger2.C...
 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 mBB_t>tcut   7.20000e+01  1.00000e-01    3.00000e+01  1.00000e+02
     2 mBB_t<tcut   1.41000e+02  5.00000e-01    1.30000e+02  5.00000e+02
 **********
 **    1 **FIX            2
 **********
 **********
 **    2 **SIMPLEX         1000         0.1
 **********
 FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT. 0.1
 FCN=-0.687754 FROM SIMPLEX   STATUS=PROGRESS        6 CALLS           7 TOTAL
                     EDM=0.0222201    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   8.34192e+01   1.00000e-01   3.00000e+01   1.00000e+02
   2  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
 SIMPLEX MINIMIZATION HAS CONVERGED.
 FCN=-0.692786 FROM SIMPLEX   STATUS=PROGRESS       11 CALLS          12 TOTAL
                     EDM=0.00137296    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   8.83567e+01   1.00000e-01   3.00000e+01   1.00000e+02
   2  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
 **********
 **    3 **MIGRAD        2e+04         0.1
 **********
 START MIGRAD MINIMIZATION.  STRATEGY  1.  CONVERGENCE WHEN EDM .LT. 1.00e-04
 FCN=-0.692807 FROM MIGRAD    STATUS=INITIATE       19 CALLS          31 TOTAL
                     EDM= unknown      STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS       STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   8.83593e+01   1.00000e-01   1.00266e-04  -1.51770e-01
   2  mBB_t<tcut   1.41000e+02     fixed    
 MIGRAD FAILS TO FIND IMPROVEMENT
 COVARIANCE MATRIX CALCULATED SUCCESSFULLY
 FCN=-0.692807 FROM HESSE     STATUS=OK              5 CALLS          43 TOTAL
                     EDM=2.71009e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   8.83593e+01   1.78804e-01   7.14262e-06  -1.51770e-01
   2  mBB_t<tcut   1.41000e+02     fixed    
 MIGRAD FAILS TO FIND IMPROVEMENT
 MIGRAD MINIMIZATION HAS CONVERGED.
 FCN=-0.692807 FROM MIGRAD    STATUS=CONVERGED      38 CALLS          50 TOTAL
                     EDM=2.71009e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   8.83593e+01   1.78804e-01   0.00000e+00  -1.51770e-01
   2  mBB_t<tcut   1.41000e+02     fixed    
 EXTERNAL ERROR MATRIX.    NDIM=  25    NPAR=  1    ERR DEF=1
  3.197e-02 
fmin = -0.692807 fedm = 2.71009e-07 errdef = 1
npari = 1 nparx = 2 istat = 3
minimisation of variable mBB complete

 **********
 **    4 **SCAN            1        1000           0         500
 **********
1SCAN OF PARAMETER NO. 1,  mBB_t>tcut
 FCN=-0.693257 FROM SCAn        STATUS=IMPROVED       98 CALLS         148 TOTAL
                     EDM=2.71009e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   8.77320e+01   1.78804e-01   0.00000e+00  -1.51770e-01
   2  mBB_t<tcut   1.41000e+02     fixed    
Minuit Scan of variable mBB complete

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 mBB_t>tcut   7.20000e+01  1.00000e-01    3.00000e+01  1.00000e+02
     2 mBB_t<tcut   1.41000e+02  5.00000e-01    1.30000e+02  5.00000e+02
 **********
 **    1 **FIX            1
 **********
 **********
 **    2 **SIMPLEX         1000         0.1
 **********
 FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT. 0.1
 FCN=-0.665698 FROM SIMPLEX   STATUS=PROGRESS        3 CALLS           4 TOTAL
                     EDM=0.000163657    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mBB_t<tcut   1.40801e+02   5.00000e-01   1.30000e+02   5.00000e+02
 SIMPLEX MINIMIZATION HAS CONVERGED.
 FCN=-0.665861 FROM SIMPLEX   STATUS=PROGRESS        8 CALLS           9 TOTAL
                     EDM=0.00013474    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mBB_t<tcut   1.40751e+02   5.00000e-01   1.30000e+02   5.00000e+02
 **********
 **    3 **MIGRAD        2e+04         0.1
 **********
 START MIGRAD MINIMIZATION.  STRATEGY  1.  CONVERGENCE WHEN EDM .LT. 1.00e-04
 FCN=-0.665861 FROM MIGRAD    STATUS=INITIATE        6 CALLS          15 TOTAL
                     EDM= unknown      STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS       STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mBB_t<tcut   1.40751e+02   5.00000e-01   7.95658e-04   1.85323e-01
 MIGRAD FAILS TO FIND IMPROVEMENT
 COVARIANCE MATRIX CALCULATED SUCCESSFULLY
 FCN=-0.665861 FROM HESSE     STATUS=OK              5 CALLS          26 TOTAL
                     EDM=2.31021e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mBB_t<tcut   1.40751e+02   1.01938e+00   8.73066e-06   1.85323e-01
 MIGRAD FAILS TO FIND IMPROVEMENT
 MIGRAD MINIMIZATION HAS CONVERGED.
 FCN=-0.665861 FROM MIGRAD    STATUS=CONVERGED      23 CALLS          32 TOTAL
                     EDM=2.31021e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mBB_t<tcut   1.40751e+02   1.01938e+00  -0.00000e+00   1.85323e-01
 EXTERNAL ERROR MATRIX.    NDIM=  25    NPAR=  1    ERR DEF=1
  1.039e+00 
fmin = -0.665861 fedm = 2.31021e-06 errdef = 1
npari = 1 nparx = 2 istat = 3
minimisation of variable The Minimization p complete

 **********
 **    4 **SCAN            2        1000           0         500
 **********
1SCAN OF PARAMETER NO. 2,  mBB_t<tcut
 FCN=-0.665861 FROM SCAn        STATUS= NO CHANGE     98 CALLS         130 TOTAL
                     EDM=2.31021e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mBB_t<tcut   1.40751e+02   1.01938e+00  -0.00000e+00   1.85323e-01
Minuit Scan of variable mBB complete

However as soon as I add a second variable it starts misbehaving

Processing Debugger2.C...
 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 mBB_t>tcut   7.20000e+01  1.00000e-01    3.00000e+01  1.00000e+02
     2 mMMC_t>tcut   9.80000e+01  5.00000e-01    7.00000e+01  1.10000e+02
     3 mBB_t<tcut   1.41000e+02  5.00000e-01    1.30000e+02  5.00000e+02
     4 mMMC_t<tcut   4.76000e+02  5.00000e-01    1.10000e+02  5.00000e+02
 **********
 **    1 **FIX            2
 **********
 **********
 **    2 **FIX            3
 **********
 **********
 **    3 **FIX            4
 **********
 **********
 **    4 **SIMPLEX         1000         0.1
 **********
 FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT. 0.1
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS        3 CALLS           4 TOTAL
                     EDM=0.000165619    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01   1.00000e-01   3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
 SIMPLEX MINIMIZATION HAS CONVERGED.
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS        8 CALLS           9 TOTAL
                     EDM=4.34069e-06    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01   1.00000e-01   3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
 **********
 **    5 **MIGRAD        2e+04         0.1
 **********
 START MIGRAD MINIMIZATION.  STRATEGY  1.  CONVERGENCE WHEN EDM .LT. 1.00e-04
 FCN=-0.204024 FROM MIGRAD    STATUS=INITIATE        6 CALLS          15 TOTAL
                     EDM= unknown      STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS       STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01   1.00000e-01   1.16642e-04  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02     fixed    
 MIGRAD FAILS TO FIND IMPROVEMENT
 COVARIANCE MATRIX CALCULATED SUCCESSFULLY
 FCN=-0.204024 FROM HESSE     STATUS=OK              5 CALLS          29 TOTAL
                     EDM=1.75655e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01   4.68875e-01   1.14611e-05  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02     fixed    
 MIGRAD FAILS TO FIND IMPROVEMENT
 MIGRAD MINIMIZATION HAS CONVERGED.
 FCN=-0.204024 FROM MIGRAD    STATUS=CONVERGED      29 CALLS          38 TOTAL
                     EDM=1.75655e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01   4.68875e-01   0.00000e+00  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02     fixed    
 EXTERNAL ERROR MATRIX.    NDIM=  25    NPAR=  1    ERR DEF=1
  2.199e-01 
fmin = -0.204024 fedm = 1.75655e-07 errdef = 1
npari = 1 nparx = 4 istat = 3
minimisation of variable mBB complete

 **********
 **    6 **SCAN            1        1000           0         500
 **********
1SCAN OF PARAMETER NO. 1,  mBB_t>tcut
 FCN=-0.204653 FROM SCAn        STATUS=IMPROVED       98 CALLS         136 TOTAL
                     EDM=1.75655e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.25773e+01   4.68875e-01   0.00000e+00  -6.13046e-02
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02     fixed    
Minuit Scan of variable mBB complete

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 mBB_t>tcut   7.20000e+01  1.00000e-01    3.00000e+01  1.00000e+02
     2 mMMC_t>tcut   9.80000e+01  5.00000e-01    7.00000e+01  1.10000e+02
     3 mBB_t<tcut   1.41000e+02  5.00000e-01    1.30000e+02  5.00000e+02
     4 mMMC_t<tcut   4.76000e+02  5.00000e-01    1.10000e+02  5.00000e+02
 **********
 **    1 **FIX            1
 **********
 **********
 **    2 **FIX            2
 **********
 **********
 **    3 **FIX            4
 **********
 **********
 **    4 **SIMPLEX         1000         0.1
 **********
 FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT. 0.1
  FUNCTION VALUE DOES NOT SEEM TO DEPEND ON ANY OF THE 1 VARIABLE PARAMETERS.
          VERIFY THAT STEP SIZES ARE BIG ENOUGH AND CHECK FCN LOGIC.
 *******************************************************************************
 *******************************************************************************
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS        6 CALLS           7 TOTAL
                     EDM=0    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02   5.00000e-01   1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
  FUNCTION VALUE DOES NOT SEEM TO DEPEND ON ANY OF THE 1 VARIABLE PARAMETERS.
          VERIFY THAT STEP SIZES ARE BIG ENOUGH AND CHECK FCN LOGIC.
 *******************************************************************************
 *******************************************************************************
  FUNCTION VALUE DOES NOT SEEM TO DEPEND ON ANY OF THE 1 VARIABLE PARAMETERS.
          VERIFY THAT STEP SIZES ARE BIG ENOUGH AND CHECK FCN LOGIC.
 *******************************************************************************
 *******************************************************************************
 SIMPLEX MINIMIZATION HAS CONVERGED.
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS       11 CALLS          12 TOTAL
                     EDM=0    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02   5.00000e-01   1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
 **********
 **    5 **MIGRAD        2e+04         0.1
 **********
 START MIGRAD MINIMIZATION.  STRATEGY  1.  CONVERGENCE WHEN EDM .LT. 1.00e-04
 FCN=-0.204024 FROM MIGRAD    STATUS=INITIATE       17 CALLS          29 TOTAL
                     EDM= unknown      STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS       STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02   5.00000e-01   0.00000e+00   0.00000e+00
   4  mMMC_t<tcut   4.76000e+02     fixed    
 MIGRAD MINIMIZATION HAS CONVERGED.
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MINUIT WARNING IN HESSE
 ============== Second derivative zero for parameter3
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 
 FCN=-0.204024 FROM HESSE     STATUS=FAILED          7 CALLS          36 TOTAL
                     EDM=0    STRATEGY= 1  ERROR MATRIX UNCERTAINTY 100.0 per cent
  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02   2.27397e+02   0.00000e+00   0.00000e+00
   4  mMMC_t<tcut   4.76000e+02     fixed    
 MIGRAD MINIMIZATION HAS CONVERGED.
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MINUIT WARNING IN HESSE
 ============== Second derivative zero for parameter3
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 
 FCN=-0.204024 FROM MIGRAD    STATUS=CONVERGED      31 CALLS          43 TOTAL
                     EDM=0    STRATEGY= 1  ERROR MATRIX UNCERTAINTY 100.0 per cent
  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02   2.27397e+02   0.00000e+00   0.00000e+00
   4  mMMC_t<tcut   4.76000e+02     fixed    
 EXTERNAL ERROR MATRIX.    NDIM=  25    NPAR=  1    ERR DEF=1
  7.898e+03 
ERR MATRIX APPROXIMATE
fmin = -0.204024 fedm = 0 errdef = 1
npari = 1 nparx = 4 istat = 1
minimisation of variable ��5!�p�غ�5ZtautauL.root�<��o�%
0                                                          0�
غ�5� complete

 **********
 **    6 **SCAN            3        1000           0         500
 **********
1SCAN OF PARAMETER NO. 3,  mBB_t<tcut
 FCN=-0.204024 FROM SCAn        STATUS= NO CHANGE     98 CALLS         141 TOTAL
                     EDM=0    STRATEGY= 1  ERROR MATRIX UNCERTAINTY 100.0 per cent
  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME      VALUE            ERROR       STEP SIZE       VALUE   
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02   2.27397e+02   0.00000e+00  -1.22422e+00
   4  mMMC_t<tcut   4.76000e+02     fixed    
Minuit Scan of variable mBB complete

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 mBB_t>tcut   7.20000e+01  1.00000e-01    3.00000e+01  1.00000e+02
     2 mMMC_t>tcut   9.80000e+01  5.00000e-01    7.00000e+01  1.10000e+02
     3 mBB_t<tcut   1.41000e+02  5.00000e-01    1.30000e+02  5.00000e+02
     4 mMMC_t<tcut   4.76000e+02  5.00000e-01    1.10000e+02  5.00000e+02
 **********
 **    1 **FIX            1
 **********
 **********
 **    2 **FIX            3
 **********
 **********
 **    3 **FIX            4
 **********
 **********
 **    4 **SIMPLEX         1000         0.1
 **********
 FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT. 0.1
 FCN=-0.358605 FROM SIMPLEX   STATUS=PROGRESS        5 CALLS           6 TOTAL
                     EDM=0.154581    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   1.09954e+02   5.00000e-01   7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
 SIMPLEX MINIMIZATION HAS CONVERGED.
 FCN=-0.358605 FROM SIMPLEX   STATUS=PROGRESS       10 CALLS          11 TOTAL
                     EDM=0.00577878    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   1.09954e+02   5.00000e-01   7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02     fixed       1.10000e+02   5.00000e+02
 **********
 **    5 **MIGRAD        2e+04         0.1
 **********
 START MIGRAD MINIMIZATION.  STRATEGY  1.  CONVERGENCE WHEN EDM .LT. 1.00e-04
 FCN=-0.358605 FROM MIGRAD    STATUS=INITIATE       23 CALLS          34 TOTAL
                     EDM= unknown      STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS       STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   1.09954e+02   5.00000e-01   0.00000e+00  -3.18135e-02
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02     fixed    
 MIGRAD MINIMIZATION HAS CONVERGED.
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MINUIT WARNING IN HESSE
 ============== Second derivative enters zero, param 2
 COVARIANCE MATRIX CALCULATED SUCCESSFULLY
 FCN=-0.358998 FROM MIGRAD    STATUS=CONVERGED      48 CALLS          59 TOTAL
                     EDM=2.39053e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   1.09998e+02   3.99707e+01   5.53558e-02  -7.09419e-04
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02     fixed    
 EXTERNAL ERROR MATRIX.    NDIM=  25    NPAR=  1    ERR DEF=1
  9.213e-01 
fmin = -0.358998 fedm = 2.39053e-06 errdef = 1
npari = 1 nparx = 4 istat = 3
minimisation of variable mMMC complete

 **********
 **    6 **SCAN            2        1000           0         500
 **********
1SCAN OF PARAMETER NO. 2,  mMMC_t>tcut
 FCN=-0.358998 FROM SCAn        STATUS= NO CHANGE     98 CALLS         157 TOTAL
                     EDM=2.39053e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   1.09998e+02   3.99707e+01   5.53558e-02  -7.09419e-04
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02     fixed    
Minuit Scan of variable mMMC complete

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 mBB_t>tcut   7.20000e+01  1.00000e-01    3.00000e+01  1.00000e+02
     2 mMMC_t>tcut   9.80000e+01  5.00000e-01    7.00000e+01  1.10000e+02
     3 mBB_t<tcut   1.41000e+02  5.00000e-01    1.30000e+02  5.00000e+02
     4 mMMC_t<tcut   4.76000e+02  5.00000e-01    1.10000e+02  5.00000e+02
 **********
 **    1 **FIX            1
 **********
 **********
 **    2 **FIX            2
 **********
 **********
 **    3 **FIX            3
 **********
 **********
 **    4 **SIMPLEX         1000         0.1
 **********
 FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT. 0.1
  FUNCTION VALUE DOES NOT SEEM TO DEPEND ON ANY OF THE 1 VARIABLE PARAMETERS.
          VERIFY THAT STEP SIZES ARE BIG ENOUGH AND CHECK FCN LOGIC.
 *******************************************************************************
 *******************************************************************************
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS        6 CALLS           7 TOTAL
                     EDM=0    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02   5.00000e-01   1.10000e+02   5.00000e+02
  FUNCTION VALUE DOES NOT SEEM TO DEPEND ON ANY OF THE 1 VARIABLE PARAMETERS.
          VERIFY THAT STEP SIZES ARE BIG ENOUGH AND CHECK FCN LOGIC.
 *******************************************************************************
 *******************************************************************************
  FUNCTION VALUE DOES NOT SEEM TO DEPEND ON ANY OF THE 1 VARIABLE PARAMETERS.
          VERIFY THAT STEP SIZES ARE BIG ENOUGH AND CHECK FCN LOGIC.
 *******************************************************************************
 *******************************************************************************
 SIMPLEX MINIMIZATION HAS CONVERGED.
 FCN=-0.204024 FROM SIMPLEX   STATUS=PROGRESS       11 CALLS          12 TOTAL
                     EDM=0    STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS      PHYSICAL LIMITS       
  NO.   NAME      VALUE            ERROR       NEGATIVE      POSITIVE  
   1  mBB_t>tcut   7.20000e+01     fixed       3.00000e+01   1.00000e+02
   2  mMMC_t>tcut   9.80000e+01     fixed       7.00000e+01   1.10000e+02
   3  mBB_t<tcut   1.41000e+02     fixed       1.30000e+02   5.00000e+02
   4  mMMC_t<tcut   4.76000e+02   5.00000e-01   1.10000e+02   5.00000e+02
 **********
 **    5 **MIGRAD        2e+04         0.1
 **********
 START MIGRAD MINIMIZATION.  STRATEGY  1.  CONVERGENCE WHEN EDM .LT. 1.00e-04
 FCN=-0.204024 FROM MIGRAD    STATUS=INITIATE       17 CALLS          29 TOTAL
                     EDM= unknown      STRATEGY= 1      NO ERROR MATRIX       
  EXT PARAMETER               CURRENT GUESS       STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02   5.00000e-01   0.00000e+00   0.00000e+00
 MIGRAD MINIMIZATION HAS CONVERGED.
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MINUIT WARNING IN HESSE
 ============== Second derivative zero for parameter4
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 
 FCN=-0.204024 FROM HESSE     STATUS=FAILED          7 CALLS          36 TOTAL
                     EDM=0    STRATEGY= 1  ERROR MATRIX UNCERTAINTY 100.0 per cent
  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02   3.13455e+02   0.00000e+00   0.00000e+00
 MIGRAD MINIMIZATION HAS CONVERGED.
 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MINUIT WARNING IN HESSE
 ============== Second derivative zero for parameter4
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 
 FCN=-0.204024 FROM MIGRAD    STATUS=CONVERGED      31 CALLS          43 TOTAL
                     EDM=0    STRATEGY= 1  ERROR MATRIX UNCERTAINTY 100.0 per cent
  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02   3.13455e+02   0.00000e+00   0.00000e+00
 EXTERNAL ERROR MATRIX.    NDIM=  25    NPAR=  1    ERR DEF=1
  1.757e+04 
ERR MATRIX APPROXIMATE
fmin = -0.204024 fedm = 0 errdef = 1
npari = 1 nparx = 4 istat = 1
minimisation of variable ��5ZtautauL.root�<��o�%
0                                                 0�
غ�5!�p�غ�5� complete

 **********
 **    6 **SCAN            4        1000           0         500
 **********
1SCAN OF PARAMETER NO. 4,  mMMC_t<tcut
 FCN=-0.204024 FROM SCAn        STATUS= NO CHANGE     98 CALLS         141 TOTAL
                     EDM=0    STRATEGY= 1  ERROR MATRIX UNCERTAINTY 100.0 per cent
  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME      VALUE            ERROR       STEP SIZE       VALUE   
   1  mBB_t>tcut   7.20000e+01     fixed    
   2  mMMC_t>tcut   9.80000e+01     fixed    
   3  mBB_t<tcut   1.41000e+02     fixed    
   4  mMMC_t<tcut   4.76000e+02   3.13455e+02   0.00000e+00   1.06942e+00
Minuit Scan of variable mMMC complete

What is weird that is after the Minuit has done its thing, I have a line of code that says:

  cout << "minimisation of variable " << varsName[cutVarIndex] << " complete" << endl << endl;

however it is outputting

minimisation of variable ��5ZtautauL.root�<��o�%
0                                                 0�
غ�5!�p�غ�5� complete

Do you have any idea about this?

I don’t know enough about Minuit to help you with your puzzle. The only other thing I can think of is to set the fit strategy to robust instead of balanced or fast.

As to the variable names:
Apparently, you are generating variable names with weird characters. It might also be the you are reading behind the end of the array. If you are really lucky, fixing these weird names gets Minuit out of its problems. It could well be that special characters in the parameter names cause trouble or that you have an index bug which leads to the wrong names being handed over to Minuit.

Hi Stephen,

There are no special characters etc. In fact “ZtautauL.root” is a filename not even passed to this function so I have no idea whats happening. The varsName declaration is

  TString varsName[] = {"mBB", "mMMC","mHH", "drBB", "drLepTau", "mtLepMet"};

So I can’t see where the leak is.

I assume you read the array with variable names at position 6, i.e. past the end.

  • Do you compile the macro? Does it complain?
  • Do you have memory checkers such as valgrind?

Hi Stephan,

This is the code I am currently running. The array with the variable names is used to define the variables and is also declared inside the fitting function.

I am running it using “root -l -b -q -x Debugger2.C”.

Debugger2.C

You are missing: #include "TGraph.h"
Try to replace every single Form(...) with TString::Format(...).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.