-
Notifications
You must be signed in to change notification settings - Fork 7
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
Real time modeling is lacking #179
Comments
From the logs, the automatic modeling process is hitting the following exception:
|
Did you remove the ZTF data from MOP for OGLE-2024-BLG-0134? It does seem to be there now and indeed PyLIMA is able to fit the event happily. |
LOL no! |
OK follow-up question: does PyLIMA have an exceptions library that I can import? It would make it easier to catch this specific error instead of having over-broad try-except clauses. |
I am afraid no.... Might want to raise an issue on this |
In the meantime, I've added more exception handling which should hopefully intercept this case gracefully, but it is proving hard to reproduce the error. |
I've found another example of this issue with logging data to prove it: OGLE-2024-BLG-0676 Current time is JD=2460532.347 When this event is considered for fitting by fit_need_events_PSPL, the logs record: This decision is made by the MicrolensingTarget.check_need_to_fit, which compares the timestamp of the latest model and that of the latest data and if the model is more recent, assumes that the current model fit is the best possible. When I force a new fit for this event using fit_event_PSPL, the resulting fitted model is pretty similar to the old one, since there are no newer datapoints to provide further constraints. In this case I would argue that MOP is doing the right thing and not using CPU cycles to refit events unnecessarily. |
I came across this event that has not be fitted since 22 days...
https://mop.lco.global/targets/42858/
And this one is 18 days ago
https://mop.lco.global/targets/42876/
The text was updated successfully, but these errors were encountered: