Skip to content

Assigned errors must be positive, in hypotest #1988

Answered by matthewfeickert
ssaha1234 asked this question in Q&A
Discussion options

You must be logged in to vote

I am getting the following user warning - Assigned errors must be positive. Non-positive values are replaced by a heuristic.

after which the job goes into hold status on Condor. I do not have any negative values in the json file, I do not understand the source of this warning, is there any hint for solving this issue.

PR #1919 resolved Issue #1918 and will go into pyhf v0.7.0. To avoid getting this warning during rumtime now with pyhf v0.6.3 just use iminuit<2.12.2. So assuming you're installing pyhf v0.6.3 with the minuit extra:

# requirements.txt
pyhf[minuit]==0.6.3
iminuit<2.12.2
$ python -m pip install -r requirements.txt

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@ssaha1234
Comment options

@alexander-held
Comment options

@matthewfeickert
Comment options

@ssaha1234
Comment options

Comment options

You must be logged in to vote
1 reply
@ssaha1234
Comment options

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