- #1
Carphysics
- 6
- 0
Homework Statement
This is related to Astronomy & python . I am trying free-up sources on TS map on a galactic source with python script. But when I run the script, at the end of the process, I get the following run time error.
Code:
Traceback (most recent call last):
File "find_new_sources.py", line 149, in <module>
like1.fit()
File "/opt/ScienceTools-v10r0p5-fssc-20150518-x86_64-unknown-linux-gnu-libc2.19-0/x86_64-unknown-linux-gnu-libc2.19-0/lib/python/AnalysisBase.py", line 99, in fit
optObject=optObject)
File "/opt/ScienceTools-v10r0p5-fssc-20150518-x86_64-unknown-linux-gnu-libc2.19-0/x86_64-unknown-linux-gnu-libc2.19-0/lib/python/AnalysisBase.py", line 142, in _errors
myOpt.find_min(verbosity, tol, self.tolType)
File "/opt/ScienceTools-v10r0p5-fssc-20150518-x86_64-unknown-linux-gnu-libc2.19-0/x86_64-unknown-linux-gnu-libc2.19-0/lib/python/pyLikelihood.py", line 2093, in find_min
return lib_pyLikelihood.Optimizer_find_min(*args)
RuntimeError: Minuit HESSE results invalid
Homework Equations
The Attempt at a Solution
I tried debugging the code by adding print statements on various spots in the script, as well as running the script on a previous iteration of this freeing process to see whether I would get the same xml file, but both of these methods resulted in the same error.
As I find my python related questions in this forum, I am posting it here. If this is not a correct forum, let me know, where can I seek guidance.
Thanks for guidance.