-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest version (1.3.0) issue with "minuit" minimizer #84
Comments
It is possible that there is an issue with the covariance matrix due to the changes in the fit range, maybe you have included data with zero error, you were not using previously. I will wrap the correlation computation within a try/except clause, to just raise a warning in the next version. If you do not want to wait for the next release you can install from source when ready. 15 GHz MOJAVE DATA1.5E10 0 1.6446E-12 1.6446E-13 |
No, I had previously used the same data with no changes. Additionally, Now I attempted to apply reasonable error bars, I encountered the same error. Is it possible to solve the issue now ? |
It is strange that the frequentist fit changes behaviour re-running it, unless you did not change the data or the workflow.
Since the creation of the correlation matrix does not impact on the fit results you can simply replace your old instruction with n_repeat=2
for i in range(n_repeat):
try:
best_fit=model_minimizer_lsb.fit(composite_jet,sed_data,1E11,1E29,fitname='SSC-best-fit-minuit',repeat=2)
except:
model_minimizer_lsb.reset_to_best_fit()
model_minimizer_lsb.minimizer._fit_stats()
best_fit=model_minimizer_lsb.get_fit_results(composite_jet,1E11,1E29,fitname='SSC-best-fit-minuit',silent=False) |
@andreatramacere I just want to ask if it's possible to change the legends(such as font size etc) in the plot. I'd like to change the line colors and styles. Also, is it possible to assign different colors to different data categories (other than the spectral indices as mentioned in the plot), such as Fermi, X-ray, and Optical data, so that it's easier to understand which data is from which telescope, easily understandable visually from the final fit results? How can one do that? |
BL_Lac_Two_Zone_EC.pdf
Uploading BL_Lac_Two_Zone_EC.pdf…
@andreatramacere
### Latest version (1.3.0) issue with "minuit" minimizer
Why this issue is happening? Till yesterday code is working fine. From today, the same code is giving this error. "lsb" minimizer is working properly. Issue is happening with "minuit" minimizer.
The text was updated successfully, but these errors were encountered: