importing root, please wait ...
...root imported
Using root file /twist/tw00y/systematics//data/set72/anal2/goodlinks/run41465/041465.root
using z positions from 2006/7
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 5.2765e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -1.0421e+04  9.4753e-01  9.8012e-01  1.0162e+00  1.0712e+00  1.0812e+00  1.0423e+04
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 10431.893644 TO DIAGONAL.
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -6.5393e-03  2.0817e-01  5.8260e-01  8.6401e-01  1.0409e+00  1.6322e+00  2.6787e+00
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 0.009218 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.15095e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4178e+03  9.6371e-01  9.8970e-01  1.0017e+00  1.0088e+00  1.0370e+00  5.4198e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5423.262232 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.15078e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4175e+03  9.6462e-01  9.9001e-01  1.0016e+00  1.0086e+00  1.0361e+00  5.4195e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5422.936816 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.14972e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4183e+03  9.6462e-01  9.9001e-01  1.0016e+00  1.0086e+00  1.0361e+00  5.4203e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5423.693917 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 2095.72 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -4.1564e+01  2.1894e-01  4.2685e-01  8.5635e-01  1.0151e+00  1.8205e+00  4.4226e+01
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 41.608314 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.02683e+07 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -7.7905e+02 -4.4336e-02  8.2129e-01  9.2226e-01  1.0737e+00  2.2558e+00  7.8103e+02
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 779.835584 TO DIAGONAL.
 MINUIT WARNING IN MIGRAD  
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN MIGRAD  
 ============== 1 added to diagonal of error matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 2.58626e+07 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -7.1681e+03  7.2960e-01  9.3963e-01  9.7382e-01  1.0227e+00  1.2766e+00  7.1701e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 7175.258497 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 2.58626e+07 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -7.1638e+03  7.3007e-01  9.3972e-01  9.7349e-01  1.0224e+00  1.2764e+00  7.1659e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 7170.971245 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.15095e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4178e+03  9.6371e-01  9.8970e-01  1.0017e+00  1.0088e+00  1.0370e+00  5.4198e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5423.262232 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.15078e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4175e+03  9.6462e-01  9.9001e-01  1.0016e+00  1.0086e+00  1.0361e+00  5.4195e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5422.936816 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.14972e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4183e+03  9.6462e-01  9.9001e-01  1.0016e+00  1.0086e+00  1.0361e+00  5.4203e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5423.693917 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.13643e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4275e+03  9.6439e-01  9.8990e-01  1.0016e+00  1.0087e+00  1.0364e+00  5.4295e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5432.924832 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.15095e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.4172e+03  9.6462e-01  9.9004e-01  1.0016e+00  1.0085e+00  1.0361e+00  5.4192e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5422.574293 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.15095e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -5.3956e+03  9.6432e-01  9.8992e-01  1.0016e+00  1.0084e+00  1.0358e+00  5.3976e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 5401.028526 TO DIAGONAL.
 NEW MINIMUM FOUND.  GO BACK TO MINIMIZATION STEP.
 =================================================
                                                  V
                                                  V
                                                  V
                                               VVVVVVV
                                                VVVVV
                                                 VVV
                                                  V

 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.08805e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -2.6592e+03  9.7975e-01  9.9333e-01  9.9996e-01  1.0035e+00  1.0434e+00  2.6612e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 2661.880305 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.08804e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -2.5262e+03  9.7977e-01  9.9362e-01  9.9995e-01  1.0026e+00  1.0416e+00  2.5281e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 2528.680517 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 1.08818e+08 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -2.5033e+03  9.7974e-01  9.9184e-01  9.9982e-01  1.0008e+00  1.0386e+00  2.5053e+03
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 2505.801095 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 2247.49 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -3.8075e+01  2.2004e-01  4.2395e-01  8.5482e-01  1.0158e+00  1.8262e+00  4.0734e+01
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 38.115354 TO DIAGONAL.
 MINUIT WARNING IN MIGRAD  
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN MIGRAD  
 ============== 1.00616 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -2.2880e-01  2.1632e-01  5.4892e-01  8.7575e-01  1.0103e+00  1.7878e+00  2.7897e+00
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 0.231591 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 3 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 2.57388e+09 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -2.7652e+04  9.7274e-01  9.9483e-01  1.0000e+00  1.0094e+00  1.0540e+00  2.7654e+04
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 27679.719241 TO DIAGONAL.
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -4.2329e-01  3.2327e-02  4.2031e-01  8.7124e-01  9.6321e-01  1.8261e+00  3.3101e+00
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 0.426602 TO DIAGONAL.
 MINUIT WARNING IN PARAMETR
 ============== VARIABLE2 BROUGHT BACK INSIDE LIMITS.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 5 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 2.20887e+09 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -2.7754e+04  9.6179e-01  9.9981e-01  9.9996e-01  1.0009e+00  1.0551e+00  2.7756e+04
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 27781.710249 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 605754 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -3.0511e+02  3.7920e-01  8.4741e-01  8.8528e-01  9.9981e-01  1.7757e+00  3.0722e+02
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 305.415501 TO DIAGONAL.
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== Negative diagonal element 4 in Error Matrix
 MINUIT WARNING IN HESSE   
 ============== 605756 added to diagonal of error matrix
 EIGENVALUES OF SECOND-DERIVATIVE MATRIX:
        -3.0415e+02  3.7985e-01  8.4693e-01  8.8478e-01  9.9980e-01  1.7746e+00  3.0627e+02
 MINUIT WARNING IN HESSE   
 ============== MATRIX FORCED POS-DEF BY ADDING 304.458071 TO DIAGONAL.
 MINUIT WARNING IN MIGRAD  
 ============== Negative diagonal element 2 in Error Matrix
 MINUIT WARNING IN MIGRAD  
 ============== 1.00001 added to diagonal of error matrix
all fit results:
{'A': [0.051429590703393202, 0.00067892755998999466], 'Dx': [0.2046151650479473, 0.00052633218581110697], 'chisquare': 2314.1803430047125, 'L': [44.944172274606764, 1.2169182617584866], 'A_d': [0.0016957688953980754, 3.3356058175504355e-05], 'L_d': [0.41659790570905386, 0.023573080127410828], 'Dy': [-0.01469512801842221, 0.00041501720422143507], 'phase': [97.99169559010727, 0.026449296406255485]}
{'A': [0.038781944050743089, 0.00063372440796863327], 'Dx': [0.19830484680035809, 0.00041416082682488309], 'chisquare': 1722.5214520352829, 'L': [31.553837692394072, 0.287810611456214], 'A_d': [0.00039896963643931693, 2.5768553284816198e-05], 'L_d': [0.25814649366322362, 0.0058448975349700838], 'Dy': [-0.015891596177471712, 0.00038729100736656363], 'phase': [-15.49377862871566, 0.020911806973892055]}
{'A': [0.038781599007736423, 0.00063463451464920717], 'Dx': [0.19830444812005155, 0.00041492401173037763], 'chisquare': 1722.5214441201485, 'L': [31.553954148548947, 0.29094551143788117], 'A_d': [0.00039892716172795772, 2.5818302436197982e-05], 'L_d': [0.258148259599431, 0.0059086824981386954], 'Dy': [-0.015892021466969553, 0.00038743775919858336], 'phase': [-28.060120505592039, 0.021036474984789777]}
{'A': [0.10000938775426224, 9.3877542621523258e-06], 'Dx': [0.19886116209003291, 0.00048482630818558192], 'chisquare': 11796.460200610811, 'L': [24.492417076204404, 0.088049855624964479], 'A_d': [0.0028416368098324041, 1.4874405766779342e-05], 'L_d': [0.01068920960766867, 0.00016809602425113535], 'Dy': [-0.020774129993160528, 0.00036769679689818702], 'phase': [3.1146613390295101, 0.012392802312021445]}
{'A': [0.03878198142994782, 0.00063441523678708922], 'Dx': [0.19830475859407315, 0.00041484825242843471], 'chisquare': 1722.5214490229509, 'L': [31.554291563380477, 0.29085877478176059], 'A_d': [0.00039895382629107079, 2.5815845952376071e-05], 'L_d': [0.25815543512205397, 0.0059073620285928774], 'Dy': [-0.015891336231209863, 0.00038735449257298882], 'phase': [-97.175151646309189, 0.02102776105352433]}
{'A': [0.038781550904795348, 0.00063242114776373981], 'Dx': [0.19830450342930916, 0.00041413046916716212], 'chisquare': 1722.5214438273913, 'L': [31.554072605744416, 0.28978741446889167], 'A_d': [0.00039892999516538685, 2.5786631796004267e-05], 'L_d': [0.25815047280015019, 0.0058900622297400618], 'Dy': [-0.015892086606019262, 0.00038660262198764173], 'phase': [91.320409140593284, 0.020937009064752488]}
{'A': [0.051429324409804078, 0.00067674574834378221], 'Dx': [0.2046150581108197, 0.00052674135557673196], 'chisquare': 2314.1803431880176, 'L': [44.944016835198312, 1.230739709751969], 'A_d': [0.0016957592376659059, 3.3257068541958645e-05], 'L_d': [0.41659501154970541, 0.023850428683442004], 'Dy': [-0.014695113851480812, 0.00041458331948529548], 'phase': [-84.220683461749175, 0.026581695797233351]}
final fit results:
chi         =  1722.52144383
A           =  0.038782    +/-  0.000632
A_d         =  0.000399    +/-  0.000026
L           =  31.554073   +/-  0.289787
L_d         =  0.258150    +/-  0.005890
phase       =  91.320409   +/-  0.020937
Dx          =  0.198305    +/-  0.000414
Dy          =  -0.015892   +/-  0.000387