-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Many people reported the following error occasionally popping up:
StepProblem: Unable to improve chi2 even with very small steps.
The consensus seems to be that this can be fixed by specifying to use the GLSFitter instead of the auto option which usually selects the DownhillGLSFitter from pint. This can be done in pta_replicator like this (Thanks to Emiko's PR #6):
fakepsr.fit(fitter='gls')
The question remains why this error is happening at the first place. So this might be good to investigate.
Practically the question is whether we should switch the default to be the GLSFitter when using pta_replicator? Arguably the quality of the fit is not as essential in simulated datasets as in real data, so maybe this is okay, and would prevent a lot of people from running into this annoying issue.