/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). ng on... /lscratch/kocevski/18868888/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits.....................! real 60.69 user 59.35 sys 0.84 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18868888/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits', '/lscratch/kocevski/18868888/ft2_4FGL_J1204.8+0407_weekly_bin777.fits', expMap='/lscratch/kocevski/18868888/expmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits', expCube='/lscratch/kocevski/18868888/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18868888/Model_4FGL_J1204.8+0407_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1204.8+0407' 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 3.692e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18868888/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18868888/ft2_4FGL_J1204.8+0407_weekly_bin777.fits Exposure map: /lscratch/kocevski/18868888/expmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18868888/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18868888/Model_4FGL_J1204.8+0407_weekly_bin777.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.2097636 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.1455631 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2153 1.0000 .0000 .10000E+07 2 'Prefactor ' 7.6170 1.0000 .0000 .10000E+07 3 'Prefactor ' .69504E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' 4.9488 1.0000 .0000 .10000E+07 5 'Prefactor ' 5.1000 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.8755 1.0000 .0000 .10000E+07 7 'Prefactor ' .76537 1.0000 .0000 .10000E+07 8 'Prefactor ' .24621E-01 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.8760 1.0000 .0000 .10000E+07 10 'Prefactor ' .22630E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' .29925E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.9946 1.0000 .0000 .10000E+07 13 'Prefactor ' .11003E-04 1.0000 .0000 .10000E+07 14 'norm ' 2.7505 1.0000 .0000 .10000E+07 15 'norm ' 2.5156 1.0000 .0000 .10000E+07 16 'Prefactor ' .48081E-03 1.0000 .0000 .10000E+07 17 'norm ' 42.148 1.0000 .0000 .10000E+07 18 'norm ' .81822 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.7739 1.0000 .0000 .10000E+07 20 'Prefactor ' 13.012 1.0000 .0000 .10000E+07 21 'norm ' .31215 1.0000 .0000 .10000E+07 22 'Prefactor ' .51144 1.0000 .0000 .10000E+07 23 'Normalizat' 1.2273 1.0000 .10000E-01 10.000 24 'Prefactor ' .92351 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21061.15 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1576 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2148 .99430 .38631E-07 .79458E-02 2 Prefactor 7.6127 9.2967 .34206E-05 .13351E-01 3 Prefactor .36082E-08 29.131 -.25079E-05** at limit ** 4 Prefactor 4.9355 3.5772 -.18646E-06 .16006E-02 5 Prefactor 5.0830 3.6894 .20215E-06 .10896E-01 6 Prefactor 3.8851 7.8805 .95307E-06 .19568E-02 7 Prefactor .79235 1.3260 .12694E-05 -.19375E-02 8 Prefactor .63283E-08 56.968 .94075E-05** at limit ** 9 Prefactor 2.4528 3.1651 .12551E-05 -.99385E-02 10 Prefactor .13045E-07 11.329 -.19008E-05** at limit ** 11 Prefactor .22132E-06 5.8979 .40918E-06** at limit ** 12 Prefactor 1.9939 4.6978 -.20254E-06 .27673E-02 13 Prefactor .25091E-07 19.511 -.45082E-05** at limit ** 14 norm 2.7506 1.1733 -.58317E-07 .23528E-01 15 norm 2.5129 1.5571 -.17165E-06 .36067E-02 16 Prefactor .41206E-06 3.1860 .65996E-06** at limit ** 17 norm 42.221 1.0696 -.40854E-07 .11271E-01 18 norm .81809 .26320 .11093E-07 .58681E-02 19 Prefactor 4.7649 3.4764 -.22217E-06 .70497E-02 20 Prefactor 13.011 4.9271 -.20888E-06 -.48509E-02 21 norm .31181 .55881 .11646E-06 .18018E-01 22 Prefactor .51054 6.5981 .16191E-05 -.50148E-04 23 Normalizat 1.2272 .12421 .34474E-05 -.14779E-03 24 Prefactor .92379 .10504 -.15017E-05 .19413E-04 ERR DEF= .500 Final values: Prefactor = 2.21477 Prefactor = 7.61272 Prefactor = 3.60822e-09 Prefactor = 4.93551 Prefactor = 5.08299 Prefactor = 3.8851 Prefactor = 0.792348 Prefactor = 6.32827e-09 Prefactor = 2.45279 Prefactor = 1.30451e-08 Prefactor = 2.21323e-07 Prefactor = 1.99388 Prefactor = 2.5091e-08 norm = 2.75063 norm = 2.51294 Prefactor = 4.12059e-07 norm = 42.2215 norm = 0.818091 Prefactor = 4.76494 Prefactor = 13.0113 norm = 0.311805 Prefactor = 0.510539 Normalizat = 1.22719 Prefactor = 0.923792 ng on... /lscratch/kocevski/18869567/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits.....................! real 57.36 user 56.20 sys 0.65 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18869567/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits', '/lscratch/kocevski/18869567/ft2_4FGL_J1204.8+0407_weekly_bin777.fits', expMap='/lscratch/kocevski/18869567/expmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits', expCube='/lscratch/kocevski/18869567/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18869567/Model_4FGL_J1204.8+0407_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1204.8+0407' 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 3.692e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18869567/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18869567/ft2_4FGL_J1204.8+0407_weekly_bin777.fits Exposure map: /lscratch/kocevski/18869567/expmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18869567/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18869567/Model_4FGL_J1204.8+0407_weekly_bin777.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.2097636 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.1455631 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2153 1.0000 .0000 .10000E+07 2 'Prefactor ' 7.6170 1.0000 .0000 .10000E+07 3 'Prefactor ' .69504E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' 4.9488 1.0000 .0000 .10000E+07 5 'Prefactor ' 5.1000 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.8755 1.0000 .0000 .10000E+07 7 'Prefactor ' .76537 1.0000 .0000 .10000E+07 8 'Prefactor ' .24621E-01 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.8760 1.0000 .0000 .10000E+07 10 'Prefactor ' .22630E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' .29925E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.9946 1.0000 .0000 .10000E+07 13 'Prefactor ' .11003E-04 1.0000 .0000 .10000E+07 14 'norm ' 2.7505 1.0000 .0000 .10000E+07 15 'norm ' 2.5156 1.0000 .0000 .10000E+07 16 'Prefactor ' .48081E-03 1.0000 .0000 .10000E+07 17 'norm ' 42.148 1.0000 .0000 .10000E+07 18 'norm ' .81822 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.7739 1.0000 .0000 .10000E+07 20 'Prefactor ' 13.012 1.0000 .0000 .10000E+07 21 'norm ' .31215 1.0000 .0000 .10000E+07 22 'Prefactor ' .51144 1.0000 .0000 .10000E+07 23 'Normalizat' 1.2273 1.0000 .10000E-01 10.000 24 'Prefactor ' .92351 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21061.15 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1576 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2148 .99430 .38631E-07 .79458E-02 2 Prefactor 7.6127 9.2967 .34206E-05 .13351E-01 3 Prefactor .36082E-08 29.131 -.25079E-05** at limit ** 4 Prefactor 4.9355 3.5772 -.18646E-06 .16006E-02 5 Prefactor 5.0830 3.6894 .20215E-06 .10896E-01 6 Prefactor 3.8851 7.8805 .95307E-06 .19568E-02 7 Prefactor .79235 1.3260 .12694E-05 -.19375E-02 8 Prefactor .63283E-08 56.968 .94075E-05** at limit ** 9 Prefactor 2.4528 3.1651 .12551E-05 -.99385E-02 10 Prefactor .13045E-07 11.329 -.19008E-05** at limit ** 11 Prefactor .22132E-06 5.8979 .40918E-06** at limit ** 12 Prefactor 1.9939 4.6978 -.20254E-06 .27673E-02 13 Prefactor .25091E-07 19.511 -.45082E-05** at limit ** 14 norm 2.7506 1.1733 -.58317E-07 .23528E-01 15 norm 2.5129 1.5571 -.17165E-06 .36067E-02 16 Prefactor .41206E-06 3.1860 .65996E-06** at limit ** 17 norm 42.221 1.0696 -.40854E-07 .11271E-01 18 norm .81809 .26320 .11093E-07 .58681E-02 19 Prefactor 4.7649 3.4764 -.22217E-06 .70497E-02 20 Prefactor 13.011 4.9271 -.20888E-06 -.48509E-02 21 norm .31181 .55881 .11646E-06 .18018E-01 22 Prefactor .51054 6.5981 .16191E-05 -.50148E-04 23 Normalizat 1.2272 .12421 .34474E-05 -.14779E-03 24 Prefactor .92379 .10504 -.15017E-05 .19413E-04 ERR DEF= .500 Final values: Prefactor = 2.21477 Prefactor = 7.61272 Prefactor = 3.60822e-09 Prefactor = 4.93551 Prefactor = 5.08299 Prefactor = 3.8851 Prefactor = 0.792348 Prefactor = 6.32827e-09 Prefactor = 2.45279 Prefactor = 1.30451e-08 Prefactor = 2.21323e-07 Prefactor = 1.99388 Prefactor = 2.5091e-08 norm = 2.75063 norm = 2.51294 Prefactor = 4.12059e-07 norm = 42.2215 norm = 0.818091 Prefactor = 4.76494 Prefactor = 13.0113 norm = 0.311805 Prefactor = 0.510539 Normalizat = 1.22719 Prefactor = 0.923792 ********** ** 18 **HESSE ********** FCN= 21061.15 FROM HESSE STATUS=OK 463 CALLS 2039 TOTAL EDM= .29E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2148 .99908 .69072E-03 -1.5678 2 Prefactor 7.6127 9.6766 .36312E-03 -1.5653 3 Prefactor .36082E-08 29.336 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 4.9355 3.5839 .45186E-03 -1.5664 5 Prefactor 5.0830 3.6733 .44497E-03 -1.5663 6 Prefactor 3.8851 7.9438 .51233E-03 -1.5669 7 Prefactor .79235 8.0328 .55553E-03 -1.5690 8 Prefactor .63283E-08 56.207 .16750E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.4528 33.454 .59909E-03 -1.5677 10 Prefactor .13045E-07 11.608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .22132E-06 8.6322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.9939 4.7148 .73319E-03 -1.5680 13 Prefactor .25091E-07 2.1341 .68293E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.7506 1.2281 .61355E-03 -1.5675 15 norm 2.5129 1.7118 .64389E-03 -1.5676 16 Prefactor .41206E-06 8.3813 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 42.221 23.393 .15405E-03 -1.5578 18 norm .81809 .26888 .51586E-03 -1.5690 19 Prefactor 4.7649 3.4862 .46024E-03 -1.5664 20 Prefactor 13.011 4.9408 .27743E-03 -1.5636 21 norm .31181 .56025 .10047E-03 -1.5697 22 Prefactor .51054 6.3865 .77567E-03 -1.5694 23 Normalizat 1.2272 .10585 .57296E-01 -.85767 24 Prefactor .92379 .90011E-01 .45304E-01 -.95315 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.9002e-06 Minuit parameter uncertainties: 1 0.999082 2 9.67663 3 0.000651644 4 3.58389 5 3.67331 6 7.94383 7 5.04571 8 0.00119195 9 18.1172 10 0.000779013 11 0.00276428 12 4.71481 13 0.000462775 14 1.22815 15 1.71176 16 0.00371683 17 23.3935 18 0.268879 19 3.48616 20 4.94077 21 0.56025 22 3.6114 23 0.105868 24 0.090025 ********** ** 18 **HESSE ********** FCN= 21061.15 FROM HESSE STATUS=OK 463 CALLS 2039 TOTAL EDM= .29E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2148 .99908 .69072E-03 -1.5678 2 Prefactor 7.6127 9.6766 .36312E-03 -1.5653 3 Prefactor .36082E-08 29.336 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 4.9355 3.5839 .45186E-03 -1.5664 5 Prefactor 5.0830 3.6733 .44497E-03 -1.5663 6 Prefactor 3.8851 7.9438 .51233E-03 -1.5669 7 Prefactor .79235 8.0328 .55553E-03 -1.5690 8 Prefactor .63283E-08 56.207 .16750E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.4528 33.454 .59909E-03 -1.5677 10 Prefactor .13045E-07 11.608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .22132E-06 8.6322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.9939 4.7148 .73319E-03 -1.5680 13 Prefactor .25091E-07 2.1341 .68293E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.7506 1.2281 .61355E-03 -1.5675 15 norm 2.5129 1.7118 .64389E-03 -1.5676 16 Prefactor .41206E-06 8.3813 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 42.221 23.393 .15405E-03 -1.5578 18 norm .81809 .26888 .51586E-03 -1.5690 19 Prefactor 4.7649 3.4862 .46024E-03 -1.5664 20 Prefactor 13.011 4.9408 .27743E-03 -1.5636 21 norm .31181 .56025 .10047E-03 -1.5697 22 Prefactor .51054 6.3865 .77567E-03 -1.5694 23 Normalizat 1.2272 .10585 .57296E-01 -.85767 24 Prefactor .92379 .90011E-01 .45304E-01 -.95315 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.9002e-06 Minuit parameter uncertainties: 1 0.999082 2 9.67663 3 0.000651644 4 3.58389 5 3.67331 6 7.94383 7 5.04571 8 0.00119195 9 18.1172 10 0.000779013 11 0.00276428 12 4.71481 13 0.000462775 14 1.22815 15 1.71176 16 0.00371683 17 23.3935 18 0.268879 19 3.48616 20 4.94077 21 0.56025 22 3.6114 23 0.105868 24 0.090025 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.1450083 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.305e-08 7.790e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 611 Prefactor: 9.238e-01 9.003e-02 0.000e+00 1.000e+01 ( 1.000e+00) 612 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 613 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 610 Normalization: 1.227e+00 1.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 181.203 4.120 Photon Flux Upper Limit: 3.7136691875e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00290249672979 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18868888/likelihoodResults_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21061.1448347 delta logL = 0.00017361751452 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21060.9432136 delta logL = 0.20179470841 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .70372E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7609 1.0000 .0000 10.000 3 'Normalizat' 1.2037 1.0000 .10000E-01 10.000 4 'Prefactor ' .93718 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21060.94 FROM MIGRAD STATUS=CONVERGED 62 CALLS 313 TOTAL EDM= .53E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .69052E-01 .38143 .13364E-02** at limit ** 2 Index 5.7727 1.1319 .32190 .35532E-04 3 Normalizat 1.2037 .92685E-02 .57782E-01 .36168E-04 4 Prefactor .93720 .80081E-02 .45477E-01 -.29142E-03 ERR DEF= .500 Final values: Prefactor = 0.069052 Index = 5.77266 Normalizat = 1.20367 Prefactor = 0.937202 ********** ** 18 **HESSE ********** FCN= 21060.94 FROM HESSE STATUS=NOT POSDEF 35 CALLS 348 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .69052E-01 8.5596 .49957E-04 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7727 7.3971 .93500E-02 .15515 3 Normalizat 1.2037 .69405E-01 .25553E-03 -.86489 4 Prefactor .93720 .58319E-01 .24552E-03 -.94853 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.38306e-10 Minuit parameter uncertainties: 1 1.53761 2 11.6692 3 0.0694101 4 0.0583232 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21060.9432073 delta logL = 0.201800999905 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 6.905e-02 1.538e+00 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 5.773e+00 1.167e+01 0.000e+00 1.000e+01 (-1.000e+00) 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 611 Prefactor: 9.372e-01 5.832e-02 0.000e+00 1.000e+01 ( 1.000e+00) 612 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 613 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 610 Normalization: 1.204e+00 6.941e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 181.203 4.120 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18868888/cmap_HighResolution_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-03', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2023-07-10 09:16:09.406607', job_id='18868888', GAL2='0.94', fit_tolerance='1e-08', EG2='1.20', EG='1.23', time_epoch_completed='1689005769.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.02e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='777' AND source_name='4FGL J1204.8+0407' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:16:09 PDT 2023 number of points = 17691 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1204.8+0407_weekly_bin777 RA = 181.203, Dec = 4.12 tmin = 708912001, tmax = 709516801 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='18871322', job_status='RUN', time_executed='2023-07-10 09:12:43.546770', time_epoch_executed='1689005563.55' WHERE source_name='4FGL J1204.8+0407' and cadence='weekly' and bin_id='777' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18871322 Creating custom pfile directory: /lscratch/kocevski/18871322/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18871322/ft1_4FGL_J1204.8+0407_weekly_bin777.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=708912001.0 && nMetStart<709516801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18871322/ft1_4FGL_J1204.8+0407_weekly_bin777.fits outfile=/lscratch/kocevski/18871322/ft1_filteredMKT_4FGL_J1204.8+0407_weekly_bin777.fits ra=181.203 dec=4.12 rad=12.0 tmin=708912001.0 tmax=709516801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 3.36 user 2.83 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/18871322/ft1_filteredMKT_4FGL_J1204.8+0407_weekly_bin777.fits evtable="EVENTS" outfile="/lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.67 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 1948 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits sctable="SC_DATA" outfiDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.1450083 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.305e-08 7.790e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 611 Prefactor: 9.238e-01 9.003e-02 0.000e+00 1.000e+01 ( 1.000e+00) 612 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 613 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 610 Normalization: 1.227e+00 1.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 181.203 4.120 Photon Flux Upper Limit: 3.7136691875e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00290249672979 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18869567/likelihoodResults_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21061.1448347 delta logL = 0.00017361751452 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21060.9432136 delta logL = 0.20179470841 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .70372E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7609 1.0000 .0000 10.000 3 'Normalizat' 1.2037 1.0000 .10000E-01 10.000 4 'Prefactor ' .93718 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21060.94 FROM MIGRAD STATUS=CONVERGED 62 CALLS 313 TOTAL EDM= .53E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .69052E-01 .38143 .13364E-02** at limit ** 2 Index 5.7727 1.1319 .32190 .35532E-04 3 Normalizat 1.2037 .92685E-02 .57782E-01 .36168E-04 4 Prefactor .93720 .80081E-02 .45477E-01 -.29142E-03 ERR DEF= .500 Final values: Prefactor = 0.069052 Index = 5.77266 Normalizat = 1.20367 Prefactor = 0.937202 ********** ** 18 **HESSE ********** FCN= 21060.94 FROM HESSE STATUS=NOT POSDEF 35 CALLS 348 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .69052E-01 8.5596 .49957E-04 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7727 7.3971 .93500E-02 .15515 3 Normalizat 1.2037 .69405E-01 .25553E-03 -.86489 4 Prefactor .93720 .58319E-01 .24552E-03 -.94853 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.38306e-10 Minuit parameter uncertainties: 1 1.53761 2 11.6692 3 0.0694101 4 0.0583232 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21060.9432073 delta logL = 0.201800999905 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 6.905e-02 1.538e+00 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 5.773e+00 1.167e+01 0.000e+00 1.000e+01 (-1.000e+00) 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 611 Prefactor: 9.372e-01 5.832e-02 0.000e+00 1.000e+01 ( 1.000e+00) 612 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 613 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 610 Normalization: 1.204e+00 6.941e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 181.203 4.120 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18869567/cmap_HighResolution_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-03', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2023-07-10 09:16:41.714847', job_id='18869567', GAL2='0.94', fit_tolerance='1e-08', EG2='1.20', EG='1.23', time_epoch_completed='1689005801.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.02e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='777' AND source_name='4FGL J1204.8+0407' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:16:41 PDT 2023 le=/lscratch/kocevski/18871322/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits .....................! real 17.89 user 17.32 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18871322/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits outfile=/lscratch/kocevski/18871322/expmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/18871322/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits .....................! real 65.85 user 61.43 sys 3.80 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 192 point sources and 0 extended sources Setting source of interest to: 4FGL J1204.8+0407 @ 181.203 4.12 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits scfile=/lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits outfile=/lscratch/kocevski/18871322/cmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=181.203 yref=4.12 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.60 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits scfile=/lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits outfile=/lscratch/kocevski/18871322/cmap_HighResolution_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=181.203 yref=4.12 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.57 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits evtable="EVENTS" scfile=/lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18871322/Model_4FGL_J1204.8+0407_weekly_bin777.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits.....................! real 63.65 user 62.20 sys 0.88 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits', '/lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits', expMap='/lscratch/kocevski/18871322/expmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits', expCube='/lscratch/kocevski/18871322/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18871322/Model_4FGL_J1204.8+0407_weekly_bin777.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1204.8+0407' 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 3.692e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18871322/ft1_filtered_4FGL_J1204.8+0407_weekly_bin777.fits Spacecraft file(s): /lscratch/kocevski/18871322/ft2_4FGL_J1204.8+0407_weekly_bin777.fits Exposure map: /lscratch/kocevski/18871322/expmap_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits Exposure cube: /lscratch/kocevski/18871322/ltcube_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18871322/Model_4FGL_J1204.8+0407_weekly_bin777.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.2097636 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.1455631 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2153 1.0000 .0000 .10000E+07 2 'Prefactor ' 7.6170 1.0000 .0000 .10000E+07 3 'Prefactor ' .69504E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' 4.9488 1.0000 .0000 .10000E+07 5 'Prefactor ' 5.1000 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.8755 1.0000 .0000 .10000E+07 7 'Prefactor ' .76537 1.0000 .0000 .10000E+07 8 'Prefactor ' .24621E-01 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.8760 1.0000 .0000 .10000E+07 10 'Prefactor ' .22630E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' .29925E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.9946 1.0000 .0000 .10000E+07 13 'Prefactor ' .11003E-04 1.0000 .0000 .10000E+07 14 'norm ' 2.7505 1.0000 .0000 .10000E+07 15 'norm ' 2.5156 1.0000 .0000 .10000E+07 16 'Prefactor ' .48081E-03 1.0000 .0000 .10000E+07 17 'norm ' 42.148 1.0000 .0000 .10000E+07 18 'norm ' .81822 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.7739 1.0000 .0000 .10000E+07 20 'Prefactor ' 13.012 1.0000 .0000 .10000E+07 21 'norm ' .31215 1.0000 .0000 .10000E+07 22 'Prefactor ' .51144 1.0000 .0000 .10000E+07 23 'Normalizat' 1.2273 1.0000 .10000E-01 10.000 24 'Prefactor ' .92351 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21061.15 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1576 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2148 .99430 .38631E-07 .79458E-02 2 Prefactor 7.6127 9.2967 .34206E-05 .13351E-01 3 Prefactor .36082E-08 29.131 -.25079E-05** at limit ** 4 Prefactor 4.9355 3.5772 -.18646E-06 .16006E-02 5 Prefactor 5.0830 3.6894 .20215E-06 .10896E-01 6 Prefactor 3.8851 7.8805 .95307E-06 .19568E-02 7 Prefactor .79235 1.3260 .12694E-05 -.19375E-02 8 Prefactor .63283E-08 56.968 .94075E-05** at limit ** 9 Prefactor 2.4528 3.1651 .12551E-05 -.99385E-02 10 Prefactor .13045E-07 11.329 -.19008E-05** at limit ** 11 Prefactor .22132E-06 5.8979 .40918E-06** at limit ** 12 Prefactor 1.9939 4.6978 -.20254E-06 .27673E-02 13 Prefactor .25091E-07 19.511 -.45082E-05** at limit ** 14 norm 2.7506 1.1733 -.58317E-07 .23528E-01 15 norm 2.5129 1.5571 -.17165E-06 .36067E-02 16 Prefactor .41206E-06 3.1860 .65996E-06** at limit ** 17 norm 42.221 1.0696 -.40854E-07 .11271E-01 18 norm .81809 .26320 .11093E-07 .58681E-02 19 Prefactor 4.7649 3.4764 -.22217E-06 .70497E-02 20 Prefactor 13.011 4.9271 -.20888E-06 -.48509E-02 21 norm .31181 .55881 .11646E-06 .18018E-01 22 Prefactor .51054 6.5981 .16191E-05 -.50148E-04 23 Normalizat 1.2272 .12421 .34474E-05 -.14779E-03 24 Prefactor .92379 .10504 -.15017E-05 .19413E-04 ERR DEF= .500 Final values: Prefactor = 2.21477 Prefactor = 7.61272 Prefactor = 3.60822e-09 Prefactor = 4.93551 Prefactor = 5.08299 Prefactor = 3.8851 Prefactor = 0.792348 Prefactor = 6.32827e-09 Prefactor = 2.45279 Prefactor = 1.30451e-08 Prefactor = 2.21323e-07 Prefactor = 1.99388 Prefactor = 2.5091e-08 norm = 2.75063 norm = 2.51294 Prefactor = 4.12059e-07 norm = 42.2215 norm = 0.818091 Prefactor = 4.76494 Prefactor = 13.0113 norm = 0.311805 Prefactor = 0.510539 Normalizat = 1.22719 Prefactor = 0.923792 ********** ** 18 **HESSE ********** FCN= 21061.15 FROM HESSE STATUS=OK 463 CALLS 2039 TOTAL EDM= .29E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2148 .99908 .69072E-03 -1.5678 2 Prefactor 7.6127 9.6766 .36312E-03 -1.5653 3 Prefactor .36082E-08 29.336 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 4.9355 3.5839 .45186E-03 -1.5664 5 Prefactor 5.0830 3.6733 .44497E-03 -1.5663 6 Prefactor 3.8851 7.9438 .51233E-03 -1.5669 7 Prefactor .79235 8.0328 .55553E-03 -1.5690 8 Prefactor .63283E-08 56.207 .16750E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.4528 33.454 .59909E-03 -1.5677 10 Prefactor .13045E-07 11.608 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .22132E-06 8.6322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.9939 4.7148 .73319E-03 -1.5680 13 Prefactor .25091E-07 2.1341 .68293E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.7506 1.2281 .61355E-03 -1.5675 15 norm 2.5129 1.7118 .64389E-03 -1.5676 16 Prefactor .41206E-06 8.3813 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 42.221 23.393 .15405E-03 -1.5578 18 norm .81809 .26888 .51586E-03 -1.5690 19 Prefactor 4.7649 3.4862 .46024E-03 -1.5664 20 Prefactor 13.011 4.9408 .27743E-03 -1.5636 21 norm .31181 .56025 .10047E-03 -1.5697 22 Prefactor .51054 6.3865 .77567E-03 -1.5694 23 Normalizat 1.2272 .10585 .57296E-01 -.85767 24 Prefactor .92379 .90011E-01 .45304E-01 -.95315 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.9002e-06 Minuit parameter uncertainties: 1 0.999082 2 9.67663 3 0.000651644 4 3.58389 5 3.67331 6 7.94383 7 5.04571 8 0.00119195 9 18.1172 10 0.000779013 11 0.00276428 12 4.71481 13 0.000462775 14 1.22815 15 1.71176 16 0.00371683 17 23.3935 18 0.268879 19 3.48616 20 4.94077 21 0.56025 22 3.6114 23 0.105868 24 0.090025 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21061.1450083 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.305e-08 7.790e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 611 Prefactor: 9.238e-01 9.003e-02 0.000e+00 1.000e+01 ( 1.000e+00) 612 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 613 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 610 Normalization: 1.227e+00 1.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 181.203 4.120 Photon Flux Upper Limit: 3.7136691875e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00290249672979 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18871322/likelihoodResults_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21061.1448347 delta logL = 0.00017361751452 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21060.9432136 delta logL = 0.20179470841 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .70372E-01 1.0000 .0000 .10000E+07 2 'Index ' 5.7609 1.0000 .0000 10.000 3 'Normalizat' 1.2037 1.0000 .10000E-01 10.000 4 'Prefactor ' .93718 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21060.94 FROM MIGRAD STATUS=CONVERGED 62 CALLS 313 TOTAL EDM= .53E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .69052E-01 .38143 .13364E-02** at limit ** 2 Index 5.7727 1.1319 .32190 .35532E-04 3 Normalizat 1.2037 .92685E-02 .57782E-01 .36168E-04 4 Prefactor .93720 .80081E-02 .45477E-01 -.29142E-03 ERR DEF= .500 Final values: Prefactor = 0.069052 Index = 5.77266 Normalizat = 1.20367 Prefactor = 0.937202 ********** ** 18 **HESSE ********** FCN= 21060.94 FROM HESSE STATUS=NOT POSDEF 35 CALLS 348 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .69052E-01 8.5596 .49957E-04 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.7727 7.3971 .93500E-02 .15515 3 Normalizat 1.2037 .69405E-01 .25553E-03 -.86489 4 Prefactor .93720 .58319E-01 .24552E-03 -.94853 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.38306e-10 Minuit parameter uncertainties: 1 1.53761 2 11.6692 3 0.0694101 4 0.0583232 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21060.9432073 delta logL = 0.201800999905 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 6.905e-02 1.538e+00 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 5.773e+00 1.167e+01 0.000e+00 1.000e+01 (-1.000e+00) 318 Scale: 7.480e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 611 Prefactor: 9.372e-01 5.832e-02 0.000e+00 1.000e+01 ( 1.000e+00) 612 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 613 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 610 Normalization: 1.204e+00 6.941e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 181.203 4.120 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18871322/cmap_HighResolution_708912001_709516801_4FGL_J1204.8+0407_weekly_bin777.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-03', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2023-07-10 09:25:39.350939', job_id='18871322', GAL2='0.94', fit_tolerance='1e-08', EG2='1.20', EG='1.23', time_epoch_completed='1689006339.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.02e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='777' AND source_name='4FGL J1204.8+0407' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:25:39 PDT 2023