Dear experts,
The problem is as stated…
Relative codes are here:
M_Plot[i]->Fit(myf, " E ", "", LMdata, HMdata);
double partmp[6] = {0.};
myf->GetParameters(partmp);
cout<<Form("(mu, sig, alpha, mid) = (%e, %e, %e, %e)", partmp[1], partmp[2], partmp[3], partmp[1]-partmp[2]*partmp[3] )<<endl;
We expect the terminal will cout the same values of parameter 1 to 3, as they showed up in the fit result. However,
NEW MINIMUM FOUND. GO BACK TO MINIMIZATION STEP.
=================================================
V
V
V
VVVVVVV
VVVVV
VVV
V
FCN=42.4077 FROM MINOS STATUS=SUCCESSFUL 184 CALLS 3601 TOTAL
EDM=2.90446e-08 STRATEGY= 1 ERROR MATRIX ACCURATE
EXT PARAMETER STEP FIRST
NO. NAME VALUE ERROR SIZE DERIVATIVE
1 p0 1.75221e+01 3.24523e+00 -2.14388e-05 2.78000e-04
2 p1 3.06457e+00 1.64275e-02 1.81737e-04 -1.69543e-04
3 p2 8.59115e-02 1.71557e-02 2.37420e-05 -9.19882e-04
4 p3 1.09486e+00 6.01211e-01 2.96190e-04 1.23849e-04
5 p4 6.33231e+00 3.97441e+00 -8.28563e-06 2.02861e-03
6 p5 3.17584e-01 2.12216e-01 2.12216e-01 -1.65803e-01
(mu, sig, alpha, mid) = (3.100000e+00, 4.752677e-02, 3.894074e-01, 3.081493e+00)
So obviously something is not working properly.
Ps: In case this information is needed, for p1, 3.1e0 is set to be the upper limit.
Please read tips for efficient and successful posting and posting code
ROOT Version: 5.34/38
Platform: Fedora 30
Compiler: gcc 4.4.7