Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created February 11, 2016 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdeil/54be2a0d9005b7123693 to your computer and use it in GitHub Desktop.
Save cdeil/54be2a0d9005b7123693 to your computer and use it in GitHub Desktop.
$ time python simulate_eventlists.py
Writing hess_psf_023523_temp.fits
Writing hess_psf_023526_temp.fits
Writing hess_psf_023559_temp.fits
Writing hess_psf_023592_temp.fits
Writing hess_aeff_023523_temp.fits
Writing hess_aeff_023526_temp.fits
Writing hess_aeff_023559_temp.fits
Writing hess_aeff_023592_temp.fits
Writing hess_edisp_023523_temp.fits
Writing hess_edisp_023526_temp.fits
Writing hess_edisp_023559_temp.fits
Writing hess_edisp_023592_temp.fits
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 5.95211 exceeds absolute tolerance of 1.46392 after 21 iterations. Result 1.46392e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(1.16536, 10, 5): Integration uncertainty 1.29425 exceeds absolute tolerance of 0.783446 after 21 iterations. Result 783446 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 19.5182 exceeds absolute tolerance of 9.84671 after 21 iterations. Result 9.84671e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(0.878212, 10, 5): Integration uncertainty 4.75312 exceeds absolute tolerance of 1.04352 after 21 iterations. Result 1.04352e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(0.428212, 10, 5): Integration uncertainty 11.4773 exceeds absolute tolerance of 0.4918 after 21 iterations. Result 491800 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 4.06587e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(1.16536, 10, 5): Integration uncertainty 1.65199e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 1.98221e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.878212, 10, 5): Integration uncertainty 4.55491e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.428212, 10, 5): Integration uncertainty 2.33373e-05 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(1.16536, 10, 5): Integration uncertainty 0.453982 exceeds absolute tolerance of 0.451215 after 21 iterations. Result 451215 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 49.1817 exceeds absolute tolerance of 2.61044 after 21 iterations. Result 2.61044e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 22.0398 exceeds absolute tolerance of 10.9862 after 21 iterations. Result -1.09862e+07 is inaccurate.
+++ WARNING in GIntegral::romberg(1.16536, 10, 5): Integration uncertainty 1.00613e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 1.88404e-05 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 22.0398 exceeds absolute tolerance of 10.9862 after 21 iterations. Result -1.09862e+07 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 43.9104 exceeds absolute tolerance of 2.25984 after 21 iterations. Result 2.25984e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 19.4508 exceeds absolute tolerance of 13.1544 after 21 iterations. Result 1.31544e+07 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 1.94307e-05 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 1.47866e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(-0.484637, 10, 5): Integration uncertainty 1.48696 exceeds absolute tolerance of 0.908369 after 21 iterations. Result -908369 is inaccurate.
+++ WARNING in GIntegral::romberg(0.378212, 10, 5): Integration uncertainty 1.94171 exceeds absolute tolerance of 0.192116 after 21 iterations. Result -192116 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 7.95873 exceeds absolute tolerance of 6.11014 after 21 iterations. Result -6.11014e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 5.58093 exceeds absolute tolerance of 2.17211 after 21 iterations. Result 2.17211e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(1.16536, 10, 5): Integration uncertainty 1.18358 exceeds absolute tolerance of 0.172098 after 21 iterations. Result 172098 is inaccurate.
+++ WARNING in GIntegral::romberg(0.478212, 10, 5): Integration uncertainty 18.6426 exceeds absolute tolerance of 16.3039 after 21 iterations. Result -1.63039e+07 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 21.2884 exceeds absolute tolerance of 11.338 after 21 iterations. Result 1.1338e+07 is inaccurate.
+++ WARNING in GIntegral::romberg(0.428212, 10, 5): Integration uncertainty 11.2774 exceeds absolute tolerance of 8.89973 after 21 iterations. Result 8.89973e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(0.428212, 10, 5): Integration uncertainty 15.6166 exceeds absolute tolerance of 15.2059 after 21 iterations. Result 1.52059e+07 is inaccurate.
+++ WARNING in GIntegral::romberg(-0.484637, 10, 5): Integration uncertainty 1.48696 exceeds absolute tolerance of 0.908369 after 21 iterations. Result -908369 is inaccurate.
+++ WARNING in GIntegral::romberg(0.378212, 10, 5): Integration uncertainty 1.94171 exceeds absolute tolerance of 0.192116 after 21 iterations. Result -192116 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 7.95873 exceeds absolute tolerance of 6.11014 after 21 iterations. Result -6.11014e+06 is inaccurate.
+++ WARNING in GIntegral::romberg(0.578213, 10, 5): Integration uncertainty 2.56936e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(1.16536, 10, 5): Integration uncertainty 6.87739e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.478212, 10, 5): Integration uncertainty 18.6426 exceeds absolute tolerance of 16.3039 after 21 iterations. Result -1.63039e+07 is inaccurate.
+++ WARNING in GIntegral::romberg(0.865363, 10, 5): Integration uncertainty 1.87761e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.428212, 10, 5): Integration uncertainty 1.26716e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
+++ WARNING in GIntegral::romberg(0.428212, 10, 5): Integration uncertainty 1.02701e-06 exceeds absolute tolerance of 1e-06 after 21 iterations. Result 1 is inaccurate.
Traceback (most recent call last):
File "simulate_eventlists.py", line 73, in <module>
run_obssim()
File "simulate_eventlists.py", line 19, in run_obssim
sim.execute()
File "/usr/local/gamma/lib/python3.4/site-packages/ctools/tools.py", line 238, in execute
return _tools.ctool_execute(self)
RuntimeError: *** ERROR in GCTAResponseIrf::aeff(double&, double&, double&, double&, double&): Invalid value. No effective area information found in response.
Please make sure that the instrument response is properly defined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment