.. /lscratch/kocevski/33198688/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits.....................! real 20.78 user 19.27 sys 0.98 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33198688/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits', '/lscratch/kocevski/33198688/ft2_4FGL_J1204.8+0407_daily_bin2188.fits', expMap='/lscratch/kocevski/33198688/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', expCube='/lscratch/kocevski/33198688/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33198688/Model_4FGL_J1204.8+0407_daily_bin2188.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/33198688/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits Spacecraft file(s): /lscratch/kocevski/33198688/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Exposure map: /lscratch/kocevski/33198688/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits Exposure cube: /lscratch/kocevski/33198688/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33198688/Model_4FGL_J1204.8+0407_daily_bin2188.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) = 5767.43304527 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39290687 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.0777 1.0000 .0000 .10000E+07 2 'Prefactor ' .80325E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .14743 1.0000 .0000 .10000E+07 4 'Prefactor ' .62281E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .37884E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .23585E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 6.3942 1.0000 .0000 .10000E+07 8 'Prefactor ' .49376E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .67230E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .97514E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .79146E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .15289E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' 9.1166 1.0000 .0000 .10000E+07 14 'norm ' .76050E-08 1.0000 .0000 .10000E+07 15 'norm ' 1.8177 1.0000 .0000 .10000E+07 16 'Prefactor ' .71334E-04 1.0000 .0000 .10000E+07 17 'norm ' .78079E-03 1.0000 .0000 .10000E+07 18 'norm ' 6.8846 1.0000 .0000 .10000E+07 19 'Prefactor ' 7.2907 1.0000 .0000 .10000E+07 20 'Prefactor ' .20730E-03 1.0000 .0000 .10000E+07 21 'norm ' 3.9640 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.5829 1.0000 .0000 .10000E+07 23 'Normalizat' .88054 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1914 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 173 CALLS 1574 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.0780 1.9970 .23177E-07 .20495E-02 2 Prefactor .13423E-06 15.615 -.54642E-07** at limit ** 3 Prefactor .55511E-10 48.848 -.18722E-06** at limit ** 4 Prefactor .48022E-05 9.3925 .63715E-08** at limit ** 5 Prefactor .11102E-09 4.1338 -.49679E-07** at limit ** 6 Prefactor .72164E-09 6.9213 .70074E-08** at limit ** 7 Prefactor 6.3246 13.534 -.11579E-06 .75940E-01 8 Prefactor .23278E-05 9.0980 .78137E-07** at limit ** 9 Prefactor .39296E-06 9.1995 .17666E-06** at limit ** 10 Prefactor .15806E-05 15.636 .34717E-06** at limit ** 11 Prefactor .14655E-07 16.086 -.42681E-07** at limit ** 12 Prefactor .10081E-05 122.27 .36929E-06** at limit ** 13 Prefactor 9.1154 10.073 .75747E-08 -.28869E-03 14 norm .0000 1.0294 .16327E-07** at limit ** 15 norm 1.8633 5.5883 .39642E-07 -.18067E-03 16 Prefactor .12777E-04 28.163 .36580E-07** at limit ** 17 norm .86710E-05 24.072 -.17691E-07** at limit ** 18 norm 6.8810 1.1542 -.32995E-09 -.10910E-01 19 Prefactor 7.2667 10.112 .95952E-07 .71410E-02 20 Prefactor .0000 3.8125 -.85774E-08** at limit ** 21 norm 3.9629 2.1026 -.28918E-07 -.98599E-02 22 Prefactor 3.5406 5.1151 .88550E-07 .32654E-02 23 Normalizat .88041 .25194 -.13893E-05 -.38379E-03 24 Prefactor 1.1916 .21142 -.10322E-05 -.50741E-03 ERR DEF= .500 Final values: Prefactor = 2.07802 Prefactor = 1.34226e-07 Prefactor = 5.55112e-11 Prefactor = 4.80221e-06 Prefactor = 1.11022e-10 Prefactor = 7.21645e-10 Prefactor = 6.32462 Prefactor = 2.3278e-06 Prefactor = 3.92963e-07 Prefactor = 1.58057e-06 Prefactor = 1.46549e-08 Prefactor = 1.00814e-06 Prefactor = 9.1154 norm = 0 norm = 1.86326 Prefactor = 1.27769e-05 norm = 8.67101e-06 norm = 6.88102 Prefactor = 7.26672 Prefactor = 0 norm = 3.96293 Prefactor = 3.54062 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=OK 439 CALLS 2013 TOTAL EDM= .10E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.0780 1.9975 .71621E-03 -1.5679 2 Prefactor .13423E-06 15.816 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 48.803 .12798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .48022E-05 35.706 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11102E-09 4.1314 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .72164E-09 6.9177 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.3246 16.850 .39669E-03 -1.5658 8 Prefactor .23278E-05 24.903 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .39296E-06 23.079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .15806E-05 20.603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .14655E-07 29.005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10081E-05 123.23 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 9.1154 10.080 .33170E-03 -1.5648 14 norm .0000 1.0264 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.8633 5.7494 .77434E-03 -1.5681 16 Prefactor .12777E-04 52.198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .86710E-05 46.928 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 6.8810 1.1823 .38214E-04 -1.5655 19 Prefactor 7.2667 10.133 .37123E-03 -1.5654 20 Prefactor .0000 3.8104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.9629 2.1062 .50638E-03 -1.5668 22 Prefactor 3.5406 5.1144 .53364E-03 -1.5670 23 Normalizat .88041 .21500 .71900E-01 -.97152 24 Prefactor 1.1916 .17875 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03675e-06 Minuit parameter uncertainties: 1 1.99747 2 0.00291398 3 9.83011e-05 4 0.0261895 5 4.32017e-05 6 0.000141322 7 16.8498 8 0.0152275 9 0.00602307 10 0.0114131 11 0.00130388 12 0.0222919 13 10.0802 14 4.45695e-06 15 5.74939 16 0.0516502 17 0.0403444 18 1.18231 19 10.1335 20 9.32223e-06 21 2.10625 22 5.11436 23 0.215213 24 0.178843 /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) /lscratch/kocevski/33198982/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33198982/ft2_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 9.15 user 8.56 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/33198982/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33198982/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33198982/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33198982/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33198982/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 69.12 user 64.72 sys 3.73 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/33198982/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33198982/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33198982/cmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.75 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/33198982/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33198982/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33198982/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.77 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/33198982/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33198982/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33198982/Model_4FGL_J1204.8+0407_daily_bin2188.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 WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). n... /lscratch/kocevski/33198466/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits.....................! real 20.99 user 19.89 sys 0.57 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33198466/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits', '/lscratch/kocevski/33198466/ft2_4FGL_J1204.8+0407_daily_bin2188.fits', expMap='/lscratch/kocevski/33198466/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', expCube='/lscratch/kocevski/33198466/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33198466/Model_4FGL_J1204.8+0407_daily_bin2188.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/33198466/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits Spacecraft file(s): /lscratch/kocevski/33198466/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Exposure map: /lscratch/kocevski/33198466/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits Exposure cube: /lscratch/kocevski/33198466/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33198466/Model_4FGL_J1204.8+0407_daily_bin2188.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) = 5767.43304527 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39290687 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.0777 1.0000 .0000 .10000E+07 2 'Prefactor ' .80325E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .14743 1.0000 .0000 .10000E+07 4 'Prefactor ' .62281E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .37884E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .23585E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 6.3942 1.0000 .0000 .10000E+07 8 'Prefactor ' .49376E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .67230E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .97514E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .79146E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .15289E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' 9.1166 1.0000 .0000 .10000E+07 14 'norm ' .76050E-08 1.0000 .0000 .10000E+07 15 'norm ' 1.8177 1.0000 .0000 .10000E+07 16 'Prefactor ' .71334E-04 1.0000 .0000 .10000E+07 17 'norm ' .78079E-03 1.0000 .0000 .10000E+07 18 'norm ' 6.8846 1.0000 .0000 .10000E+07 19 'Prefactor ' 7.2907 1.0000 .0000 .10000E+07 20 'Prefactor ' .20730E-03 1.0000 .0000 .10000E+07 21 'norm ' 3.9640 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.5829 1.0000 .0000 .10000E+07 23 'Normalizat' .88054 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1914 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 173 CALLS 1574 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.0780 1.9970 .23177E-07 .20495E-02 2 Prefactor .13423E-06 15.615 -.54642E-07** at limit ** 3 Prefactor .55511E-10 48.848 -.18722E-06** at limit ** 4 Prefactor .48022E-05 9.3925 .63715E-08** at limit ** 5 Prefactor .11102E-09 4.1338 -.49679E-07** at limit ** 6 Prefactor .72164E-09 6.9213 .70074E-08** at limit ** 7 Prefactor 6.3246 13.534 -.11579E-06 .75940E-01 8 Prefactor .23278E-05 9.0980 .78137E-07** at limit ** 9 Prefactor .39296E-06 9.1995 .17666E-06** at limit ** 10 Prefactor .15806E-05 15.636 .34717E-06** at limit ** 11 Prefactor .14655E-07 16.086 -.42681E-07** at limit ** 12 Prefactor .10081E-05 122.27 .36929E-06** at limit ** 13 Prefactor 9.1154 10.073 .75747E-08 -.28869E-03 14 norm .0000 1.0294 .16327E-07** at limit ** 15 norm 1.8633 5.5883 .39642E-07 -.18067E-03 16 Prefactor .12777E-04 28.163 .36580E-07** at limit ** 17 norm .86710E-05 24.072 -.17691E-07** at limit ** 18 norm 6.8810 1.1542 -.32995E-09 -.10910E-01 19 Prefactor 7.2667 10.112 .95952E-07 .71410E-02 20 Prefactor .0000 3.8125 -.85774E-08** at limit ** 21 norm 3.9629 2.1026 -.28918E-07 -.98599E-02 22 Prefactor 3.5406 5.1151 .88550E-07 .32654E-02 23 Normalizat .88041 .25194 -.13893E-05 -.38379E-03 24 Prefactor 1.1916 .21142 -.10322E-05 -.50741E-03 ERR DEF= .500 Final values: Prefactor = 2.07802 Prefactor = 1.34226e-07 Prefactor = 5.55112e-11 Prefactor = 4.80221e-06 Prefactor = 1.11022e-10 Prefactor = 7.21645e-10 Prefactor = 6.32462 Prefactor = 2.3278e-06 Prefactor = 3.92963e-07 Prefactor = 1.58057e-06 Prefactor = 1.46549e-08 Prefactor = 1.00814e-06 Prefactor = 9.1154 norm = 0 norm = 1.86326 Prefactor = 1.27769e-05 norm = 8.67101e-06 norm = 6.88102 Prefactor = 7.26672 Prefactor = 0 norm = 3.96293 Prefactor = 3.54062 Normalizat = 0.88041 Prefactor = 1.19156 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39061015 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.581e-06 1.141e-02 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: 1.192e+00 1.788e-01 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: 8.804e-01 2.152e-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: 8.64344839454e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00675546997663 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33198688/likelihoodResults_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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): 0 logL (Free Index) = 5767.41390598 delta logL = -0.0232958269116 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5767.39061084 delta logL = -6.86168277753e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24690E-05 1.0000 .0000 .10000E+07 2 'Index ' .88055 1.0000 .0000 10.000 3 'Normalizat' .88022 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1917 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 35 CALLS 194 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .26534E-07 19.779 .60021E-05** at limit ** 2 Index 2.7450 6.0834 -.26354E-03 .97926E-09 3 Normalizat .88041 .24262 .26331E-04 -.37190E-03 4 Prefactor 1.1916 .20923 -.21454E-04 -.47165E-03 ERR DEF= .500 Final values: Prefactor = 2.65343e-08 Index = 2.74498 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=NOT POSDEF 37 CALLS 231 TOTAL EDM= .16E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .26534E-07 2.8954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7450 6.7065 .44757 -.46789 3 Normalizat .88041 .20673E-02 .71900E-01 -.97152 4 Prefactor 1.1916 .17848E-02 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.56288e-10 Minuit parameter uncertainties: 1 0.000554174 2 7006.72 3 0.00206731 4 0.00178483 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) = 5767.39061011 delta logL = 3.76885509468e-08 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 2.653e-08 5.542e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.745e+00 7.007e+03 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: 1.192e+00 1.785e-03 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: 8.804e-01 2.067e-03 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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/33198688/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2026-07-26 11:22:26.438629', job_id='33198688', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1785090146.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2188' AND source_name='4FGL J1204.8+0407' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Jul 26 11:22:26 PDT 2026 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=OK 439 CALLS 2013 TOTAL EDM= .10E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.0780 1.9975 .71621E-03 -1.5679 2 Prefactor .13423E-06 15.816 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 48.803 .12798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .48022E-05 35.706 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11102E-09 4.1314 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .72164E-09 6.9177 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.3246 16.850 .39669E-03 -1.5658 8 Prefactor .23278E-05 24.903 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .39296E-06 23.079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .15806E-05 20.603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .14655E-07 29.005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10081E-05 123.23 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 9.1154 10.080 .33170E-03 -1.5648 14 norm .0000 1.0264 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.8633 5.7494 .77434E-03 -1.5681 16 Prefactor .12777E-04 52.198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .86710E-05 46.928 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 6.8810 1.1823 .38214E-04 -1.5655 19 Prefactor 7.2667 10.133 .37123E-03 -1.5654 20 Prefactor .0000 3.8104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.9629 2.1062 .50638E-03 -1.5668 22 Prefactor 3.5406 5.1144 .53364E-03 -1.5670 23 Normalizat .88041 .21500 .71900E-01 -.97152 24 Prefactor 1.1916 .17875 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03675e-06 Minuit parameter uncertainties: 1 1.99747 2 0.00291398 3 9.83011e-05 4 0.0261895 5 4.32017e-05 6 0.000141322 7 16.8498 8 0.0152275 9 0.00602307 10 0.0114131 11 0.00130388 12 0.0222919 13 10.0802 14 4.45695e-06 15 5.74939 16 0.0516502 17 0.0403444 18 1.18231 19 10.1335 20 9.32223e-06 21 2.10625 22 5.11436 23 0.215213 24 0.178843 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39061015 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.581e-06 1.141e-02 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: 1.192e+00 1.788e-01 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: 8.804e-01 2.152e-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: 8.64344839454e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00675546997663 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33198466/likelihoodResults_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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): 0 logL (Free Index) = 5767.41390598 delta logL = -0.0232958269116 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5767.39061084 delta logL = -6.86168277753e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24690E-05 1.0000 .0000 .10000E+07 2 'Index ' .88055 1.0000 .0000 10.000 3 'Normalizat' .88022 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1917 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 35 CALLS 194 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .26534E-07 19.779 .60021E-05** at limit ** 2 Index 2.7450 6.0834 -.26354E-03 .97926E-09 3 Normalizat .88041 .24262 .26331E-04 -.37190E-03 4 Prefactor 1.1916 .20923 -.21454E-04 -.47165E-03 ERR DEF= .500 Final values: Prefactor = 2.65343e-08 Index = 2.74498 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=NOT POSDEF 37 CALLS 231 TOTAL EDM= .16E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .26534E-07 2.8954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7450 6.7065 .44757 -.46789 3 Normalizat .88041 .20673E-02 .71900E-01 -.97152 4 Prefactor 1.1916 .17848E-02 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.56288e-10 Minuit parameter uncertainties: 1 0.000554174 2 7006.72 3 0.00206731 4 0.00178483 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) = 5767.39061011 delta logL = 3.76885509468e-08 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 2.653e-08 5.542e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.745e+00 7.007e+03 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: 1.192e+00 1.785e-03 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: 8.804e-01 2.067e-03 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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/33198466/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2026-07-26 11:22:58.896537', job_id='33198466', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1785090178.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2188' AND source_name='4FGL J1204.8+0407' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Jul 26 11:22:59 PDT 2026 ... /lscratch/kocevski/33198982/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits.....................! real 22.20 user 20.53 sys 1.10 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33198982/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits', '/lscratch/kocevski/33198982/ft2_4FGL_J1204.8+0407_daily_bin2188.fits', expMap='/lscratch/kocevski/33198982/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', expCube='/lscratch/kocevski/33198982/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33198982/Model_4FGL_J1204.8+0407_daily_bin2188.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/33198982/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits Spacecraft file(s): /lscratch/kocevski/33198982/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Exposure map: /lscratch/kocevski/33198982/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits Exposure cube: /lscratch/kocevski/33198982/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33198982/Model_4FGL_J1204.8+0407_daily_bin2188.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) = 5767.43304527 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39290687 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.0777 1.0000 .0000 .10000E+07 2 'Prefactor ' .80325E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .14743 1.0000 .0000 .10000E+07 4 'Prefactor ' .62281E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .37884E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .23585E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 6.3942 1.0000 .0000 .10000E+07 8 'Prefactor ' .49376E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .67230E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .97514E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .79146E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .15289E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' 9.1166 1.0000 .0000 .10000E+07 14 'norm ' .76050E-08 1.0000 .0000 .10000E+07 15 'norm ' 1.8177 1.0000 .0000 .10000E+07 16 'Prefactor ' .71334E-04 1.0000 .0000 .10000E+07 17 'norm ' .78079E-03 1.0000 .0000 .10000E+07 18 'norm ' 6.8846 1.0000 .0000 .10000E+07 19 'Prefactor ' 7.2907 1.0000 .0000 .10000E+07 20 'Prefactor ' .20730E-03 1.0000 .0000 .10000E+07 21 'norm ' 3.9640 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.5829 1.0000 .0000 .10000E+07 23 'Normalizat' .88054 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1914 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 173 CALLS 1574 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.0780 1.9970 .23177E-07 .20495E-02 2 Prefactor .13423E-06 15.615 -.54642E-07** at limit ** 3 Prefactor .55511E-10 48.848 -.18722E-06** at limit ** 4 Prefactor .48022E-05 9.3925 .63715E-08** at limit ** 5 Prefactor .11102E-09 4.1338 -.49679E-07** at limit ** 6 Prefactor .72164E-09 6.9213 .70074E-08** at limit ** 7 Prefactor 6.3246 13.534 -.11579E-06 .75940E-01 8 Prefactor .23278E-05 9.0980 .78137E-07** at limit ** 9 Prefactor .39296E-06 9.1995 .17666E-06** at limit ** 10 Prefactor .15806E-05 15.636 .34717E-06** at limit ** 11 Prefactor .14655E-07 16.086 -.42681E-07** at limit ** 12 Prefactor .10081E-05 122.27 .36929E-06** at limit ** 13 Prefactor 9.1154 10.073 .75747E-08 -.28869E-03 14 norm .0000 1.0294 .16327E-07** at limit ** 15 norm 1.8633 5.5883 .39642E-07 -.18067E-03 16 Prefactor .12777E-04 28.163 .36580E-07** at limit ** 17 norm .86710E-05 24.072 -.17691E-07** at limit ** 18 norm 6.8810 1.1542 -.32995E-09 -.10910E-01 19 Prefactor 7.2667 10.112 .95952E-07 .71410E-02 20 Prefactor .0000 3.8125 -.85774E-08** at limit ** 21 norm 3.9629 2.1026 -.28918E-07 -.98599E-02 22 Prefactor 3.5406 5.1151 .88550E-07 .32654E-02 23 Normalizat .88041 .25194 -.13893E-05 -.38379E-03 24 Prefactor 1.1916 .21142 -.10322E-05 -.50741E-03 ERR DEF= .500 Final values: Prefactor = 2.07802 Prefactor = 1.34226e-07 Prefactor = 5.55112e-11 Prefactor = 4.80221e-06 Prefactor = 1.11022e-10 Prefactor = 7.21645e-10 Prefactor = 6.32462 Prefactor = 2.3278e-06 Prefactor = 3.92963e-07 Prefactor = 1.58057e-06 Prefactor = 1.46549e-08 Prefactor = 1.00814e-06 Prefactor = 9.1154 norm = 0 norm = 1.86326 Prefactor = 1.27769e-05 norm = 8.67101e-06 norm = 6.88102 Prefactor = 7.26672 Prefactor = 0 norm = 3.96293 Prefactor = 3.54062 Normalizat = 0.88041 Prefactor = 1.19156 number of points = 7562 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1204.8+0407_daily_bin2188 RA = 181.203, Dec = 4.12 tmin = 806457601, tmax = 806716801 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='33199632', job_status='RUN', time_executed='2026-07-26 11:21:05.366464', time_epoch_executed='1785090065.37' WHERE source_name='4FGL J1204.8+0407' and cadence='daily' and bin_id='2188' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/33199632 Creating custom pfile directory: /lscratch/kocevski/33199632/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/33199632/ft1_4FGL_J1204.8+0407_daily_bin2188.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/33199632/ft1_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199632/ft1_filteredMKT_4FGL_J1204.8+0407_daily_bin2188.fits ra=181.203 dec=4.12 rad=12.0 tmin=806457601.0 tmax=806716801.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.00 user 2.36 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.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/33199632/ft1_filteredMKT_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.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.73 user 0.19 sys 0.12 Number of photons that the gtmktime cut: 531 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" outfile= ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=OK 439 CALLS 2013 TOTAL EDM= .10E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.0780 1.9975 .71621E-03 -1.5679 2 Prefactor .13423E-06 15.816 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 48.803 .12798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .48022E-05 35.706 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11102E-09 4.1314 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .72164E-09 6.9177 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.3246 16.850 .39669E-03 -1.5658 8 Prefactor .23278E-05 24.903 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .39296E-06 23.079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .15806E-05 20.603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .14655E-07 29.005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10081E-05 123.23 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 9.1154 10.080 .33170E-03 -1.5648 14 norm .0000 1.0264 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.8633 5.7494 .77434E-03 -1.5681 16 Prefactor .12777E-04 52.198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .86710E-05 46.928 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 6.8810 1.1823 .38214E-04 -1.5655 19 Prefactor 7.2667 10.133 .37123E-03 -1.5654 20 Prefactor .0000 3.8104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.9629 2.1062 .50638E-03 -1.5668 22 Prefactor 3.5406 5.1144 .53364E-03 -1.5670 23 Normalizat .88041 .21500 .71900E-01 -.97152 24 Prefactor 1.1916 .17875 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03675e-06 Minuit parameter uncertainties: 1 1.99747 2 0.00291398 3 9.83011e-05 4 0.0261895 5 4.32017e-05 6 0.000141322 7 16.8498 8 0.0152275 9 0.00602307 10 0.0114131 11 0.00130388 12 0.0222919 13 10.0802 14 4.45695e-06 15 5.74939 16 0.0516502 17 0.0403444 18 1.18231 19 10.1335 20 9.32223e-06 21 2.10625 22 5.11436 23 0.215213 24 0.178843 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39061015 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.581e-06 1.141e-02 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: 1.192e+00 1.788e-01 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: 8.804e-01 2.152e-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: 8.64344839454e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00675546997663 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33198982/likelihoodResults_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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): 0 logL (Free Index) = 5767.41390598 delta logL = -0.0232958269116 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5767.39061084 delta logL = -6.86168277753e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24690E-05 1.0000 .0000 .10000E+07 2 'Index ' .88055 1.0000 .0000 10.000 3 'Normalizat' .88022 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1917 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 35 CALLS 194 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .26534E-07 19.779 .60021E-05** at limit ** 2 Index 2.7450 6.0834 -.26354E-03 .97926E-09 3 Normalizat .88041 .24262 .26331E-04 -.37190E-03 4 Prefactor 1.1916 .20923 -.21454E-04 -.47165E-03 ERR DEF= .500 Final values: Prefactor = 2.65343e-08 Index = 2.74498 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=NOT POSDEF 37 CALLS 231 TOTAL EDM= .16E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .26534E-07 2.8954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7450 6.7065 .44757 -.46789 3 Normalizat .88041 .20673E-02 .71900E-01 -.97152 4 Prefactor 1.1916 .17848E-02 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.56288e-10 Minuit parameter uncertainties: 1 0.000554174 2 7006.72 3 0.00206731 4 0.00178483 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) = 5767.39061011 delta logL = 3.76885509468e-08 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 2.653e-08 5.542e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.745e+00 7.007e+03 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: 1.192e+00 1.785e-03 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: 8.804e-01 2.067e-03 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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/33198982/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2026-07-26 11:24:17.867181', job_id='33198982', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1785090257.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2188' AND source_name='4FGL J1204.8+0407' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Jul 26 11:24:18 PDT 2026 /lscratch/kocevski/33199632/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 7.62 user 6.95 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33199632/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199632/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33199632/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 60.34 user 56.24 sys 3.38 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/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199632/cmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.70 user 0.20 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199632/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.72 user 0.19 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33199632/Model_4FGL_J1204.8+0407_daily_bin2188.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/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits.....................! real 18.79 user 17.36 sys 0.79 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits', '/lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits', expMap='/lscratch/kocevski/33199632/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', expCube='/lscratch/kocevski/33199632/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33199632/Model_4FGL_J1204.8+0407_daily_bin2188.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/33199632/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits Spacecraft file(s): /lscratch/kocevski/33199632/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Exposure map: /lscratch/kocevski/33199632/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits Exposure cube: /lscratch/kocevski/33199632/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33199632/Model_4FGL_J1204.8+0407_daily_bin2188.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) = 5767.43304527 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39290687 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.0777 1.0000 .0000 .10000E+07 2 'Prefactor ' .80325E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .14743 1.0000 .0000 .10000E+07 4 'Prefactor ' .62281E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .37884E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .23585E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 6.3942 1.0000 .0000 .10000E+07 8 'Prefactor ' .49376E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .67230E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .97514E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .79146E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .15289E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' 9.1166 1.0000 .0000 .10000E+07 14 'norm ' .76050E-08 1.0000 .0000 .10000E+07 15 'norm ' 1.8177 1.0000 .0000 .10000E+07 16 'Prefactor ' .71334E-04 1.0000 .0000 .10000E+07 17 'norm ' .78079E-03 1.0000 .0000 .10000E+07 18 'norm ' 6.8846 1.0000 .0000 .10000E+07 19 'Prefactor ' 7.2907 1.0000 .0000 .10000E+07 20 'Prefactor ' .20730E-03 1.0000 .0000 .10000E+07 21 'norm ' 3.9640 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.5829 1.0000 .0000 .10000E+07 23 'Normalizat' .88054 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1914 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 173 CALLS 1574 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.0780 1.9970 .23177E-07 .20495E-02 2 Prefactor .13423E-06 15.615 -.54642E-07** at limit ** 3 Prefactor .55511E-10 48.848 -.18722E-06** at limit ** 4 Prefactor .48022E-05 9.3925 .63715E-08** at limit ** 5 Prefactor .11102E-09 4.1338 -.49679E-07** at limit ** 6 Prefactor .72164E-09 6.9213 .70074E-08** at limit ** 7 Prefactor 6.3246 13.534 -.11579E-06 .75940E-01 8 Prefactor .23278E-05 9.0980 .78137E-07** at limit ** 9 Prefactor .39296E-06 9.1995 .17666E-06** at limit ** 10 Prefactor .15806E-05 15.636 .34717E-06** at limit ** 11 Prefactor .14655E-07 16.086 -.42681E-07** at limit ** 12 Prefactor .10081E-05 122.27 .36929E-06** at limit ** 13 Prefactor 9.1154 10.073 .75747E-08 -.28869E-03 14 norm .0000 1.0294 .16327E-07** at limit ** 15 norm 1.8633 5.5883 .39642E-07 -.18067E-03 16 Prefactor .12777E-04 28.163 .36580E-07** at limit ** 17 norm .86710E-05 24.072 -.17691E-07** at limit ** 18 norm 6.8810 1.1542 -.32995E-09 -.10910E-01 19 Prefactor 7.2667 10.112 .95952E-07 .71410E-02 20 Prefactor .0000 3.8125 -.85774E-08** at limit ** 21 norm 3.9629 2.1026 -.28918E-07 -.98599E-02 22 Prefactor 3.5406 5.1151 .88550E-07 .32654E-02 23 Normalizat .88041 .25194 -.13893E-05 -.38379E-03 24 Prefactor 1.1916 .21142 -.10322E-05 -.50741E-03 ERR DEF= .500 Final values: Prefactor = 2.07802 Prefactor = 1.34226e-07 Prefactor = 5.55112e-11 Prefactor = 4.80221e-06 Prefactor = 1.11022e-10 Prefactor = 7.21645e-10 Prefactor = 6.32462 Prefactor = 2.3278e-06 Prefactor = 3.92963e-07 Prefactor = 1.58057e-06 Prefactor = 1.46549e-08 Prefactor = 1.00814e-06 Prefactor = 9.1154 norm = 0 norm = 1.86326 Prefactor = 1.27769e-05 norm = 8.67101e-06 norm = 6.88102 Prefactor = 7.26672 Prefactor = 0 norm = 3.96293 Prefactor = 3.54062 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=OK 439 CALLS 2013 TOTAL EDM= .10E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.0780 1.9975 .71621E-03 -1.5679 2 Prefactor .13423E-06 15.816 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 48.803 .12798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .48022E-05 35.706 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11102E-09 4.1314 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .72164E-09 6.9177 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.3246 16.850 .39669E-03 -1.5658 8 Prefactor .23278E-05 24.903 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .39296E-06 23.079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .15806E-05 20.603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .14655E-07 29.005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10081E-05 123.23 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 9.1154 10.080 .33170E-03 -1.5648 14 norm .0000 1.0264 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.8633 5.7494 .77434E-03 -1.5681 16 Prefactor .12777E-04 52.198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .86710E-05 46.928 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 6.8810 1.1823 .38214E-04 -1.5655 19 Prefactor 7.2667 10.133 .37123E-03 -1.5654 20 Prefactor .0000 3.8104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.9629 2.1062 .50638E-03 -1.5668 22 Prefactor 3.5406 5.1144 .53364E-03 -1.5670 23 Normalizat .88041 .21500 .71900E-01 -.97152 24 Prefactor 1.1916 .17875 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03675e-06 Minuit parameter uncertainties: 1 1.99747 2 0.00291398 3 9.83011e-05 4 0.0261895 5 4.32017e-05 6 0.000141322 7 16.8498 8 0.0152275 9 0.00602307 10 0.0114131 11 0.00130388 12 0.0222919 13 10.0802 14 4.45695e-06 15 5.74939 16 0.0516502 17 0.0403444 18 1.18231 19 10.1335 20 9.32223e-06 21 2.10625 22 5.11436 23 0.215213 24 0.178843 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39061015 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.581e-06 1.141e-02 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: 1.192e+00 1.788e-01 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: 8.804e-01 2.152e-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: 8.64344839454e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00675546997663 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33199632/likelihoodResults_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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): 0 logL (Free Index) = 5767.41390598 delta logL = -0.0232958269116 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5767.39061084 delta logL = -6.86168277753e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24690E-05 1.0000 .0000 .10000E+07 2 'Index ' .88055 1.0000 .0000 10.000 3 'Normalizat' .88022 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1917 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 35 CALLS 194 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .26534E-07 19.779 .60021E-05** at limit ** 2 Index 2.7450 6.0834 -.26354E-03 .97926E-09 3 Normalizat .88041 .24262 .26331E-04 -.37190E-03 4 Prefactor 1.1916 .20923 -.21454E-04 -.47165E-03 ERR DEF= .500 Final values: Prefactor = 2.65343e-08 Index = 2.74498 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=NOT POSDEF 37 CALLS 231 TOTAL EDM= .16E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .26534E-07 2.8954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7450 6.7065 .44757 -.46789 3 Normalizat .88041 .20673E-02 .71900E-01 -.97152 4 Prefactor 1.1916 .17848E-02 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.56288e-10 Minuit parameter uncertainties: 1 0.000554174 2 7006.72 3 0.00206731 4 0.00178483 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) = 5767.39061011 delta logL = 3.76885509468e-08 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 2.653e-08 5.542e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.745e+00 7.007e+03 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: 1.192e+00 1.785e-03 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: 8.804e-01 2.067e-03 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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/33199632/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2026-07-26 11:26:56.245573', job_id='33199632', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1785090416.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2188' AND source_name='4FGL J1204.8+0407' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Jul 26 11:26:56 PDT 2026 number of points = 7562 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1204.8+0407_daily_bin2188 RA = 181.203, Dec = 4.12 tmin = 806457601, tmax = 806716801 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='33199649', job_status='RUN', time_executed='2026-07-26 11:22:15.023291', time_epoch_executed='1785090135.02' WHERE source_name='4FGL J1204.8+0407' and cadence='daily' and bin_id='2188' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/33199649 Creating custom pfile directory: /lscratch/kocevski/33199649/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/33199649/ft1_4FGL_J1204.8+0407_daily_bin2188.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/33199649/ft1_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199649/ft1_filteredMKT_4FGL_J1204.8+0407_daily_bin2188.fits ra=181.203 dec=4.12 rad=12.0 tmin=806457601.0 tmax=806716801.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 196.07 user 2.48 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.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/33199649/ft1_filteredMKT_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.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.84 user 0.25 sys 0.14 Number of photons that the gtmktime cut: 531 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33199649/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 10.99 user 10.07 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33199649/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199649/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33199649/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 78.50 user 72.82 sys 4.37 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/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199649/cmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.74 user 0.22 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199649/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.86 user 0.27 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33199649/Model_4FGL_J1204.8+0407_daily_bin2188.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 Workin/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 g on... /lscratch/kocevski/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits.....................! real 25.59 user 23.38 sys 1.06 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits', '/lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits', expMap='/lscratch/kocevski/33199649/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', expCube='/lscratch/kocevski/33199649/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33199649/Model_4FGL_J1204.8+0407_daily_bin2188.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/33199649/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits Spacecraft file(s): /lscratch/kocevski/33199649/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Exposure map: /lscratch/kocevski/33199649/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits Exposure cube: /lscratch/kocevski/33199649/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33199649/Model_4FGL_J1204.8+0407_daily_bin2188.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) = 5767.43304527 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39290687 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.0777 1.0000 .0000 .10000E+07 2 'Prefactor ' .80325E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .14743 1.0000 .0000 .10000E+07 4 'Prefactor ' .62281E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .37884E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .23585E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 6.3942 1.0000 .0000 .10000E+07 8 'Prefactor ' .49376E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .67230E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .97514E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .79146E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .15289E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' 9.1166 1.0000 .0000 .10000E+07 14 'norm ' .76050E-08 1.0000 .0000 .10000E+07 15 'norm ' 1.8177 1.0000 .0000 .10000E+07 16 'Prefactor ' .71334E-04 1.0000 .0000 .10000E+07 17 'norm ' .78079E-03 1.0000 .0000 .10000E+07 18 'norm ' 6.8846 1.0000 .0000 .10000E+07 19 'Prefactor ' 7.2907 1.0000 .0000 .10000E+07 20 'Prefactor ' .20730E-03 1.0000 .0000 .10000E+07 21 'norm ' 3.9640 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.5829 1.0000 .0000 .10000E+07 23 'Normalizat' .88054 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1914 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 173 CALLS 1574 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.0780 1.9970 .23177E-07 .20495E-02 2 Prefactor .13423E-06 15.615 -.54642E-07** at limit ** 3 Prefactor .55511E-10 48.848 -.18722E-06** at limit ** 4 Prefactor .48022E-05 9.3925 .63715E-08** at limit ** 5 Prefactor .11102E-09 4.1338 -.49679E-07** at limit ** 6 Prefactor .72164E-09 6.9213 .70074E-08** at limit ** 7 Prefactor 6.3246 13.534 -.11579E-06 .75940E-01 8 Prefactor .23278E-05 9.0980 .78137E-07** at limit ** 9 Prefactor .39296E-06 9.1995 .17666E-06** at limit ** 10 Prefactor .15806E-05 15.636 .34717E-06** at limit ** 11 Prefactor .14655E-07 16.086 -.42681E-07** at limit ** 12 Prefactor .10081E-05 122.27 .36929E-06** at limit ** 13 Prefactor 9.1154 10.073 .75747E-08 -.28869E-03 14 norm .0000 1.0294 .16327E-07** at limit ** 15 norm 1.8633 5.5883 .39642E-07 -.18067E-03 16 Prefactor .12777E-04 28.163 .36580E-07** at limit ** 17 norm .86710E-05 24.072 -.17691E-07** at limit ** 18 norm 6.8810 1.1542 -.32995E-09 -.10910E-01 19 Prefactor 7.2667 10.112 .95952E-07 .71410E-02 20 Prefactor .0000 3.8125 -.85774E-08** at limit ** 21 norm 3.9629 2.1026 -.28918E-07 -.98599E-02 22 Prefactor 3.5406 5.1151 .88550E-07 .32654E-02 23 Normalizat .88041 .25194 -.13893E-05 -.38379E-03 24 Prefactor 1.1916 .21142 -.10322E-05 -.50741E-03 ERR DEF= .500 Final values: Prefactor = 2.07802 Prefactor = 1.34226e-07 Prefactor = 5.55112e-11 Prefactor = 4.80221e-06 Prefactor = 1.11022e-10 Prefactor = 7.21645e-10 Prefactor = 6.32462 Prefactor = 2.3278e-06 Prefactor = 3.92963e-07 Prefactor = 1.58057e-06 Prefactor = 1.46549e-08 Prefactor = 1.00814e-06 Prefactor = 9.1154 norm = 0 norm = 1.86326 Prefactor = 1.27769e-05 norm = 8.67101e-06 norm = 6.88102 Prefactor = 7.26672 Prefactor = 0 norm = 3.96293 Prefactor = 3.54062 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=OK 439 CALLS 2013 TOTAL EDM= .10E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.0780 1.9975 .71621E-03 -1.5679 2 Prefactor .13423E-06 15.816 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 48.803 .12798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .48022E-05 35.706 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11102E-09 4.1314 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .72164E-09 6.9177 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.3246 16.850 .39669E-03 -1.5658 8 Prefactor .23278E-05 24.903 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .39296E-06 23.079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .15806E-05 20.603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .14655E-07 29.005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10081E-05 123.23 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 9.1154 10.080 .33170E-03 -1.5648 14 norm .0000 1.0264 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.8633 5.7494 .77434E-03 -1.5681 16 Prefactor .12777E-04 52.198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .86710E-05 46.928 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 6.8810 1.1823 .38214E-04 -1.5655 19 Prefactor 7.2667 10.133 .37123E-03 -1.5654 20 Prefactor .0000 3.8104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.9629 2.1062 .50638E-03 -1.5668 22 Prefactor 3.5406 5.1144 .53364E-03 -1.5670 23 Normalizat .88041 .21500 .71900E-01 -.97152 24 Prefactor 1.1916 .17875 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03675e-06 Minuit parameter uncertainties: 1 1.99747 2 0.00291398 3 9.83011e-05 4 0.0261895 5 4.32017e-05 6 0.000141322 7 16.8498 8 0.0152275 9 0.00602307 10 0.0114131 11 0.00130388 12 0.0222919 13 10.0802 14 4.45695e-06 15 5.74939 16 0.0516502 17 0.0403444 18 1.18231 19 10.1335 20 9.32223e-06 21 2.10625 22 5.11436 23 0.215213 24 0.178843 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39061015 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.581e-06 1.141e-02 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: 1.192e+00 1.788e-01 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: 8.804e-01 2.152e-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: 8.64344839454e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00675546997663 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33199649/likelihoodResults_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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): 0 logL (Free Index) = 5767.41390598 delta logL = -0.0232958269116 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5767.39061084 delta logL = -6.86168277753e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24690E-05 1.0000 .0000 .10000E+07 2 'Index ' .88055 1.0000 .0000 10.000 3 'Normalizat' .88022 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1917 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 35 CALLS 194 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .26534E-07 19.779 .60021E-05** at limit ** 2 Index 2.7450 6.0834 -.26354E-03 .97926E-09 3 Normalizat .88041 .24262 .26331E-04 -.37190E-03 4 Prefactor 1.1916 .20923 -.21454E-04 -.47165E-03 ERR DEF= .500 Final values: Prefactor = 2.65343e-08 Index = 2.74498 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=NOT POSDEF 37 CALLS 231 TOTAL EDM= .16E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .26534E-07 2.8954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7450 6.7065 .44757 -.46789 3 Normalizat .88041 .20673E-02 .71900E-01 -.97152 4 Prefactor 1.1916 .17848E-02 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.56288e-10 Minuit parameter uncertainties: 1 0.000554174 2 7006.72 3 0.00206731 4 0.00178483 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) = 5767.39061011 delta logL = 3.76885509468e-08 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 2.653e-08 5.542e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.745e+00 7.007e+03 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: 1.192e+00 1.785e-03 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: 8.804e-01 2.067e-03 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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/33199649/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2026-07-26 11:32:40.751906', job_id='33199649', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1785090760.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2188' AND source_name='4FGL J1204.8+0407' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Jul 26 11:32:41 PDT 2026 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). number of points = 7562 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1204.8+0407_daily_bin2188 RA = 181.203, Dec = 4.12 tmin = 806457601, tmax = 806716801 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='33199655', job_status='RUN', time_executed='2026-07-26 11:34:04.387124', time_epoch_executed='1785090844.39' WHERE source_name='4FGL J1204.8+0407' and cadence='daily' and bin_id='2188' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/33199655 Creating custom pfile directory: /lscratch/kocevski/33199655/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/33199655/ft1_4FGL_J1204.8+0407_daily_bin2188.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806457601.0 && nMetStart<806716801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/33199655/ft1_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199655/ft1_filteredMKT_4FGL_J1204.8+0407_daily_bin2188.fits ra=181.203 dec=4.12 rad=12.0 tmin=806457601.0 tmax=806716801.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 2.90 user 2.24 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.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/33199655/ft1_filteredMKT_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.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.66 user 0.18 sys 0.12 Number of photons that the gtmktime cut: 531 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33199655/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 7.23 user 6.67 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33199655/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199655/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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/33199655/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits .....................! real 59.49 user 55.47 sys 3.44 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/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199655/cmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.72 user 0.19 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits scfile=/lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits outfile=/lscratch/kocevski/33199655/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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.70 user 0.20 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33199655/Model_4FGL_J1204.8+0407_daily_bin2188.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/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits.....................! real 18.96 user 17.62 sys 0.87 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits', '/lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits', expMap='/lscratch/kocevski/33199655/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', expCube='/lscratch/kocevski/33199655/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33199655/Model_4FGL_J1204.8+0407_daily_bin2188.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/33199655/ft1_filtered_4FGL_J1204.8+0407_daily_bin2188.fits Spacecraft file(s): /lscratch/kocevski/33199655/ft2_4FGL_J1204.8+0407_daily_bin2188.fits Exposure map: /lscratch/kocevski/33199655/expmap_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits Exposure cube: /lscratch/kocevski/33199655/ltcube_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33199655/Model_4FGL_J1204.8+0407_daily_bin2188.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) = 5767.43304527 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39290687 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.0777 1.0000 .0000 .10000E+07 2 'Prefactor ' .80325E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .14743 1.0000 .0000 .10000E+07 4 'Prefactor ' .62281E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .37884E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .23585E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' 6.3942 1.0000 .0000 .10000E+07 8 'Prefactor ' .49376E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .67230E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .97514E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .79146E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .15289E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' 9.1166 1.0000 .0000 .10000E+07 14 'norm ' .76050E-08 1.0000 .0000 .10000E+07 15 'norm ' 1.8177 1.0000 .0000 .10000E+07 16 'Prefactor ' .71334E-04 1.0000 .0000 .10000E+07 17 'norm ' .78079E-03 1.0000 .0000 .10000E+07 18 'norm ' 6.8846 1.0000 .0000 .10000E+07 19 'Prefactor ' 7.2907 1.0000 .0000 .10000E+07 20 'Prefactor ' .20730E-03 1.0000 .0000 .10000E+07 21 'norm ' 3.9640 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.5829 1.0000 .0000 .10000E+07 23 'Normalizat' .88054 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1914 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 173 CALLS 1574 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.0780 1.9970 .23177E-07 .20495E-02 2 Prefactor .13423E-06 15.615 -.54642E-07** at limit ** 3 Prefactor .55511E-10 48.848 -.18722E-06** at limit ** 4 Prefactor .48022E-05 9.3925 .63715E-08** at limit ** 5 Prefactor .11102E-09 4.1338 -.49679E-07** at limit ** 6 Prefactor .72164E-09 6.9213 .70074E-08** at limit ** 7 Prefactor 6.3246 13.534 -.11579E-06 .75940E-01 8 Prefactor .23278E-05 9.0980 .78137E-07** at limit ** 9 Prefactor .39296E-06 9.1995 .17666E-06** at limit ** 10 Prefactor .15806E-05 15.636 .34717E-06** at limit ** 11 Prefactor .14655E-07 16.086 -.42681E-07** at limit ** 12 Prefactor .10081E-05 122.27 .36929E-06** at limit ** 13 Prefactor 9.1154 10.073 .75747E-08 -.28869E-03 14 norm .0000 1.0294 .16327E-07** at limit ** 15 norm 1.8633 5.5883 .39642E-07 -.18067E-03 16 Prefactor .12777E-04 28.163 .36580E-07** at limit ** 17 norm .86710E-05 24.072 -.17691E-07** at limit ** 18 norm 6.8810 1.1542 -.32995E-09 -.10910E-01 19 Prefactor 7.2667 10.112 .95952E-07 .71410E-02 20 Prefactor .0000 3.8125 -.85774E-08** at limit ** 21 norm 3.9629 2.1026 -.28918E-07 -.98599E-02 22 Prefactor 3.5406 5.1151 .88550E-07 .32654E-02 23 Normalizat .88041 .25194 -.13893E-05 -.38379E-03 24 Prefactor 1.1916 .21142 -.10322E-05 -.50741E-03 ERR DEF= .500 Final values: Prefactor = 2.07802 Prefactor = 1.34226e-07 Prefactor = 5.55112e-11 Prefactor = 4.80221e-06 Prefactor = 1.11022e-10 Prefactor = 7.21645e-10 Prefactor = 6.32462 Prefactor = 2.3278e-06 Prefactor = 3.92963e-07 Prefactor = 1.58057e-06 Prefactor = 1.46549e-08 Prefactor = 1.00814e-06 Prefactor = 9.1154 norm = 0 norm = 1.86326 Prefactor = 1.27769e-05 norm = 8.67101e-06 norm = 6.88102 Prefactor = 7.26672 Prefactor = 0 norm = 3.96293 Prefactor = 3.54062 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=OK 439 CALLS 2013 TOTAL EDM= .10E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.0780 1.9975 .71621E-03 -1.5679 2 Prefactor .13423E-06 15.816 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 48.803 .12798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .48022E-05 35.706 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11102E-09 4.1314 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .72164E-09 6.9177 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.3246 16.850 .39669E-03 -1.5658 8 Prefactor .23278E-05 24.903 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .39296E-06 23.079 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .15806E-05 20.603 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .14655E-07 29.005 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10081E-05 123.23 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 9.1154 10.080 .33170E-03 -1.5648 14 norm .0000 1.0264 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.8633 5.7494 .77434E-03 -1.5681 16 Prefactor .12777E-04 52.198 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .86710E-05 46.928 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 6.8810 1.1823 .38214E-04 -1.5655 19 Prefactor 7.2667 10.133 .37123E-03 -1.5654 20 Prefactor .0000 3.8104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.9629 2.1062 .50638E-03 -1.5668 22 Prefactor 3.5406 5.1144 .53364E-03 -1.5670 23 Normalizat .88041 .21500 .71900E-01 -.97152 24 Prefactor 1.1916 .17875 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.03675e-06 Minuit parameter uncertainties: 1 1.99747 2 0.00291398 3 9.83011e-05 4 0.0261895 5 4.32017e-05 6 0.000141322 7 16.8498 8 0.0152275 9 0.00602307 10 0.0114131 11 0.00130388 12 0.0222919 13 10.0802 14 4.45695e-06 15 5.74939 16 0.0516502 17 0.0403444 18 1.18231 19 10.1335 20 9.32223e-06 21 2.10625 22 5.11436 23 0.215213 24 0.178843 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5767.39061015 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 1.581e-06 1.141e-02 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: 1.192e+00 1.788e-01 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: 8.804e-01 2.152e-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: 8.64344839454e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00675546997663 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33199655/likelihoodResults_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.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): 0 logL (Free Index) = 5767.41390598 delta logL = -0.0232958269116 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5767.39061084 delta logL = -6.86168277753e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24690E-05 1.0000 .0000 .10000E+07 2 'Index ' .88055 1.0000 .0000 10.000 3 'Normalizat' .88022 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1917 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= 5767.391 FROM MIGRAD STATUS=CONVERGED 35 CALLS 194 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .26534E-07 19.779 .60021E-05** at limit ** 2 Index 2.7450 6.0834 -.26354E-03 .97926E-09 3 Normalizat .88041 .24262 .26331E-04 -.37190E-03 4 Prefactor 1.1916 .20923 -.21454E-04 -.47165E-03 ERR DEF= .500 Final values: Prefactor = 2.65343e-08 Index = 2.74498 Normalizat = 0.88041 Prefactor = 1.19156 ********** ** 18 **HESSE ********** FCN= 5767.391 FROM HESSE STATUS=NOT POSDEF 37 CALLS 231 TOTAL EDM= .16E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .26534E-07 2.8954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7450 6.7065 .44757 -.46789 3 Normalizat .88041 .20673E-02 .71900E-01 -.97152 4 Prefactor 1.1916 .17848E-02 .54029E-01 -.86591 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.56288e-10 Minuit parameter uncertainties: 1 0.000554174 2 7006.72 3 0.00206731 4 0.00178483 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) = 5767.39061011 delta logL = 3.76885509468e-08 Extracting fit parameters... 4FGL J1204.8+0407 Spectrum: PowerLaw 316 Prefactor: 2.653e-08 5.542e-04 0.000e+00 1.000e+06 ( 1.000e-13) 317 Index: 2.745e+00 7.007e+03 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: 1.192e+00 1.785e-03 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: 8.804e-01 2.067e-03 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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/33199655/cmap_HighResolution_806457601_806716801_4FGL_J1204.8+0407_daily_bin2188.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2026-07-26 11:39:54.576734', job_id='33199655', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1785091194.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2188' AND source_name='4FGL J1204.8+0407' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Jul 26 11:39:54 PDT 2026