Max-likelihood fits spam **WARNING** NEGATIVE theory!! per bin and silently drop those bins from the likelihood #19

Closed
opened 2026-09-12 14:08:34 +02:00 by salman · 1 comment
Owner

Sometimes in single hist fits with maximum-likelihood musrfit prints

PRunSingleHisto::CalcMaxLikelihood: WARNING NEGATIVE theory!! ...
and never reaches convergence, so fits appear to hang on repeated messages.

Maybe consider giving up at some point and report no convergence. Typically switching to chi2 and then back to maximum-likelihood works.

Sometimes in single hist fits with maximum-likelihood musrfit prints >> PRunSingleHisto::CalcMaxLikelihood: **WARNING** NEGATIVE theory!! ... and never reaches convergence, so fits appear to hang on repeated messages. Maybe consider giving up at some point and report no convergence. Typically switching to chi2 and then back to maximum-likelihood works.
Owner

sha 915e7552b2 reduces the number of these messages.

sha 915e7552b24f6 reduces the number of these messages.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LMU/musrfit#19