Skip to content

Limit determination fails to converge #448

Answered by alexander-held
nhartman94 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nhartman94! What happens here is that cabinetry sets a default lower bound of 0.1 for the interval it probes to find all the CLs=0.05 crossings. The default upper bound is the upper POI bound set in the workspace (which defaults to 10 if not set). That means by default the interval being searched is [0.1, 10]. The algorithm being used to identify the crossings, scipy.optimize.root_scalar, does not handle cases where the crossing (which is set up as a root in this case) lies outside the interval provided1.

This causes the crash here: to get the crossing for -2 sigma, the starting point (lower bound) of 0.1 already results in a CLs of 0.05002:

DEBUG - cabinetry.fit - Signal_norm = 0.100…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DaariiB
Comment options

@nhartman94
Comment options

Answer selected by alexander-held
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants