Closed Pachacoti closed 3 months ago
I see the following when I try to fit the orbit for 2003 YH136
Iteration Unweighted RMS Weighted RMS Chi-squared Reduced Chi-squared
1 0.528 0.506 42.570 0.266
2 0.522 0.503 41.958 0.262
Converged without rejecting outliers. Starting outlier rejection now...
3 0.522 0.503 41.958 0.262
Converged after rejecting outliers. Rejected 0 out of 83 optical observations.
Can you send a file that reproduces your error?
It's basically the same code as your examples, except for adding the following:
init_sol['a2']=1e-15
init_cov = np.append(init_cov, np.zeros((1,6)), axis=0)
init_cov = np.append(init_cov, np.zeros((7,1)), axis=1)
init_cov[-1,-1]=1e-30
Does the filter converge without the "fake" nongravitational accelerations? If so, then you're probably adding wildly incompatible nongravitational accelerations to the fit... The reason it may not converge now, and it was before is unclear, but it is possible some of the upgrades were previously missing systematics being misattributed to nongravitational acceleration in the fit (allowing it to find some sort of weak convergence previously)...
Yes, it converges way faster if nongrav is not included for the fit.
Perfect, closing issue then!
After upgrading
grss
to the latest version, I start to have grss.fit.FitSimulation.filter_lsq() working less efficiently. Using exactly the same dataset of 2003 YH136 below. Older version has:The latest version has:
Though I set different max # of iterations in this test, we can still see that the older algorithm does a better job in finding a converging solution.