$ GNUPLOT_LIB=./demo:../demo GNUTERM=qt gnuplot fitmulti.dem
"fitmulti.dem" line 83: warning:
> Implied independent variable y not found in fit function.
> Assuming version 4 syntax with zerror in column 3 but no zerror keyword.
iter chisq delta/lim lambda c1
0 2.1892940362e+01 0.00e+00 6.81e-01 1.000000e+00
1 4.5233347856e-02 -4.83e+07 6.81e-02 2.431818e+00
2 1.0247233379e-08 -4.41e+11 6.81e-03 2.499968e+00
3 2.3236116830e-19 -4.41e+15 6.81e-04 2.500000e+00
4 1.9793013150e-28 -1.17e+14 6.81e-05 2.500000e+00
5 1.9793013150e-28 0.00e+00 6.81e-06 2.500000e+00
iter chisq delta/lim lambda c1
After 5 iterations the fit converged.
final sum of squares of residuals : 1.9793e-28
rel. change during last iteration : 0
degrees of freedom (FIT_NDF) : 20
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 3.14587e-15
variance of residuals (reduced chisquare) = WSSR/ndf : 9.89651e-30
p-value of the Chisq distribution (FIT_P) : 1
Final set of parameters Asymptotic Standard Error
======================= ==========================
c1 = 2.5 +/- 1.009e-15 (4.034e-14%)
---------------------------------------------------------
1D fit: expected 2.5 c1 = 2.5
---------------------------------------------------------
Hit return to try for a 2D fit
"fitmulti.dem" line 99: warning:
> Implied independent variable t not found in fit function.
> Assuming version 4 syntax with zerror in column 4 but no zerror keyword.
iter chisq delta/lim lambda c1 c2
0 1.8402267568e+01 0.00e+00 5.08e-01 1.000000e+00 1.000000e+00
1 5.1495377021e-01 -3.47e+06 5.08e-02 2.363854e+00 -7.849976e-01
2 1.4278686826e-05 -3.61e+09 5.08e-03 2.499431e+00 -1.794590e+00
3 4.0743857030e-14 -3.50e+13 5.08e-04 2.500000e+00 -1.800000e+00
4 1.1747755312e-26 -3.47e+17 5.08e-05 2.500000e+00 -1.800000e+00
5 1.3330381888e-28 -8.71e+06 5.08e-06 2.500000e+00 -1.800000e+00
6 1.2866926106e-28 -3.60e+03 5.08e-07 2.500000e+00 -1.800000e+00
7 1.2866926106e-28 0.00e+00 5.08e-08 2.500000e+00 -1.800000e+00
iter chisq delta/lim lambda c1 c2
After 7 iterations the fit converged.
final sum of squares of residuals : 1.28669e-28
rel. change during last iteration : 0
degrees of freedom (FIT_NDF) : 18
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 2.67363e-15
variance of residuals (reduced chisquare) = WSSR/ndf : 7.14829e-30
p-value of the Chisq distribution (FIT_P) : 1
Final set of parameters Asymptotic Standard Error
======================= ==========================
c1 = 2.5 +/- 9.365e-16 (3.746e-14%)
c2 = -1.8 +/- 3.829e-15 (2.127e-13%)
correlation matrix of the fit parameters:
c1 c2
c1 1.000
c2 -0.403 1.000
---------------------------------------------------------
2D fit: expected 2.5 c1 = 2.5
2D fit: expected -1.8 c2 = -1.80000000000001
---------------------------------------------------------
Hit return to try for a 3D fit
"fitmulti.dem" line 115: warning:
> Implied independent variable x3 not found in fit function.
> Assuming version 4 syntax with zerror in column 5 but no zerror keyword.
iter chisq delta/lim lambda c1 c2 c3
0 5.0042107018e+05 0.00e+00 1.36e+00 1.000000e+00 1.000000e+00 1.000000e+00
1 1.5648231886e+02 -3.20e+08 1.36e-01 2.667794e+00 2.485896e-01 6.876787e+01
2 9.5026215217e-04 -1.65e+10 1.36e-02 2.498116e+00 -1.774715e+00 6.999949e+01
3 1.4986897994e-11 -6.34e+12 1.36e-03 2.500000e+00 -1.799997e+00 7.000000e+01
4 2.5594986155e-23 -5.86e+16 1.36e-04 2.500000e+00 -1.800000e+00 7.000000e+01
5 1.5865767741e-24 -1.51e+06 1.36e-05 2.500000e+00 -1.800000e+00 7.000000e+01
6 1.5657265887e-24 -1.33e+03 1.36e-06 2.500000e+00 -1.800000e+00 7.000000e+01
* 1.5852570098e-24 1.23e+03 1.36e-05 2.500000e+00 -1.800000e+00 7.000000e+01
* 1.5852570098e-24 1.23e+03 1.36e-04 2.500000e+00 -1.800000e+00 7.000000e+01
* 1.5852570098e-24 1.23e+03 1.36e-03 2.500000e+00 -1.800000e+00 7.000000e+01
* 1.5852570098e-24 1.23e+03 1.36e-02 2.500000e+00 -1.800000e+00 7.000000e+01
* 1.5852570098e-24 1.23e+03 1.36e-01 2.500000e+00 -1.800000e+00 7.000000e+01
* 1.5852570098e-24 1.23e+03 1.36e+00 2.500000e+00 -1.800000e+00 7.000000e+01
* 1.5854870121e-24 1.25e+03 1.36e+01 2.500000e+00 -1.800000e+00 7.000000e+01
7 1.5657265887e-24 0.00e+00 1.36e+00 2.500000e+00 -1.800000e+00 7.000000e+01
iter chisq delta/lim lambda c1 c2 c3
After 7 iterations the fit converged.
final sum of squares of residuals : 1.56573e-24
rel. change during last iteration : 0
degrees of freedom (FIT_NDF) : 18
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 2.94932e-13
variance of residuals (reduced chisquare) = WSSR/ndf : 8.69848e-26
p-value of the Chisq distribution (FIT_P) : 1
Final set of parameters Asymptotic Standard Error
======================= ==========================
c1 = 2.5 +/- 9.853e-14 (3.941e-12%)
c2 = -1.8 +/- 2.428e-13 (1.349e-11%)
c3 = 70 +/- 2.932e-14 (4.189e-14%)
correlation matrix of the fit parameters:
c1 c2 c3
c1 1.000
c2 -0.228 1.000
c3 -0.144 -0.089 1.000
---------------------------------------------------------
3D fit: expected 2.5 c1 = 2.50000000000001
3D fit: expected -1.8 c2 = -1.80000000000011
3D fit: expected 70.0 c3 = 70.0
---------------------------------------------------------
Hit return to try for a 4D fit
"fitmulti.dem" line 131: warning:
> Implied independent variable x4 not found in fit function.
> Assuming version 4 syntax with zerror in column 6 but no zerror keyword.
iter chisq delta/lim lambda c1 c2 c3 c4
0 5.0434414591e+05 0.00e+00 1.23e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00
1 1.0737393796e+02 -4.70e+08 1.23e-01 2.637883e+00 2.081428e-01 6.896240e+01 -3.465848e+00
2 7.6766393648e-04 -1.40e+10 1.23e-02 2.498380e+00 -1.775303e+00 6.999930e+01 -3.204055e+00
3 1.1976288234e-11 -6.41e+12 1.23e-03 2.500000e+00 -1.799997e+00 7.000000e+01 -3.200001e+00
4 1.9635651177e-23 -6.10e+16 1.23e-04 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
5 6.5436327632e-25 -2.90e+06 1.23e-05 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
6 6.5213001110e-25 -3.42e+02 1.23e-06 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
7 6.5184207687e-25 -4.42e+01 1.23e-07 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
8 6.4608339226e-25 -8.91e+02 1.23e-08 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e-07 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e-06 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e-05 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e-04 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e-03 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e-02 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e-01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5173794723e-25 8.68e+02 1.23e+00 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
* 6.5178922319e-25 8.75e+02 1.23e+01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
9 6.4608339226e-25 0.00e+00 1.23e+00 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00
iter chisq delta/lim lambda c1 c2 c3 c4
After 9 iterations the fit converged.
final sum of squares of residuals : 6.46083e-25
rel. change during last iteration : 0
degrees of freedom (FIT_NDF) : 17
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 1.94948e-13
variance of residuals (reduced chisquare) = WSSR/ndf : 3.80049e-26
p-value of the Chisq distribution (FIT_P) : 1
Final set of parameters Asymptotic Standard Error
======================= ==========================
c1 = 2.5 +/- 6.513e-14 (2.605e-12%)
c2 = -1.8 +/- 1.744e-13 (9.69e-12%)
c3 = 70 +/- 2e-14 (2.857e-14%)
c4 = -3.2 +/- 6.444e-14 (2.014e-12%)
correlation matrix of the fit parameters:
c1 c2 c3 c4
c1 1.000
c2 -0.214 1.000
c3 -0.137 -0.176 1.000
c4 0.010 -0.392 0.247 1.000
---------------------------------------------------------
4D fit: expected 2.5 c1 = 2.4999999999999
4D fit: expected -1.8 c2 = -1.80000000000033
4D fit: expected 70.0 c3 = 70.0
4D fit: expected -3.2 c4 = -3.1999999999997
---------------------------------------------------------
Hit return to try for a 5D fit
"fitmulti.dem" line 149: warning:
> Implied independent variable x5 not found in fit function.
> Assuming version 4 syntax with zerror in column 7 but no zerror keyword.
iter chisq delta/lim lambda c1 c2 c3 c4 c5
0 3.5652827793e+05 0.00e+00 2.08e+01 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00
1 8.2628175865e+04 -3.31e+05 2.08e+00 1.131551e+00 1.200143e+00 4.015282e+00 1.106540e+00 3.274197e+00
2 2.8797393982e+03 -2.77e+06 2.08e-01 2.268438e+00 3.004089e+00 5.746308e+01 -1.174504e+00 9.548228e-01
3 5.7761101766e-02 -4.99e+09 2.08e-02 2.484844e+00 -1.615778e+00 6.995937e+01 -3.211773e+00 4.017438e-01
4 5.5575896136e-09 -1.04e+12 2.08e-03 2.499994e+00 -1.799932e+00 6.999999e+01 -3.200009e+00 4.000002e-01
5 7.5296124774e-20 -7.38e+15 2.08e-04 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
6 6.8714202466e-25 -1.10e+10 2.08e-05 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
7 6.6497897753e-25 -3.33e+03 2.08e-06 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6506654109e-25 1.32e+01 2.08e-05 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6506654109e-25 1.32e+01 2.08e-04 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6506654109e-25 1.32e+01 2.08e-03 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6506654109e-25 1.32e+01 2.08e-02 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6506654109e-25 1.32e+01 2.08e-01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6500422107e-25 3.80e+00 2.08e+00 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
8 6.4747494290e-25 -2.70e+03 2.08e-01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.9279657963e-25 6.54e+03 2.08e+00 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6666004012e-25 2.88e+03 2.08e+01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.6524640137e-25 2.67e+03 2.08e+02 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
* 6.5555287857e-25 1.23e+03 2.08e+03 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
9 6.4747494290e-25 0.00e+00 2.08e+02 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01
iter chisq delta/lim lambda c1 c2 c3 c4 c5
After 9 iterations the fit converged.
final sum of squares of residuals : 6.47475e-25
rel. change during last iteration : 0
degrees of freedom (FIT_NDF) : 16
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 2.01165e-13
variance of residuals (reduced chisquare) = WSSR/ndf : 4.04672e-26
p-value of the Chisq distribution (FIT_P) : 1
Final set of parameters Asymptotic Standard Error
======================= ==========================
c1 = 2.5 +/- 6.742e-14 (2.697e-12%)
c2 = -1.8 +/- 1.831e-13 (1.017e-11%)
c3 = 70 +/- 4.76e-14 (6.8e-14%)
c4 = -3.2 +/- 6.701e-14 (2.094e-12%)
c5 = 0.4 +/- 2.301e-15 (5.753e-13%)
correlation matrix of the fit parameters:
c1 c2 c3 c4 c5
c1 1.000
c2 -0.224 1.000
c3 0.011 -0.241 1.000
c4 0.001 -0.360 -0.004 1.000
c5 -0.078 0.184 -0.901 0.123 1.000
---------------------------------------------------------
5D fit: expected 2.5 c1 = 2.4999999999999
5D fit: expected -1.8 c2 = -1.80000000000034
5D fit: expected 70.0 c3 = 70.0
5D fit: expected -3.2 c4 = -3.1999999999997
5D fit: expected 0.4 c5 = 0.4
---------------------------------------------------------
Hit return to try for a 6D fit
This 6D fit will fail in version 4 but version 5 can handle more parameters
"fitmulti.dem" line 171: warning:
> Implied independent variable not found in fit function.
> Assuming version 4 syntax with zerror in column 8 but no zerror keyword.
iter chisq delta/lim lambda c1 c2 c3 c4 c5 c6
0 3.4961271093e+05 0.00e+00 1.94e+01 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00
1 7.6637354181e+04 -3.56e+05 1.94e+00 9.608331e-01 1.184762e+00 4.200546e+00 1.106839e+00 3.265869e+00 9.641673e-01
2 2.4111848689e+03 -3.08e+06 1.94e-01 1.293024e+00 2.647546e+00 5.815961e+01 -1.307965e+00 9.256806e-01 1.373154e-01
3 4.0425600039e-02 -5.96e+09 1.94e-02 2.493419e+00 -1.646308e+00 6.996638e+01 -3.211246e+00 4.014427e-01 -1.585899e-01
4 7.1103832630e-08 -5.69e+10 1.94e-03 2.500262e+00 -1.799903e+00 7.000002e+01 -3.200052e+00 3.999987e-01 -2.480390e-01
5 3.2145956903e-15 -2.21e+12 1.94e-04 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.499996e-01
6 1.2915932826e-24 -2.49e+14 1.94e-05 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2994882026e-24 6.08e+02 1.94e-04 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2994882026e-24 6.08e+02 1.94e-03 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2994882026e-24 6.08e+02 1.94e-02 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
7 1.2628874232e-24 -2.27e+03 1.94e-03 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
8 1.1896282775e-24 -6.16e+03 1.94e-04 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2110348070e-24 1.77e+03 1.94e-03 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2110348070e-24 1.77e+03 1.94e-02 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2110348070e-24 1.77e+03 1.94e-01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2219968181e-24 2.65e+03 1.94e+00 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2252721686e-24 2.91e+03 1.94e+01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
9 1.1888204839e-24 -6.79e+01 1.94e+00 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
* 1.2998029581e-24 8.54e+03 1.94e+01 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
10 1.1888204839e-24 0.00e+00 1.94e+00 2.500000e+00 -1.800000e+00 7.000000e+01 -3.200000e+00 4.000000e-01 -2.500000e-01
iter chisq delta/lim lambda c1 c2 c3 c4 c5 c6
After 10 iterations the fit converged.
final sum of squares of residuals : 1.18882e-24
rel. change during last iteration : 0
degrees of freedom (FIT_NDF) : 14
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 2.91403e-13
variance of residuals (reduced chisquare) = WSSR/ndf : 8.49157e-26
p-value of the Chisq distribution (FIT_P) : 1
Final set of parameters Asymptotic Standard Error
======================= ==========================
c1 = 2.5 +/- 3.145e-13 (1.258e-11%)
c2 = -1.8 +/- 2.71e-13 (1.506e-11%)
c3 = 70 +/- 7.622e-14 (1.089e-13%)
c4 = -3.2 +/- 1.095e-13 (3.423e-12%)
c5 = 0.4 +/- 3.795e-15 (9.487e-13%)
c6 = -0.25 +/- 2.189e-12 (8.756e-10%)
correlation matrix of the fit parameters:
c1 c2 c3 c4 c5 c6
c1 1.000
c2 0.124 1.000
c3 0.370 -0.129 1.000
c4 -0.440 -0.405 -0.182 1.000
c5 -0.447 0.062 -0.919 0.303 1.000
c6 0.945 0.197 0.366 -0.461 -0.428 1.000
---------------------------------------------------------
6D fit: expected 2.5 c1 = 2.49999999999976
6D fit: expected -1.8 c2 = -1.80000000000026
6D fit: expected 70.0 c3 = 70.0
6D fit: expected -3.2 c4 = -3.19999999999975
6D fit: expected 0.4 c5 = 0.4
6D fit: expected -0.25 c6 = -0.250000000000491
FIT_NDF = 14 after range filters (expected 14)
---------------------------------------------------------
Hit return to try fit with array variables
"fitmulti.dem" line 183: warning:
> Implied independent variable not found in fit function.
> Assuming version 4 syntax with zerror in column 8 but no zerror keyword.
"fitmulti.dem" line 183: unknown type in real()
On winows native and Cygwin, this error does not happen.
On ubuntu 16.04 (native linux), this error does not happen.
I rebuild it and no errors happen. Please close this.