Open abhradeep-1996 opened 3 years ago
Hi strange error. So there is no .conf in the EBin folder ? david
Hi @davidsanchez, Thanks for your quick reply. It creates a config file only for the 0th energy bin in the Ebin#/ folder. But that file is empty. It seems that enrico_sed is showing this error while writing the config file.
Do you have the output of the fit ?
Yes, I have the .results file and also fitted models and figures in the Spectrum folder.
I mean could you pass here the output (not the file but what is printed on the screen/log)
The following is the GTLIKE output:
Fit output with MINUIT: 49240.716557181666 [quality: 3] Fit output with MINUIT: 49240.71546901978 [quality: 3]
[FitMaker]: deleting source 4FGL J1332.6-1256 with TS = -0.00712294147524517 from the model [FitMaker]: deleting source 4FGL J1337.6-1257 with TS = -0.0054168528149602935 from the model [FitMaker]: deleting source 4FGL J1339.9-0138 with TS = -0.00010943903180304915 from the model [FitMaker]: deleting source 4FGL J1340.0-1501 with TS = -4.487123806029558e-05 from the model [FitMaker]: deleting source 4FGL J1340.8-0409 with TS = -0.002124518563505262 from the model [FitMaker]: deleting source 4FGL J1341.8-2053 with TS = 0.00562053217436187 from the model [FitMaker]: deleting source 4FGL J1344.2-1723 with TS = 0.002037400350673124 from the model [FitMaker]: deleting source 4FGL J1349.5-1131 with TS = -0.009064615194802172 from the model [FitMaker]: deleting source 4FGL J1351.0+0029 with TS = -0.00397688354132697 from the model [FitMaker]: deleting source 4FGL J1351.4-1529 with TS = 0.0005873925256310031 from the model [FitMaker]: deleting source 4FGL J1354.3-0206 with TS = -0.008570907593821175 from the model [FitMaker]: deleting source 4FGL J1354.8-1041 with TS = -0.023390544301946647 from the model [FitMaker]: deleting source 4FGL J1356.2-1726 with TS = -0.00021614355500787497 from the model [FitMaker]: deleting source 4FGL J1356.6+0234 with TS = -0.0003922647883882746 from the model [FitMaker]: deleting source 4FGL J1357.5+0127 with TS = -0.004804356009117328 from the model [FitMaker]: deleting source 4FGL J1359.1-1152 with TS = -0.0008298519387608394 from the model [FitMaker]: deleting source 4FGL J1359.4+0202 with TS = -0.006153804948553443 from the model [FitMaker]: deleting source 4FGL J1400.0-2415 with TS = -0.00019897155289072543 from the model [FitMaker]: deleting source 4FGL J1400.6-1432 with TS = -0.01788416002818849 from the model [FitMaker]: deleting source 4FGL J1401.2-0915 with TS = -0.018669255761778913 from the model [FitMaker]: deleting source 4FGL J1402.5-1827 with TS = 0.0305073520867154 from the model [FitMaker]: deleting source 4FGL J1404.8+0402 with TS = -0.004239161993609741 from the model [FitMaker]: deleting source 4FGL J1405.3-0640 with TS = -0.0005581212608376518 from the model [FitMaker]: deleting source 4FGL J1405.9-1853 with TS = 0.001975885999854654 from the model [FitMaker]: deleting source 4FGL J1406.1-2508 with TS = 0.005351646672352217 from the model [FitMaker]: deleting source 4FGL J1406.4-1654 with TS = -0.0003738041123142466 from the model [FitMaker]: deleting source 4FGL J1407.4-0820 with TS = -0.1396521363494685 from the model [FitMaker]: deleting source 4FGL J1408.9-0751 with TS = -0.6610691065288847 from the model [FitMaker]: deleting source 4FGL J1410.1+0202 with TS = -0.011197760599316098 from the model [FitMaker]: deleting source 4FGL J1411.5-0723 with TS = -0.0692166864319006 from the model [FitMaker]: deleting source 4FGL J1415.9-1504 with TS = -0.11498336688964628 from the model [FitMaker]: deleting source 4FGL J1416.1-2417 with TS = -0.002590631425846368 from the model [FitMaker]: deleting source 4FGL J1419.3+0444 with TS = -0.010185415143496357 from the model [FitMaker]: deleting source 4FGL J1419.4-0838 with TS = -8.049897782693733 from the model [FitMaker]: deleting source 4FGL J1420.3+0612 with TS = -0.04499155444500502 from the model [FitMaker]: deleting source 4FGL J1420.9-2431 with TS = -0.013904778665164486 from the model [FitMaker]: deleting source 4FGL J1421.1-1120 with TS = -0.37450297402392607 from the model [FitMaker]: deleting source 4FGL J1424.1-1750 with TS = 0.6752714891335927 from the model [FitMaker]: deleting source 4FGL J1424.2+0433 with TS = -0.09707877573964652 from the model [FitMaker]: deleting source 4FGL J1425.4-0119 with TS = -0.3083101874071872 from the model [FitMaker]: deleting source 4FGL J1427.4-1823 with TS = 0.8454158349777572 from the model [FitMaker]: deleting source 4FGL J1429.8-0739 with TS = -0.32103219722921494 from the model [FitMaker]: deleting source 4FGL J1429.8-3058 with TS = -0.08873161011433695 from the model [FitMaker]: deleting source 4FGL J1431.1-3120 with TS = -0.0877268161275424 from the model [FitMaker]: deleting source 4FGL J1438.0-3128 with TS = -0.08501442096894607 from the model [FitMaker]: deleting source 4FGL J1439.5-2525 with TS = -0.08072148643259425 from the model [FitMaker]: deleting source 4FGL J1440.0-1530 with TS = -0.5827226449036971 from the model [FitMaker]: deleting source 4FGL J1440.0-2343 with TS = -0.08050154559896328 from the model [FitMaker]: deleting source 4FGL J1440.9+0609 with TS = -0.2526294031558791 from the model [FitMaker]: deleting source 4FGL J1441.4-1934 with TS = -0.3516205923369853 from the model [FitMaker]: deleting source 4FGL J1441.6-1522 with TS = -0.22813979879720137 from the model [FitMaker]: deleting source 4FGL J1442.0+0732 with TS = -0.20392694701149594 from the model [FitMaker]: deleting source 4FGL J1442.1-2800 with TS = -0.1801933503447799 from the model [FitMaker]: deleting source 4FGL J1442.2+0622 with TS = -0.24505722265166696 from the model [FitMaker]: deleting source 4FGL J1442.7+1200 with TS = -0.19393373461207375 from the model [FitMaker]: deleting source 4FGL J1443.7-0954 with TS = 0.5919872793310788 from the model [FitMaker]: deleting source 4FGL J1445.0-0326 with TS = 0.038157326518557966 from the model [FitMaker]: deleting source 4FGL J1445.2-1954 with TS = -0.4091331794625148 from the model [FitMaker]: deleting source 4FGL J1445.9-1626 with TS = -1.4692265302728629 from the model [FitMaker]: deleting source 4FGL J1446.0-3039 with TS = -0.35505657641624566 from the model [FitMaker]: deleting source 4FGL J1446.8-1830 with TS = -0.5631435969262384 from the model [FitMaker]: deleting source 4FGL J1447.0-2657 with TS = -0.35449709350359626 from the model [FitMaker]: deleting source 4FGL J1449.7-0910 with TS = -0.6322071081522154 from the model [FitMaker]: deleting source 4FGL J1450.4+0910 with TS = -0.40708087899838574 from the model [FitMaker]: deleting source 4FGL J1450.8-1424 with TS = -0.6991924689064035 from the model [FitMaker]: deleting source 4FGL J1451.5+1415 with TS = -0.3978167547029443 from the model [FitMaker]: deleting source 4FGL J1453.0-1318 with TS = -0.598968280130066 from the model [FitMaker]: deleting source 4FGL J1458.8-2120 with TS = 0.8467100420966744 from the model [FitMaker]: deleting source 4FGL J1459.5+1527 with TS = -0.44808528445719276 from the model [FitMaker]: deleting source 4FGL J1504.4+1029 with TS = -1.1950261394522386 from the model [FitMaker]: deleting source 4FGL J1506.4-0540 with TS = -0.6278970189887332 from the model [FitMaker]: deleting source 4FGL J1506.6+0813 with TS = -0.5225255366094643 from the model [FitMaker]: deleting source 4FGL J1507.1-1901 with TS = -0.3066996732231928 from the model [FitMaker]: deleting source 4FGL J1509.8-2906 with TS = -0.5499284198158421 from the model [FitMaker]: deleting source 4FGL J1511.8-0513 with TS = -0.8063493656372884 from the model [FitMaker]: deleting source 4FGL J1512.1-2255 with TS = 0.07174629121436737 from the model [FitMaker]: deleting source 4FGL J1513.0-3118 with TS = -0.7445610385329928 from the model [FitMaker]: deleting source 4FGL J1513.4-2549 with TS = -0.7277904406364542 from the model [FitMaker]: deleting source 4FGL J1513.4-3231 with TS = -0.7332403636828531 from the model [FitMaker]: deleting source 4FGL J1513.7-1519 with TS = -1.2569260614545783 from the model [FitMaker]: deleting source 4FGL J1514.6-2044 with TS = -0.9393997341103386 from the model [FitMaker]: deleting source 4FGL J1514.8-0949 with TS = -0.4429111217323225 from the model [FitMaker]: deleting source 4FGL J1516.5+0015 with TS = -0.7426417550450424 from the model [FitMaker]: deleting source 4FGL J1518.0-2731 with TS = -1.37464570227894 from the model [FitMaker]: deleting source 4FGL J1518.4+0750 with TS = -1.4463787041459 from the model [FitMaker]: deleting source 4FGL J1518.6+0614 with TS = -1.4699186400102917 from the model [FitMaker]: deleting source 4FGL J1518.8+0203 with TS = -1.4848621228593402 from the model [FitMaker]: deleting source 4FGL J1520.0-0905 with TS = -1.8766564701509196 from the model [FitMaker]: deleting source 4FGL J1520.8-0348 with TS = -2.012707375586615 from the model [FitMaker]: deleting source 4FGL J1521.1+0421 with TS = -1.5306927689525764 from the model [FitMaker]: deleting source 4FGL J1522.6-2730 with TS = -1.5203909049159847 from the model [FitMaker]: deleting source 4FGL J1523.2+0533 with TS = -1.8323717760649743 from the model [FitMaker]: deleting source 4FGL J1526.1-0831 with TS = -0.8386709330516169 from the model [FitMaker]: deleting source 4FGL J1526.6-2743 with TS = -1.6678279140178347 from the model [FitMaker]: deleting source 4FGL J1526.7-1529 with TS = -1.5006464588805102 from the model [FitMaker]: deleting source 4FGL J1527.8+1013 with TS = -1.7209935879218392 from the model [FitMaker]: deleting source 4FGL J1528.2-2905 with TS = -1.563290631675045 from the model [FitMaker]: deleting source 4FGL J1528.5-2240 with TS = -1.3921759924851358 from the model [FitMaker]: deleting source 4FGL J1530.0-1522 with TS = -2.2924059934011893 from the model [FitMaker]: deleting source 4FGL J1530.5-3026 with TS = -1.6009327300853329 from the model [FitMaker]: deleting source 4FGL J1531.6+0406 with TS = -1.5690247454040218 from the model [FitMaker]: deleting source 4FGL J1532.7-1319 with TS = -1.794215024652658 from the model [FitMaker]: deleting source 4FGL J1534.3-3312 with TS = -1.6439705352531746 from the model [FitMaker]: deleting source 4FGL J1534.8+0131 with TS = -1.854856799429399 from the model [FitMaker]: deleting source 4FGL J1535.3-3135 with TS = -2.040357100064284 from the model [FitMaker]: deleting source 4FGL J1536.8-3155 with TS = -2.0372036802145885 from the model [FitMaker]: deleting source 4FGL J1537.9-1344 with TS = -2.3804225515923463 from the model [FitMaker]: deleting source 4FGL J1538.9+0425 with TS = -2.764180639118422 from the model [FitMaker]: deleting source 4FGL J1539.1+1008 with TS = -2.0972365172492573 from the model [FitMaker]: deleting source 4FGL J1539.7-1127 with TS = -0.0814510937925661 from the model [FitMaker]: deleting source 4FGL J1540.7+1449 with TS = -2.2104425191500923 from the model [FitMaker]: deleting source 4FGL J1541.7+1413 with TS = -2.2100856833567377 from the model [FitMaker]: deleting source 4FGL J1541.9-2915 with TS = -2.204504262015689 from the model [FitMaker]: deleting source 4FGL J1543.6+0452 with TS = -2.4586422513239086 from the model [FitMaker]: deleting source 4FGL J1543.6-0244 with TS = -3.2729999945440795 from the model [FitMaker]: deleting source 4FGL J1544.2-2554 with TS = -2.4789599007490324 from the model [FitMaker]: deleting source 4FGL J1545.8-2336 with TS = -2.49981462174037 from the model [FitMaker]: deleting source 4FGL J1546.0+0819 with TS = -2.501213362760609 from the model [FitMaker]: deleting source 4FGL J1546.1-1003 with TS = -2.0015596741141053 from the model [FitMaker]: deleting source 4FGL J1546.8-3244 with TS = -2.432929141970817 from the model [FitMaker]: deleting source 4FGL J1547.3-1531 with TS = -2.6921811999636702 from the model [FitMaker]: deleting source 4FGL J1547.3-2802 with TS = -2.4674340159690473 from the model [FitMaker]: deleting source 4FGL J1548.8-2250 with TS = -2.716789146477822 from the model [FitMaker]: deleting source 4FGL J1549.5+0236 with TS = -0.1269955691532232 from the model [FitMaker]: deleting source 4FGL J1549.8-3044 with TS = -2.9124242155085085 from the model [FitMaker]: deleting source 4FGL J1550.7+0528 with TS = -2.9749823057063622 from the model [FitMaker]: deleting source 4FGL J1550.8-0822 with TS = -3.320431684871437 from the model [FitMaker]: deleting source 4FGL J1550.8-1750 with TS = -3.7547942544333637 from the model [FitMaker]: deleting source 4FGL J1552.0+0850 with TS = -3.116513828819734 from the model [FitMaker]: deleting source 4FGL J1553.5-3118 with TS = -3.1233273915131576 from the model [FitMaker]: deleting source 4FGL J1553.6+1257 with TS = -3.1199018865299877 from the model [FitMaker]: deleting source 4FGL J1553.6-2422 with TS = -3.26602428710612 from the model [FitMaker]: deleting source 4FGL J1554.4-1215 with TS = -3.979134609660832 from the model [FitMaker]: deleting source 4FGL J1555.7+1111 with TS = -3.2220485062571242 from the model [FitMaker]: deleting source 4FGL J1555.7-2908 with TS = -3.220626394817373 from the model [FitMaker]: deleting source 4FGL J1557.9-0001 with TS = -3.3736008114210563 from the model [FitMaker]: deleting source 4FGL J1557.9-1404 with TS = -3.3684789294784423 from the model [FitMaker]: deleting source 4FGL J1559.8-2525 with TS = -3.529605369840283 from the model [FitMaker]: deleting source 4FGL J1600.9-3054 with TS = -3.3784282783744857 from the model [FitMaker]: deleting source 4FGL J1602.9-1928 with TS = -3.6147006698010955 from the model [FitMaker]: deleting source 4FGL J1603.6-0451 with TS = -1.7658788010012358 from the model [FitMaker]: deleting source 4FGL J1603.8+1104 with TS = -3.6699032923352206 from the model [FitMaker]: deleting source 4FGL J1605.1-1140 with TS = -4.543095158049255 from the model [FitMaker]: deleting source 4FGL J1608.0-2038 with TS = -3.957604248265852 from the model [FitMaker]: deleting source 4FGL J1608.4+0055 with TS = -3.837419725372456 from the model [FitMaker]: deleting source 4FGL J1608.7+1029 with TS = -3.7961084456328535 from the model [FitMaker]: deleting source 4FGL J1612.4+0409 with TS = -3.968019324776833 from the model [FitMaker]: deleting source 4FGL J1613.3-1907 with TS = -3.993967721282388 from the model [FitMaker]: deleting source 4FGL J1614.5-2230 with TS = -3.9933687043812824 from the model [FitMaker]: deleting source 4FGL J1615.3-1512 with TS = -3.997596652203356 from the model [FitMaker]: deleting source 4FGL J1616.9-2257 with TS = -3.8500702803139575 from the model [FitMaker]: deleting source 4FGL J1617.2-2535 with TS = -3.848815622564871 from the model [FitMaker]: deleting source 4FGL J1617.3-1513 with TS = -4.021806043718243 from the model [FitMaker]: deleting source 4FGL J1621.0-2625 with TS = -3.864028885640437 from the model [FitMaker]: deleting source 4FGL J1621.7-1103 with TS = -4.040665007472853 from the model [FitMaker]: deleting source 4FGL J1623.0-0315 with TS = -4.053999381794711 from the model [FitMaker]: deleting source 4FGL J1623.7-2315c with TS = -3.9335171463462757 from the model [FitMaker]: deleting source 4FGL J1625.1-0020 with TS = -3.9349588968907483 from the model [FitMaker]: deleting source 4FGL J1625.3-2338 with TS = -3.937131130194757 from the model [FitMaker]: deleting source 4FGL J1625.7-2527 with TS = -3.935349335835781 from the model [FitMaker]: deleting source 4FGL J1626.9-2431e with TS = -3.9536801656649914 from the model [FitMaker]: deleting source 4FGL J1627.7+0251 with TS = -3.9639646167197498 from the model [FitMaker]: deleting source 4FGL J1630.1-1049 with TS = -4.129757436996442 from the model [FitMaker]: deleting source 4FGL J1632.8-1048 with TS = -4.124212827649899 from the model [FitMaker]: deleting source 4FGL J1634.7+0235 with TS = -3.989087947367807 from the model [FitMaker]: deleting source 4FGL J1636.5-0454 with TS = -3.9881095696182456 from the model [FitMaker]: deleting source 4FGL J1638.0+0042 with TS = -3.98934607092815 from the model [FitMaker]: deleting source 4FGL J1641.9-0621 with TS = -3.972606141556753 from the model [FitMaker]: deleting source 4FGL J1643.5-0646 with TS = -3.9964283176668687 from the model [FitMaker]: deleting source 4FGL J1646.0-0942 with TS = -4.000405719489208 from the model [FitMaker]: deleting source 4FGL J1646.7-1330 with TS = -4.002770798004349 from the model [FitMaker]: deleting source 4FGL J1647.2-0154 with TS = -4.002640689301188 from the model [FitMaker]: deleting source 4FGL J1648.1-1547 with TS = -4.002837581574568 from the model [FitMaker]: keeping source 4FGL J1418.4-0233 with TS=6.26e+00 [FitMaker]: keeping source 4FGL J1433.0-1801 with TS=2.18e+00 [FitMaker]: keeping source 4FGL J1503.7-1540 with TS=2.78e+00 [FitMaker]: keeping source 4FGL J1505.0+0326 with TS=2.85e+00 [FitMaker]: keeping source 4FGL J1510.8-0542 with TS=1.45e+00 [FitMaker]: keeping source 4FGL J1512.2+0202 with TS=8.87e+00 [FitMaker]: keeping source 4FGL J1517.7-2422 with TS=2.31e+00 [FitMaker]: keeping source 4FGL J1544.5-1126 with TS=5.39e+00 [FitMaker]: keeping source 4FGL J1549.8-0659 with TS=6.73e+00 [FitMaker]: keeping source GalDiffModel with TS=5.39e+02 [FitMaker]: keeping source IsoDiffModel with TS=4.75e+01 [FitMaker]: keeping source PKS1510 with TS=7.78e+01
Fit output with MINUIT: 49237.40090700385 [quality: 3] [FitMaker]: Fit with gtlike performed
No value of the source parameters?
Yes, the source parameters are given below. Sorry for being late.
(4FGL J1418.4-0233 Spectrum: LogParabola 0 norm: 7.394e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 1 alpha: 1.646e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 2 beta: 7.432e-02 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 3 Eb: 1.836e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1433.0-1801 Spectrum: LogParabola 4 norm: 1.251e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 5 alpha: 2.491e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 6 beta: 2.664e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 7 Eb: 7.345e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1503.7-1540 Spectrum: PowerLaw 8 Prefactor: 6.605e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-13) fixed 9 Index: -1.806e+00 0.000e+00 -6.000e+00 -5.000e-01 ( 1.000e+00) fixed 10 Scale: 3.868e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1505.0+0326 Spectrum: LogParabola 11 norm: 1.771e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-11) fixed 12 alpha: 2.477e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 13 beta: 1.038e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 14 Eb: 4.009e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1510.8-0542 Spectrum: LogParabola 15 norm: 2.736e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 16 alpha: 2.385e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 17 beta: 1.082e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 18 Eb: 8.653e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1512.2+0202 Spectrum: LogParabola 19 norm: 2.310e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 20 alpha: 2.013e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 21 beta: 1.158e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 22 Eb: 9.521e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1517.7-2422 Spectrum: LogParabola 23 norm: 1.037e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-11) fixed 24 alpha: 2.078e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 25 beta: 2.835e-02 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 26 Eb: 8.241e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1544.5-1126 Spectrum: LogParabola 27 norm: 4.632e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-11) fixed 28 alpha: 2.290e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 29 beta: 1.942e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 30 Eb: 6.317e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1549.8-0659 Spectrum: PowerLaw 31 Prefactor: 1.192e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-13) fixed 32 Index: -1.946e+00 0.000e+00 -6.000e+00 -5.000e-01 ( 1.000e+00) fixed 33 Scale: 2.845e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
GalDiffModel Spectrum: ConstantValue 34 Value: 8.948e-01 5.175e-02 1.000e-02 1.000e+01 ( 1.000e+00)
IsoDiffModel Spectrum: FileFunction 35 Normalization: 1.159e+00 1.670e-01 1.000e-03 1.000e+03 ( 1.000e+00)
PKS1510 Spectrum: EblAtten::LogParabola 36 norm: 2.711e-01 6.199e-02 0.000e+00 1.000e+04 ( 1.000e-10) 37 alpha: 2.604e+00 1.851e-01 5.000e-01 5.000e+00 ( 1.000e+00) 38 beta: 2.638e-07 3.085e-04 0.000e+00 5.000e+00 ( 1.000e+00) 39 Eb: 7.428e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed 40 tau_norm: 1.000e+00 0.000e+00 0.000e+00 2.500e+00 ( 1.000e+00) fixed 41 redshift: 3.610e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 42 ebl_model: 4.000e+00 0.000e+00 0.000e+00 2.000e+01 ( 1.000e+00) fixed , '\n') [FitMaker]: Results for the Fit Source Name Npred TS Values and (MINOS) errors for PKS1510 ('TS : ', 81.4517104744591) norm : 0.27 +/- 0.06 [ -0.06, + 0.06 ] 1e-10 alpha : 2.60 +/- 0.19 [ -0.17, + 0.18 ] 1e+00 beta : 0.00 +/- 0.00 [ 0.00, + 0.08 ] 1e+00 Eb : 742.81 1e+00 tau_norm : 1.00 1e+00 redshift : 0.36 1e+00 ebl_model : 4.00 1e+00 ('The covariance matrix is :\n', array([[ 3.84235593e-03, -8.64026848e-03, 4.45721575e-07], [-8.64026848e-03, 3.42631416e-02, 3.51962508e-06], [ 4.45721575e-07, 3.51962508e-06, 9.51680064e-08]]))
Source Flux [1.00e+02 MeV, 3.00e+05 MeV] : 4FGL J1418.4-0233 Integral Flux : 1.04e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1433.0-1801 Integral Flux : 7.08e-09 +/- 0.00e+00 ph/cm2/s 4FGL J1503.7-1540 Integral Flux : 6.03e-09 +/- 0.00e+00 ph/cm2/s 4FGL J1505.0+0326 Integral Flux : 3.40e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1510.8-0542 Integral Flux : 2.60e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1512.2+0202 Integral Flux : 1.61e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1517.7-2422 Integral Flux : 7.24e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1544.5-1126 Integral Flux : 1.79e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1549.8-0659 Integral Flux : 8.52e-09 +/- 0.00e+00 ph/cm2/s GalDiffModel Integral Flux : 4.66e-04 +/- 2.70e-05 ph/cm2/s IsoDiffModel Integral Flux : 1.42e-04 +/- 2.05e-05 ph/cm2/s PKS1510 Integral Flux : 3.14e-07 +/- 5.39e-08 ph/cm2/s
After this last line, "Preparing submission of fit into energy bins" starts and gives the error I am facing.
Since beta = 0 I wonder is there is not a problem when computing the Ebin value for the preparation. is the tool working with powerlaw and not logparabola?
I have not checked that. I will soon get back to you after trying with power-law. Thanks a lot.
Hi @davidsanchez, Even after using Powerlaw I am getting the same error.
Fit output with NEWMINUIT: 488804.9949750247 [quality: 3] Fit output with NEWMINUIT: 488804.9948908735 [quality: 3]
[FitMaker]: deleting source 4FGL J1332.6-1256 with TS = -0.04718278115615249 from the model [FitMaker]: deleting source 4FGL J1337.6-1257 with TS = -0.03308165748603642 from the model [FitMaker]: deleting source 4FGL J1339.9-0138 with TS = -0.0017700272146612406 from the model [FitMaker]: deleting source 4FGL J1340.0-1501 with TS = -0.0003813205985352397 from the model [FitMaker]: deleting source 4FGL J1340.8-0409 with TS = -0.009637835435569286 from the model [FitMaker]: deleting source 4FGL J1341.8-2053 with TS = 0.005774950608611107 from the model [FitMaker]: deleting source 4FGL J1344.2-1723 with TS = 0.004564363858662546 from the model [FitMaker]: deleting source 4FGL J1349.5-1131 with TS = -0.018318327609449625 from the model [FitMaker]: deleting source 4FGL J1351.0+0029 with TS = -0.023295827908441424 from the model [FitMaker]: deleting source 4FGL J1351.4-1529 with TS = 0.005106414319016039 from the model [FitMaker]: deleting source 4FGL J1354.3-0206 with TS = -0.04544624825939536 from the model [FitMaker]: deleting source 4FGL J1354.8-1041 with TS = -0.08907121839001775 from the model [FitMaker]: deleting source 4FGL J1356.2-1726 with TS = -0.00015146378427743912 from the model [FitMaker]: deleting source 4FGL J1356.6+0234 with TS = -0.0058215787867084146 from the model [FitMaker]: deleting source 4FGL J1357.5+0127 with TS = -0.035968151642009616 from the model [FitMaker]: deleting source 4FGL J1359.1-1152 with TS = -0.003657888271845877 from the model [FitMaker]: deleting source 4FGL J1359.4+0202 with TS = -0.047188837081193924 from the model [FitMaker]: deleting source 4FGL J1400.0-2415 with TS = -0.00047628278844058514 from the model [FitMaker]: deleting source 4FGL J1400.6-1432 with TS = -0.07473151001613587 from the model [FitMaker]: deleting source 4FGL J1401.2-0915 with TS = -0.05562049651052803 from the model [FitMaker]: deleting source 4FGL J1402.5-1827 with TS = 0.2294903879519552 from the model [FitMaker]: deleting source 4FGL J1404.8+0402 with TS = -0.05497795296832919 from the model [FitMaker]: deleting source 4FGL J1405.3-0640 with TS = -0.04703488864470273 from the model [FitMaker]: deleting source 4FGL J1405.9-1853 with TS = 0.017766353208571672 from the model [FitMaker]: deleting source 4FGL J1406.1-2508 with TS = 0.013963139150291681 from the model [FitMaker]: deleting source 4FGL J1406.4-1654 with TS = 0.05359412415418774 from the model [FitMaker]: deleting source 4FGL J1407.4-0820 with TS = -0.21642160043120384 from the model [FitMaker]: deleting source 4FGL J1408.9-0751 with TS = 0.4846203044289723 from the model [FitMaker]: deleting source 4FGL J1410.1+0202 with TS = -0.11254791682586074 from the model [FitMaker]: deleting source 4FGL J1411.5-0723 with TS = -0.07851669215597212 from the model [FitMaker]: deleting source 4FGL J1415.9-1504 with TS = -0.5757134656887501 from the model [FitMaker]: deleting source 4FGL J1416.1-2417 with TS = -0.062495491467416286 from the model [FitMaker]: deleting source 4FGL J1419.3+0444 with TS = -0.10012476972769946 from the model [FitMaker]: deleting source 4FGL J1419.4-0838 with TS = -30.14560132205952 from the model [FitMaker]: deleting source 4FGL J1420.3+0612 with TS = -0.7107797234784812 from the model [FitMaker]: deleting source 4FGL J1420.9-2431 with TS = -0.5302165753673762 from the model [FitMaker]: deleting source 4FGL J1421.1-1120 with TS = -1.4810180228669196 from the model [FitMaker]: deleting source 4FGL J1424.1-1750 with TS = 0.9125199260888621 from the model [FitMaker]: deleting source 4FGL J1424.2+0433 with TS = -1.193835963262245 from the model [FitMaker]: deleting source 4FGL J1425.4-0119 with TS = 0.6610181507421657 from the model [FitMaker]: deleting source 4FGL J1429.8-0739 with TS = 0.9821309450780973 from the model [FitMaker]: deleting source 4FGL J1429.8-3058 with TS = -1.1142299519851804 from the model [FitMaker]: deleting source 4FGL J1431.1-3120 with TS = -1.1135205717291683 from the model [FitMaker]: deleting source 4FGL J1438.0-3128 with TS = -1.1085676022339612 from the model [FitMaker]: deleting source 4FGL J1439.5-2525 with TS = -1.025706824613735 from the model [FitMaker]: deleting source 4FGL J1440.0-2343 with TS = -0.8145688596414402 from the model [FitMaker]: deleting source 4FGL J1440.9+0609 with TS = -1.7193607148947194 from the model [FitMaker]: deleting source 4FGL J1441.6-1522 with TS = -2.093805378768593 from the model [FitMaker]: deleting source 4FGL J1442.0+0732 with TS = -1.629143452970311 from the model [FitMaker]: deleting source 4FGL J1442.1-2800 with TS = -1.4940652754157782 from the model [FitMaker]: deleting source 4FGL J1442.2+0622 with TS = -1.7662649381672964 from the model [FitMaker]: deleting source 4FGL J1442.7+1200 with TS = -1.5927041773684323 from the model [FitMaker]: deleting source 4FGL J1443.7-0954 with TS = -3.3974955189041793 from the model [FitMaker]: deleting source 4FGL J1445.2-1954 with TS = -1.1914646159857512 from the model [FitMaker]: deleting source 4FGL J1445.9-1626 with TS = -0.1921513294801116 from the model [FitMaker]: deleting source 4FGL J1446.0-3039 with TS = -2.7552227897103876 from the model [FitMaker]: deleting source 4FGL J1446.8-1830 with TS = -1.082256834837608 from the model [FitMaker]: deleting source 4FGL J1447.0-2657 with TS = -2.705702427541837 from the model [FitMaker]: deleting source 4FGL J1449.7-0910 with TS = -4.103773457580246 from the model [FitMaker]: deleting source 4FGL J1450.4+0910 with TS = -3.220675316872075 from the model [FitMaker]: deleting source 4FGL J1450.8-1424 with TS = -3.0599430225556716 from the model [FitMaker]: deleting source 4FGL J1451.5+1415 with TS = -3.1591151595348492 from the model [FitMaker]: deleting source 4FGL J1453.0-1318 with TS = -5.6541840301360935 from the model [FitMaker]: deleting source 4FGL J1459.5+1527 with TS = -3.3692556312307715 from the model [FitMaker]: deleting source 4FGL J1503.7-1540 with TS = 0.035875847563147545 from the model [FitMaker]: deleting source 4FGL J1504.4+1029 with TS = -10.433423016802408 from the model [FitMaker]: deleting source 4FGL J1505.0+0326 with TS = -2.5067064395407215 from the model [FitMaker]: deleting source 4FGL J1506.4-0540 with TS = -7.503941100789234 from the model [FitMaker]: deleting source 4FGL J1506.6+0813 with TS = -7.1273982061538845 from the model [FitMaker]: deleting source 4FGL J1507.1-1901 with TS = -4.334615467814729 from the model [FitMaker]: deleting source 4FGL J1509.8-2906 with TS = -7.9606776010477915 from the model [FitMaker]: deleting source 4FGL J1511.8-0513 with TS = -6.676686772610992 from the model [FitMaker]: deleting source 4FGL J1512.1-2255 with TS = -2.120941399480216 from the model [FitMaker]: deleting source 4FGL J1513.0-3118 with TS = -9.934668803820387 from the model [FitMaker]: deleting source 4FGL J1513.4-2549 with TS = -9.52027996594552 from the model [FitMaker]: deleting source 4FGL J1513.4-3231 with TS = -9.929540937184356 from the model [FitMaker]: deleting source 4FGL J1513.7-1519 with TS = -7.18776526406873 from the model [FitMaker]: deleting source 4FGL J1514.6-2044 with TS = -9.773236632230692 from the model [FitMaker]: deleting source 4FGL J1514.8-0949 with TS = -21.920337482122704 from the model [FitMaker]: deleting source 4FGL J1516.5+0015 with TS = -17.95164467347786 from the model [FitMaker]: deleting source 4FGL J1518.0-2731 with TS = -16.37476376700215 from the model [FitMaker]: deleting source 4FGL J1518.4+0750 with TS = -17.088869789149612 from the model [FitMaker]: deleting source 4FGL J1518.6+0614 with TS = -17.1449495179113 from the model [FitMaker]: deleting source 4FGL J1518.8+0203 with TS = -17.812832938856445 from the model [FitMaker]: deleting source 4FGL J1520.0-0905 with TS = -16.456986023578793 from the model [FitMaker]: deleting source 4FGL J1521.1+0421 with TS = -18.408769365749322 from the model [FitMaker]: deleting source 4FGL J1522.6-2730 with TS = -17.697319971513934 from the model [FitMaker]: deleting source 4FGL J1523.2+0533 with TS = -19.27926300826948 from the model [FitMaker]: deleting source 4FGL J1526.1-0831 with TS = -17.48181006743107 from the model [FitMaker]: deleting source 4FGL J1526.6-2743 with TS = -18.83463413431309 from the model [FitMaker]: deleting source 4FGL J1526.7-1529 with TS = -15.850976601592265 from the model [FitMaker]: deleting source 4FGL J1527.8+1013 with TS = -19.45063897536602 from the model [FitMaker]: deleting source 4FGL J1528.2-2905 with TS = -17.7270847709151 from the model [FitMaker]: deleting source 4FGL J1528.5-2240 with TS = -18.443796607432887 from the model [FitMaker]: deleting source 4FGL J1530.0-1522 with TS = -20.14630087907426 from the model [FitMaker]: deleting source 4FGL J1530.5-3026 with TS = -18.13530919898767 from the model [FitMaker]: deleting source 4FGL J1531.6+0406 with TS = -19.16272693348583 from the model [FitMaker]: deleting source 4FGL J1534.3-3312 with TS = -18.50864328769967 from the model [FitMaker]: deleting source 4FGL J1534.8+0131 with TS = -20.31474939547479 from the model [FitMaker]: deleting source 4FGL J1535.3-3135 with TS = -22.604830294381827 from the model [FitMaker]: deleting source 4FGL J1536.8-3155 with TS = -22.600193538120948 from the model [FitMaker]: deleting source 4FGL J1537.9-1344 with TS = -23.99506931635551 from the model [FitMaker]: deleting source 4FGL J1538.9+0425 with TS = -17.229344128863886 from the model [FitMaker]: deleting source 4FGL J1539.1+1008 with TS = -23.510000391979702 from the model [FitMaker]: deleting source 4FGL J1539.7-1127 with TS = -3.785195583710447 from the model [FitMaker]: deleting source 4FGL J1540.7+1449 with TS = -24.520194033742882 from the model [FitMaker]: deleting source 4FGL J1541.7+1413 with TS = -24.515706458943896 from the model [FitMaker]: deleting source 4FGL J1541.9-2915 with TS = -24.359692086698487 from the model [FitMaker]: deleting source 4FGL J1543.6+0452 with TS = -25.338525953469798 from the model [FitMaker]: deleting source 4FGL J1543.6-0244 with TS = -22.788386102183722 from the model [FitMaker]: deleting source 4FGL J1544.2-2554 with TS = -27.303646102547646 from the model [FitMaker]: deleting source 4FGL J1544.5-1126 with TS = -5.573418781044893 from the model [FitMaker]: deleting source 4FGL J1545.8-2336 with TS = -32.295088520273566 from the model [FitMaker]: deleting source 4FGL J1546.0+0819 with TS = -32.41764909692574 from the model [FitMaker]: deleting source 4FGL J1546.1-1003 with TS = -26.326419832766987 from the model [FitMaker]: deleting source 4FGL J1546.8-3244 with TS = -31.729724588920362 from the model [FitMaker]: deleting source 4FGL J1547.3-1531 with TS = -32.347653151955456 from the model [FitMaker]: deleting source 4FGL J1547.3-2802 with TS = -32.14562020939775 from the model [FitMaker]: deleting source 4FGL J1548.8-2250 with TS = -33.77411496115383 from the model [FitMaker]: deleting source 4FGL J1549.8-0659 with TS = -12.8806197111262 from the model [FitMaker]: deleting source 4FGL J1549.8-3044 with TS = -34.95192214904819 from the model [FitMaker]: deleting source 4FGL J1550.7+0528 with TS = -35.47673192061484 from the model [FitMaker]: deleting source 4FGL J1550.8-0822 with TS = -28.75547376088798 from the model [FitMaker]: deleting source 4FGL J1550.8-1750 with TS = -40.22569047193974 from the model [FitMaker]: deleting source 4FGL J1552.0+0850 with TS = -37.30626433016732 from the model [FitMaker]: deleting source 4FGL J1553.5-3118 with TS = -37.23272131604608 from the model [FitMaker]: deleting source 4FGL J1553.6+1257 with TS = -37.405601147795096 from the model [FitMaker]: deleting source 4FGL J1553.6-2422 with TS = -38.447705400176346 from the model [FitMaker]: deleting source 4FGL J1554.4-1215 with TS = -40.82508387067355 from the model [FitMaker]: deleting source 4FGL J1555.7+1111 with TS = -38.581499801715836 from the model [FitMaker]: deleting source 4FGL J1555.7-2908 with TS = -38.445685231592506 from the model [FitMaker]: deleting source 4FGL J1557.9-0001 with TS = -37.26235058088787 from the model [FitMaker]: deleting source 4FGL J1557.9-1404 with TS = -41.6021245616721 from the model [FitMaker]: deleting source 4FGL J1559.8-2525 with TS = -41.38403822632972 from the model [FitMaker]: deleting source 4FGL J1600.9-3054 with TS = -39.9204228798626 from the model [FitMaker]: deleting source 4FGL J1602.9-1928 with TS = -41.672173132770695 from the model [FitMaker]: deleting source 4FGL J1603.6-0451 with TS = -35.412631890154444 from the model [FitMaker]: deleting source 4FGL J1603.8+1104 with TS = -42.668103146832436 from the model [FitMaker]: deleting source 4FGL J1605.1-1140 with TS = -45.864348266855814 from the model [FitMaker]: deleting source 4FGL J1608.0-2038 with TS = -45.13055558933411 from the model [FitMaker]: deleting source 4FGL J1608.4+0055 with TS = -44.739526169491 from the model [FitMaker]: deleting source 4FGL J1608.7+1029 with TS = -44.21675104775932 from the model [FitMaker]: deleting source 4FGL J1612.4+0409 with TS = -45.72495644376613 from the model [FitMaker]: deleting source 4FGL J1613.3-1907 with TS = -45.63142455462366 from the model [FitMaker]: deleting source 4FGL J1614.5-2230 with TS = -45.692146487534046 from the model [FitMaker]: deleting source 4FGL J1615.3-1512 with TS = -45.67846902215388 from the model [FitMaker]: deleting source 4FGL J1616.9-2257 with TS = -44.356941077974625 from the model [FitMaker]: deleting source 4FGL J1617.2-2535 with TS = -44.361602918594144 from the model [FitMaker]: deleting source 4FGL J1617.3-1513 with TS = -45.90691906574648 from the model [FitMaker]: deleting source 4FGL J1621.0-2625 with TS = -44.516300047631375 from the model [FitMaker]: deleting source 4FGL J1621.7-1103 with TS = -45.64100295235403 from the model [FitMaker]: deleting source 4FGL J1623.0-0315 with TS = -46.448418434127234 from the model [FitMaker]: deleting source 4FGL J1623.7-2315c with TS = -45.164457448525354 from the model [FitMaker]: deleting source 4FGL J1625.1-0020 with TS = -45.19735654105898 from the model [FitMaker]: deleting source 4FGL J1625.3-2338 with TS = -45.212698179646395 from the model [FitMaker]: deleting source 4FGL J1625.7-2527 with TS = -45.22826033877209 from the model [FitMaker]: deleting source 4FGL J1626.9-2431e with TS = -45.35340453707613 from the model [FitMaker]: deleting source 4FGL J1627.7+0251 with TS = -45.66326837451197 from the model [FitMaker]: deleting source 4FGL J1630.1-1049 with TS = -46.99712919967715 from the model [FitMaker]: deleting source 4FGL J1632.8-1048 with TS = -46.83025384659413 from the model [FitMaker]: deleting source 4FGL J1634.7+0235 with TS = -45.867026975611225 from the model [FitMaker]: deleting source 4FGL J1636.5-0454 with TS = -45.69732435862534 from the model [FitMaker]: deleting source 4FGL J1638.0+0042 with TS = -45.87123578169849 from the model [FitMaker]: deleting source 4FGL J1641.9-0621 with TS = -45.62718513002619 from the model [FitMaker]: deleting source 4FGL J1643.5-0646 with TS = -45.78288045828231 from the model [FitMaker]: deleting source 4FGL J1646.0-0942 with TS = -45.80861942563206 from the model [FitMaker]: deleting source 4FGL J1646.7-1330 with TS = -45.826185922371224 from the model [FitMaker]: deleting source 4FGL J1647.2-0154 with TS = -45.99587436916772 from the model [FitMaker]: deleting source 4FGL J1648.1-1547 with TS = -45.83019928005524 from the model [FitMaker]: keeping source 4FGL J1418.4-0233 with TS=4.69e+01 [FitMaker]: keeping source 4FGL J1427.4-1823 with TS=7.33e+00 [FitMaker]: keeping source 4FGL J1433.0-1801 with TS=1.44e+00 [FitMaker]: keeping source 4FGL J1440.0-1530 with TS=1.97e+00 [FitMaker]: keeping source 4FGL J1441.4-1934 with TS=1.12e+00 [FitMaker]: keeping source 4FGL J1445.0-0326 with TS=1.30e+01 [FitMaker]: keeping source 4FGL J1458.8-2120 with TS=2.00e+00 [FitMaker]: keeping source 4FGL J1510.8-0542 with TS=4.73e+01 [FitMaker]: keeping source 4FGL J1512.2+0202 with TS=4.27e+01 [FitMaker]: keeping source 4FGL J1517.7-2422 with TS=1.33e+01 [FitMaker]: keeping source 4FGL J1520.8-0348 with TS=9.86e+00 [FitMaker]: keeping source 4FGL J1532.7-1319 with TS=7.61e+01 [FitMaker]: keeping source 4FGL J1549.5+0236 with TS=1.52e+01 [FitMaker]: keeping source GalDiffModel with TS=6.83e+03 [FitMaker]: keeping source IsoDiffModel with TS=4.88e+02 [FitMaker]: keeping source PKS1510 with TS=1.83e+03
Fit output with NEWMINUIT: 488835.58915209485 [quality: 3] [FitMaker]: Fit with gtlike performed
[Result]: Decorrelation energy : 3.62e+02 MeV [Result]: Diffential flux at the Decorrelation energy : 2.68e-10 +/- 9.55e-12 ph/cm2/s/MeV [Result]: SED value at the Decorrelation energy : 5.63e-11 +/- 2.00e-12 erg/cm2/s
(4FGL J1418.4-0233 Spectrum: LogParabola 0 norm: 7.394e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 1 alpha: 1.646e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 2 beta: 7.432e-02 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 3 Eb: 1.836e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1427.4-1823 Spectrum: PowerLaw 4 Prefactor: 3.593e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-13) fixed 5 Index: -1.959e+00 0.000e+00 -6.000e+00 -5.000e-01 ( 1.000e+00) fixed 6 Scale: 3.204e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1433.0-1801 Spectrum: LogParabola 7 norm: 1.251e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 8 alpha: 2.491e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 9 beta: 2.664e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 10 Eb: 7.345e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1440.0-1530 Spectrum: PowerLaw 11 Prefactor: 1.537e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-13) fixed 12 Index: -2.191e+00 0.000e+00 -6.000e+00 -5.000e-01 ( 1.000e+00) fixed 13 Scale: 2.233e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1441.4-1934 Spectrum: LogParabola 14 norm: 9.894e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-14) fixed 15 alpha: 1.315e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 16 beta: 5.084e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 17 Eb: 5.129e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1445.0-0326 Spectrum: PowerLaw 18 Prefactor: 4.228e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-13) fixed 19 Index: -1.818e+00 0.000e+00 -6.000e+00 -5.000e-01 ( 1.000e+00) fixed 20 Scale: 4.007e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1458.8-2120 Spectrum: LogParabola 21 norm: 2.538e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-13) fixed 22 alpha: 1.737e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 23 beta: 4.947e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 24 Eb: 1.487e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1510.8-0542 Spectrum: LogParabola 25 norm: 2.736e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 26 alpha: 2.385e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 27 beta: 1.082e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 28 Eb: 8.653e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1512.2+0202 Spectrum: LogParabola 29 norm: 2.310e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 30 alpha: 2.013e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 31 beta: 1.158e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 32 Eb: 9.521e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1517.7-2422 Spectrum: LogParabola 33 norm: 1.037e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-11) fixed 34 alpha: 2.078e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 35 beta: 2.835e-02 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 36 Eb: 8.241e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1520.8-0348 Spectrum: LogParabola 37 norm: 9.149e-01 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-13) fixed 38 alpha: 1.505e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 39 beta: 2.065e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 40 Eb: 3.291e+03 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1532.7-1319 Spectrum: LogParabola 41 norm: 7.414e-01 1.058e-01 0.000e+00 1.000e+04 ( 1.000e-11) 42 alpha: 2.030e+00 0.000e+00 5.000e-01 5.000e+00 ( 1.000e+00) fixed 43 beta: 1.043e-01 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 44 Eb: 8.468e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
4FGL J1549.5+0236 Spectrum: PowerLaw 45 Prefactor: 2.659e+00 0.000e+00 0.000e+00 1.000e+04 ( 1.000e-12) fixed 46 Index: -2.420e+00 0.000e+00 -6.000e+00 -5.000e-01 ( 1.000e+00) fixed 47 Scale: 8.074e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed
GalDiffModel Spectrum: ConstantValue 48 Value: 9.405e-01 1.700e-02 1.000e-02 1.000e+01 ( 1.000e+00)
IsoDiffModel Spectrum: FileFunction 49 Normalization: 1.157e+00 5.375e-02 1.000e-03 1.000e+03 ( 1.000e+00)
PKS1510 Spectrum: PowerLaw 50 Prefactor: 4.779e-01 2.102e-02 0.000e+00 1.000e+04 ( 1.000e-10) 51 Index: -2.399e+00 3.605e-02 -6.000e+00 -5.000e-01 ( 1.000e+00) 52 Scale: 7.428e+02 0.000e+00 3.000e+01 3.000e+05 ( 1.000e+00) fixed , '\n') [FitMaker]: Results for the Fit Source Name Npred TS Values and (MINOS) errors for PKS1510 ('TS : ', 1873.8933641960612) Prefactor : 0.48 +/- 0.02 [ -0.02, + 0.02 ] 1e-10 Index : -2.40 +/- 0.04 [ -0.04, + 0.04 ] 1e+00 Scale : 742.81 1e+00 ('The covariance matrix is :\n', array([[0.00044201, 0.00044577], [0.00044577, 0.00129992]]))
Source Flux [1.00e+02 MeV, 3.00e+05 MeV] : 4FGL J1418.4-0233 Integral Flux : 1.04e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1427.4-1823 Integral Flux : 3.34e-09 +/- 0.00e+00 ph/cm2/s 4FGL J1433.0-1801 Integral Flux : 7.08e-09 +/- 0.00e+00 ph/cm2/s 4FGL J1440.0-1530 Integral Flux : 1.17e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1441.4-1934 Integral Flux : 1.32e-10 +/- 0.00e+00 ph/cm2/s 4FGL J1445.0-0326 Integral Flux : 4.24e-09 +/- 0.00e+00 ph/cm2/s 4FGL J1458.8-2120 Integral Flux : 1.22e-09 +/- 0.00e+00 ph/cm2/s 4FGL J1510.8-0542 Integral Flux : 2.60e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1512.2+0202 Integral Flux : 1.61e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1517.7-2422 Integral Flux : 7.24e-08 +/- 0.00e+00 ph/cm2/s 4FGL J1520.8-0348 Integral Flux : 1.48e-09 +/- 0.00e+00 ph/cm2/s 4FGL J1532.7-1319 Integral Flux : 4.40e-08 +/- 6.28e-09 ph/cm2/s 4FGL J1549.5+0236 Integral Flux : 2.94e-08 +/- 0.00e+00 ph/cm2/s GalDiffModel Integral Flux : 4.90e-04 +/- 8.86e-06 ph/cm2/s IsoDiffModel Integral Flux : 1.42e-04 +/- 6.60e-06 ph/cm2/s PKS1510 Integral Flux : 4.20e-07 +/- 1.72e-08 ph/cm2/s
[Message]: Save Ebin results in
('Emin = 100.0 MeV', 'Emax = 300000.0 MeV', 'Nbins = 6')
Debug: read energy bins: logE
Energy bins (before energy cuts): [1.00000000e+02 3.79769610e+02 1.44224957e+03 5.47722558e+03
2.08008382e+04 7.89952623e+04 3.00000000e+05]
Energy bins (after energy cuts): [1.00000000e+02 3.79769610e+02 1.44224957e+03 5.47722558e+03
2.08008382e+04 7.89952623e+04 3.00000000e+05]
[Message]: Submitting # 0 at energy 194
Traceback (most recent call last):
File "/home/hegro/enrico/bin/enrico_sed", line 48, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hegro/enrico/bin/enrico_sed", line 55, in
I will try to reproduce the error
I am working on it. it tooks time since our cluster was down. d
Hi I am not able to reproduce the problem you have; I am not using the last fermitools but I will update and retry`
d
Thanks, @davidsanchez for your kind effort. I am also trying to solve it but still the same error persists.
Hi,
I have the same problem. Is there a solution to this problem?
Hi I never been able to reproduce this bug. could you send me your config files? david
Thank you for your prompt reply. Of course, I am running the sed for mrk 421 with NumEnergyBins = 7. In the Ebin # / folder is created the .confg file for the 0th energy but is empty.
The file mrk421.conf :
#
out = /home/marisol/Desktop/sed_mkr421-prueba/datos
verbose = yes
clobber = yes
Submit = no
[target] name = Mrk421 ra = 166.113808 dec = 38.20883287 redshift = 0.031 ebl_model = 4 spectrum = PowerLaw
# full list http://www-glast.stanford.edu/cgi-bin/viewcvs/celestialSources/eblAtten/eblAtten/EblAtten.h?view=markup
fit_tau = no
[space] xref = 166.113808 yref = 38.20883287 rad = 10.0 binsz = 0.1 coordsys = CEL proj = AIT phibins = 0
[file] spacecraft = sc.fits event = fotones.dat xml = /home/marisol/Desktop/sed_mkr421-prueba/datos/Mrk421_PowerLaw_model.xml tag = LAT_Analysis
parent_config = ""
[time] tmin = 239557417.192 tmax = 271093418.192 file = "" type = MET
[energy] emin = 2000.0 emax = 300000.0 enumbins_per_decade = 10 decorrelation_energy = no
[event] irfs = CALDB evclass = 128 evtype = 3
[analysis] zmax = 100
likelihood = binned
# Correct energy dispersion?
EnergyDispersion = yes
ComputeDiffrsp = yes
roicut = no
# cuts applied during the first coarse bin selection:
evtroicuts = yes
evttimecuts = yes
filter = (DATA_QUAL>0)&&(LAT_CONFIG==1)
# should we keep the srcmaps for all sources in the srcMap file?
# this should speed up future fits, at the cost of disk space.
keep_all_srcmaps = no
[environ]
# Can also be done via shell environment variables
FERMI_DATA_DIR = ""
FERMI_CATALOG_DIR = ""
FERMI_CATALOG = ""
FERMI_DIFFUSE_DIR = ""
FERMI_PREPROCESSED_DIR = ""
[fitting] optimizer = MINUIT ftol = 1e-06
min_source_TS = 1.0
[model]
diffuse_gal_dir = ""
diffuse_iso_dir = ""
diffuse_gal = ""
diffuse_iso = ""
# user points sources for diffuse catalog sources
# freeze spectral parameters for weak and far away sources:
min_significance_catalog = 4.0
min_significance_free = 25.0
max_radius = 5.0
# Add all source in a radius of analyse ROI + this radius
max_roi = 10.0
# Add gaussian noise to the spectral parameters of free sources (may help during the fit)
parameters_noise = 0.0
[Spectrum]
FitsGeneration = yes
#Generates plots (SED, model map)
ResultPlots = yes
# Plot (update) the parent config related plots during energy bin production
ResultParentPlots = no
#Freeze the spectral index of the source. Has no implication if 0 (Left free to vary)
FrozenSpectralIndex = 0.0
[UpperLimit]
SpectralIndex = 2.0
# UL method could be Profile or Integral (provided by the fermi collaboration).
#Poisson is base on the Feldman-Cousins method for low signal. Only 95 % yet available
Method = Profile
envelope = no
#Compute an UL if the TS of the sources is <TSlimit
TSlimit = 25.0
# Confidence level for the Ul computation
cl = 0.95
[LightCurve]
FitsGeneration = yes
#Number of points for the LC
NLCbin = 20
#Index for the power law. Left free to vary if 0
SpectralIndex = 2.0
MakeConfFile = yes
#Bayesian blocks
BayesianBlocks = no
#Compute Variability index as in the 2FGL.
ComputeVarIndex = yes
#Compute an UL if the TS of the sources is <TSLightCurve
TSLightCurve = 9.0
#Generates control plots
DiagnosticPlots = yes
# Plot (update) the parent config related plots during time bin production
DiagnosticParentPlots = no
[BayesianBlocks]
FitsGeneration = yes
#False alarm probability
p0 = 0.01
#Index for the power law. Left free to vary if 0
SpectralIndex = 2.0
MakeConfFile = yes
#Compute an UL if the TS of the sources is <TSLightCurve
TSLightCurve = 9.0
#Generates control plots
DiagnosticPlots = yes
# Plot (update) the parent config related plots during time bin production
DiagnosticParentPlots = no
[FoldedLC]
NLCbin = 10
#Epoch of phase=0 in MJD, equal to tmin is 0
epoch = 0.0
#Orbital period in days
Period = 0.0
[AppLC]
FitsGeneration = yes
#Spectral index for the exposure calculation
index = 2.0
#Apperture radius
rad = 1.0
#Number of bins
NLCbin = 10
#bin form data or frozen bin size
binsFromData = no
#minimum energy for the apperture lightcurve, if -1 use the one define in energy section
emin = -1.0
emax = -1.0
[Ebin]
FitsGeneration = yes
NumEnergyBins = 7
#Compute an UL if the TS of the sources is <TSEnergyBins
TSEnergyBins = 9.0
# How to generate the Ebins
# - logE: log scaled bins
# - TS: similar TS per bin
# - mix: half-way between log and TS.
# - [ E1, E2, E3, E4, ..., EN ]: custom binning.
# - default is logE
DistEbins = logE
[TSMap]
Re-Fit = no
#Numbers of pixel in x and y
npix = 10
#Remove or not the target from the model
RemoveTarget = yes
#Generate the TS map pixel by pixel or by grouping the pixels by row.
#(reduce the numbers of jobs but each job is longer)
method = row
[findsrc]
FitsGeneration = yes
#Reoptimize before
Refit = yes
[srcprob]
FitsGeneration = yes
#radius for the computation
rad = 1.0
# list of sources
srclist = ""
# number of photons to print
numberPhoton = 10
[Contours] parname1 = Prefactor parname2 = Index
[ComponentAnalysis]
# binned and unbinned analysis should be split
# disabled if -1
EUnBinned = -1.0
# Divide the analysis in FrontBack classes
FrontBack = no
# Divide the analysis in PSF classes
PSF = no
# Divide the analysis in EDISP classes
EDISP = no
# Divide the analysis in EDISP classes
FGL4 = no
Hi,
I have the same error, did you manage to solve it ?
('Emin = 442.894 MeV', 'Emax = 300000.0 MeV', 'Nbins = 3')
Debug: read energy bins: mix
Energy bins (before energy cuts): [ 442.894 3101.56570034 22704.03766592 300000. ]
Energy bins (after energy cuts): [ 442.894 3101.56570034 22704.03766592 300000. ]
[Message]: Submitting # 0 at energy 1172
Traceback (most recent call last):
File "/home/narek/enrico/bin/enrico_sed", line 48, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/narek/enrico/bin/enrico_sed", line 55, in
Hi,
If you change config.write(open(config['out'] + '/' +filename, 'w')) with config.write(open(config['out'] + '/' +filename, 'wb')) it works without a problem.
Hi,
I confirm that it works without problem by correcting what you mention in the file /home/user/enrico/enrico/energybin.py, thank you so much! ('w' by 'wb')
Hi thanks a lot. I'll made a fix then
Hi, I am facing the following error while running enrico_sed. After fitting the spectrum over the full energy range with GTLIKE, it shows the following error:
****
Preparing submission of fit into energy bins
****
('Emin = 100.0 MeV', 'Emax = 300000.0 MeV', 'Nbins = 5') Debug: read energy bins: logE Energy bins (before energy cuts): [1.00000000e+02 4.95934420e+02 2.45950949e+03 1.21975541e+04 6.04918691e+04 3.00000000e+05] Energy bins (after energy cuts): [1.00000000e+02 4.95934420e+02 2.45950949e+03 1.21975541e+04 6.04918691e+04 3.00000000e+05] [Message]: Submitting # 0 at energy 222 Traceback (most recent call last): File "/home/hegro/enrico/bin/enrico_sed", line 48, in
liste = np.genfromtxt(sys.argv[1],dtype="str",unpack=True)
File "/home/hegro/anaconda3/envs/fermi/lib/python3.7/site-packages/numpy/lib/npyio.py", line 2068, in genfromtxt
raise ValueError(errmsg)
ValueError: Some errors were detected !
Line #9 (got 1 columns instead of 3)
Line #20 (got 1 columns instead of 3)
Line #29 (got 1 columns instead of 3)
Line #37 (got 1 columns instead of 3)
Line #43 (got 1 columns instead of 3)
Line #49 (got 1 columns instead of 3)
Line #54 (got 1 columns instead of 3)
Line #70 (got 1 columns instead of 3)
Line #79 (got 1 columns instead of 3)
Line #85 (got 1 columns instead of 3)
Line #101 (got 1 columns instead of 3)
Line #111 (got 1 columns instead of 3)
Line #123 (got 1 columns instead of 3)
Line #142 (got 1 columns instead of 3)
Line #158 (got 1 columns instead of 3)
Line #166 (got 1 columns instead of 3)
Line #181 (got 1 columns instead of 3)
Line #195 (got 1 columns instead of 3)
Line #206 (got 1 columns instead of 3)
Line #212 (got 1 columns instead of 3)
Line #222 (got 1 columns instead of 3)
Line #226 (got 1 columns instead of 3)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/hegro/enrico/bin/enrico_sed", line 55, in
sed(config,infile)
File "/home/hegro/enrico/bin/enrico_sed", line 13, in sed
run(infile)
File "/home/hegro/enrico/enrico/RunGTlike.py", line 262, in run
energybin.RunEbin(folder,Nbin,Fit,FitRunner,sedresult)
File "/home/hegro/enrico/enrico/energybin.py", line 209, in RunEbin
configfiles = PrepareEbin(Fit, FitRunner,sedresult)
File "/home/hegro/enrico/enrico/energybin.py", line 202, in PrepareEbin
config.write(open(config['out'] + '/' +filename, 'w')) #save the config file in a ascii file
File "/home/hegro/enrico/enrico/extern/configobj.py", line 2098, in write
outfile.write(output_bytes)
TypeError: write() argument must be str, not bytes
It seems that there are two different issues. One in "/home/hegro/enrico/bin/enrico_sed", line 48 and another in "/home/hegro/enrico/enrico/extern/configobj.py", line 2098. The program stops just before making the configuration file for the first energy bin.