/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). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17538 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0037.8+1239_weekly_bin934 RA = 9.4695, Dec = 12.6527 tmin = 803865601, tmax = 804470401 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='30951687', job_status='RUN', time_executed='2026-07-07 13:54:08.495355', time_epoch_executed='1783457648.5' WHERE source_name='4FGL J0037.8+1239' and cadence='weekly' and bin_id='934' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/30951687 Creating custom pfile directory: /lscratch/kocevski/30951687/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/30951687/ft1_4FGL_J0037.8+1239_weekly_bin934.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/30951687/ft1_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30951687/ft1_filteredMKT_4FGL_J0037.8+1239_weekly_bin934.fits ra=9.4695 dec=12.6527 rad=12.0 tmin=803865601.0 tmax=804470401.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.90 user 2.77 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.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/30951687/ft1_filteredMKT_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" outfile="/lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.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 1.28 user 0.20 sys 0.12 Number of photons that the gtmktime cut: 1908 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30951687/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits .....................! real 18.45 user 17.45 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30951687/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30951687/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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/30951687/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits .....................! real 66.16 user 61.08 sys 3.87 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 159 point sources and 0 extended sources Setting source of interest to: 4FGL J0037.8+1239 @ 9.4695 12.6527 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits scfile=/lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30951687/cmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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=9.4695 yref=12.6527 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 1.06 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits scfile=/lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30951687/cmap_HighResolution_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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=9.4695 yref=12.6527 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 1.20 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30951687/Model_4FGL_J0037.8+1239_weekly_bin934.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/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits.....................! real 76.67 user 74.20 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits', '/lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits', expMap='/lscratch/kocevski/30951687/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits', expCube='/lscratch/kocevski/30951687/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30951687/Model_4FGL_J0037.8+1239_weekly_bin934.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0037.8+1239' 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 4.891e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 2.216e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30951687/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits Spacecraft file(s): /lscratch/kocevski/30951687/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Exposure map: /lscratch/kocevski/30951687/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits Exposure cube: /lscratch/kocevski/30951687/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30951687/Model_4FGL_J0037.8+1239_weekly_bin934.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) = 21019.4317322 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21018.7033584 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .21432E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.3264 1.0000 .0000 .10000E+07 3 'norm ' 3.7016 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.1212 1.0000 .0000 .10000E+07 5 'Prefactor ' .71742E-03 1.0000 .0000 .10000E+07 6 'norm ' 2.4355 1.0000 .0000 .10000E+07 7 'Prefactor ' .66136E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' 15.513 1.0000 .0000 .10000E+07 9 'norm ' .26090E-08 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.5713 1.0000 .0000 .10000E+07 11 'Prefactor ' .56066E-07 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.6818 1.0000 .0000 .10000E+07 13 'norm ' 18.033 1.0000 .0000 .10000E+07 14 'Prefactor ' .95419E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' 3.6957 1.0000 .0000 .10000E+07 16 'Prefactor ' .16268 1.0000 .0000 .10000E+07 17 'Normalizat' .86404 1.0000 .10000E-01 10.000 18 'Prefactor ' 1.0306 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21018.70 FROM MIGRAD STATUS=CONVERGED 106 CALLS 1031 TOTAL EDM= .19E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 1.8838 .60160E-07** at limit ** 2 Prefactor 1.3218 3.3040 .12569E-06 -.26390E-02 3 norm 3.7011 2.1826 -.56523E-07 -.25084E-02 4 Prefactor 3.1207 3.0907 -.23305E-07 .96184E-03 5 Prefactor .38858E-09 4.1808 .40319E-06** at limit ** 6 norm 2.4332 2.9871 -.12623E-06 -.44896E-03 7 Prefactor .27756E-09 8.7932 .56092E-06** at limit ** 8 Prefactor 15.477 7.0256 .80988E-06 .24081E-01 9 norm .0000 .84373 .14801E-06** at limit ** 10 Prefactor 2.5724 2.0972 .87680E-07 .42368E-02 11 Prefactor .33307E-09 2.7834 -.20637E-06** at limit ** 12 Prefactor 1.6817 .94359 .38677E-07 .51914E-02 13 norm 18.092 1.0564 -.23913E-07 -.12482E-02 14 Prefactor .22204E-09 9.4409 .20438E-06** at limit ** 15 Prefactor 3.5494 1.1458 .19507E-07 -.82841E-03 16 Prefactor .17366 8.0286 -.25609E-05** at limit ** 17 Normalizat .86412 .11441 -.30197E-05 -.26393E-03 18 Prefactor 1.0306 .85891E-01 .11017E-05 -.24197E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Prefactor = 1.32184 norm = 3.70108 Prefactor = 3.12066 Prefactor = 3.88578e-10 norm = 2.43323 Prefactor = 2.77556e-10 Prefactor = 15.4774 norm = 0 Prefactor = 2.57236 Prefactor = 3.33067e-10 Prefactor = 1.68172 norm = 18.0924 Prefactor = 2.22045e-10 Prefactor = 3.54938 Prefactor = 0.173655 Normalizat = 0.864117 Prefactor = 1.03063 ********** ** 18 **HESSE ********** FCN= 21018.70 FROM HESSE STATUS=OK 292 CALLS 1323 TOTAL EDM= .38E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 1.8841 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.3218 3.3717 .95393E-03 -1.5685 3 norm 3.7011 2.1896 .52467E-03 -1.5669 4 Prefactor 3.1207 3.0903 .57364E-03 -1.5673 5 Prefactor .38858E-09 .67121 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.4332 2.9976 .65539E-03 -1.5677 7 Prefactor .27756E-09 8.7862 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 15.477 7.8747 .25403E-03 -1.5629 9 norm .0000 .84585 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.5724 2.1026 .63628E-03 -1.5676 11 Prefactor .33307E-09 2.7852 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.6817 .94221 .81190E-03 -1.5682 13 norm 18.092 8.9845 .23558E-03 -1.5623 14 Prefactor .22204E-09 9.4701 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 3.5494 14.173 .52510E-03 -1.5670 16 Prefactor .17366 2.7772 .82406E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat .86412 .98894E-01 .63840E-01 -.97733 18 Prefactor 1.0306 .73264E-01 .41209E-01 -.91715 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.80947e-06 Minuit parameter uncertainties: 1 1.51561e-05 2 3.37169 3 2.18958 4 3.09032 5 3.22914e-05 6 2.99757 7 9.84191e-05 8 7.87469 9 3.55881e-06 10 2.10255 11 6.16798e-05 12 0.942211 13 8.98448 14 9.54932e-05 15 14.1731 16 1.38892 17 0.0989144 18 0.0732706 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21018.7030741 Extracting fit parameters... 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 1.548e+01 7.875e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 2.216e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 506 Prefactor: 1.031e+00 7.327e-02 0.000e+00 1.000e+01 ( 1.000e+00) 507 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 508 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 505 Normalization: 8.641e-01 9.891e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.07 Ra Dec: 9.470 12.653 Photon Index (Fixed Index): 2.22 +/- 0.00 Photon Flux (Fixed Index): 3.81e-08 +/- 1.94e-08 Energy Flux (Fixed Index): 1.66e-05 +/- 8.46e-06 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) = 21016.7967352 delta logL = 1.90633889091 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21016.7739314 delta logL = 1.92914271915 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.4596 1.0000 .0000 .10000E+07 2 'Index ' 3.0237 1.0000 .0000 10.000 3 'Normalizat' .81816 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0493 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21016.77 FROM MIGRAD STATUS=CONVERGED 57 CALLS 260 TOTAL EDM= .40E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.4552 24.809 .39465E-03 .10152E-01 2 Index 3.0241 1.5046 .12644 .48639E-03 3 Normalizat .81819 .34904E-01 .65398E-01 .11806E-03 4 Prefactor 1.0492 .24135E-01 .39953E-01 .54029E-04 ERR DEF= .500 Final values: Prefactor = 6.45524 Index = 3.02413 Normalizat = 0.81819 Prefactor = 1.04924 ********** ** 18 **HESSE ********** FCN= 21016.77 FROM HESSE STATUS=OK 33 CALLS 293 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.4552 9.0194 .12908E-04 -1.5657 2 Index 3.0241 .71665 .44015E-02 -.40626 3 Normalizat .81819 .11862 .28931E-03 -.99397 4 Prefactor 1.0492 .87637E-01 .19382E-03 -.91106 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.39591e-10 Minuit parameter uncertainties: 1 9.01944 2 0.719587 3 0.118657 4 0.0876491 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21016.7739308 delta logL = 1.92914331622 Extracting fit parameters... 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 6.455e+00 9.019e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 3.024e+00 7.196e-01 0.000e+00 1.000e+01 (-1.000e+00) 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 506 Prefactor: 1.049e+00 8.765e-02 0.000e+00 1.000e+01 ( 1.000e+00) 507 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 508 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 505 Normalization: 8.182e-01 1.187e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.06 Ra Dec: 9.470 12.653 Photon Index (Free Index): 3.02 +/- 0.72 Photon Flux (Free Index): 7.65e-08 +/- 3.07e-08 Energy Flux (Free Index): 1.51e-05 +/- 6.34e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/30951687/cmap_HighResolution_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.81e-08', energy_flux2='1.51e-05', photon_flux_error='1.94e-08', dlogl='1.93e+00', energy_flux='1.66e-05', photon_flux2='7.65e-08', job_status='DONE', time_completed='2026-07-07 14:06:46.787999', photon_index_error2='0.72', photon_index2='3.02', ts='6.07', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='6.34e-06', EG='0.86', time_epoch_completed='1783458406.79', return_code='0', job_id='30951687', GAL2='1.05', EG2='0.82', return_code2='0', energy_flux_error='8.46e-06', photon_flux_error2='3.07e-08', ts2='10.06', photon_index='2.22' WHERE bin_id='934' AND source_name='4FGL J0037.8+1239' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 7 14:06:47 PDT 2026 number of points = 17538 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0037.8+1239_weekly_bin934 RA = 9.4695, Dec = 12.6527 tmin = 803865601, tmax = 804470401 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='30952358', job_status='RUN', time_executed='2026-07-07 13:59:11.460331', time_epoch_executed='1783457951.46' WHERE source_name='4FGL J0037.8+1239' and cadence='weekly' and bin_id='934' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/30952358 Creating custom pfile directory: /lscratch/kocevski/30952358/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/30952358/ft1_4FGL_J0037.8+1239_weekly_bin934.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/30952358/ft1_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952358/ft1_filteredMKT_4FGL_J0037.8+1239_weekly_bin934.fits ra=9.4695 dec=12.6527 rad=12.0 tmin=803865601.0 tmax=804470401.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 4.12 user 3.17 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.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/30952358/ft1_filteredMKT_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" outfile="/lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.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 1.23 user 0.25 sys 0.14 Number of photons that the gtmktime cut: 1908 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" onumber of points = 17538 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0037.8+1239_weekly_bin934 RA = 9.4695, Dec = 12.6527 tmin = 803865601, tmax = 804470401 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='30952400', job_status='RUN', time_executed='2026-07-07 13:59:43.736541', time_epoch_executed='1783457983.74' WHERE source_name='4FGL J0037.8+1239' and cadence='weekly' and bin_id='934' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/30952400 Creating custom pfile directory: /lscratch/kocevski/30952400/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/30952400/ft1_4FGL_J0037.8+1239_weekly_bin934.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/30952400/ft1_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952400/ft1_filteredMKT_4FGL_J0037.8+1239_weekly_bin934.fits ra=9.4695 dec=12.6527 rad=12.0 tmin=803865601.0 tmax=804470401.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.88 user 2.95 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.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/30952400/ft1_filteredMKT_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" outfile="/lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.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 1.25 user 0.24 sys 0.14 Number of photons that the gtmktime cut: 1908 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30952358/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits .....................! real 20.95 user 19.85 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30952358/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952358/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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/30952358/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits .....................! real 74.05 user 68.15 sys 4.35 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 159 point sources and 0 extended sources Setting source of interest to: 4FGL J0037.8+1239 @ 9.4695 12.6527 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits scfile=/lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952358/cmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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=9.4695 yref=12.6527 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 1.36 user 0.25 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits scfile=/lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952358/cmap_HighResolution_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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=9.4695 yref=12.6527 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 1.14 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30952358/Model_4FGL_J0037.8+1239_weekly_bin934.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 GALutfile=/lscratch/kocevski/30952400/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits .....................! real 20.17 user 18.74 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30952400/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952400/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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/30952400/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits .....................! real 68.15 user 63.25 sys 3.97 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 159 point sources and 0 extended sources Setting source of interest to: 4FGL J0037.8+1239 @ 9.4695 12.6527 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits scfile=/lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952400/cmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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=9.4695 yref=12.6527 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 1.05 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits scfile=/lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits outfile=/lscratch/kocevski/30952400/cmap_HighResolution_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.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=9.4695 yref=12.6527 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 1.02 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30952400/Model_4FGL_J0037.8+1239_weekly_bin934.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/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits.....................! real 84.85 user 82.65 sys 1.08 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits', '/lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits', expMap='/lscratch/kocevski/30952358/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits', expCube='/lscratch/kocevski/30952358/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30952358/Model_4FGL_J0037.8+1239_weekly_bin934.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0037.8+1239' 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 4.891e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 2.216e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30952358/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits Spacecraft file(s): /lscratch/kocevski/30952358/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Exposure map: /lscratch/kocevski/30952358/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits Exposure cube: /lscratch/kocevski/30952358/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30952358/Model_4FGL_J0037.8+1239_weekly_bin934.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) = 21019.4317322 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21018.7033584 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .21432E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.3264 1.0000 .0000 .10000E+07 3 'norm ' 3.7016 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.1212 1.0000 .0000 .10000E+07 5 'Prefactor ' .71742E-03 1.0000 .0000 .10000E+07 6 'norm ' 2.4355 1.0000 .0000 .10000E+07 7 'Prefactor ' .66136E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' 15.513 1.0000 .0000 .10000E+07 9 'norm ' .26090E-08 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.5713 1.0000 .0000 .10000E+07 11 'Prefactor ' .56066E-07 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.6818 1.0000 .0000 .10000E+07 13 'norm ' 18.033 1.0000 .0000 .10000E+07 14 'Prefactor ' .95419E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' 3.6957 1.0000 .0000 .10000E+07 16 'Prefactor ' .16268 1.0000 .0000 .10000E+07 17 'Normalizat' .86404 1.0000 .10000E-01 10.000 18 'Prefactor ' 1.0306 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21018.70 FROM MIGRAD STATUS=CONVERGED 106 CALLS 1031 TOTAL EDM= .19E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 1.8838 .60160E-07** at limit ** 2 Prefactor 1.3218 3.3040 .12569E-06 -.26390E-02 3 norm 3.7011 2.1826 -.56523E-07 -.25084E-02 4 Prefactor 3.1207 3.0907 -.23305E-07 .96184E-03 5 Prefactor .38858E-09 4.1808 .40319E-06** at limit ** 6 norm 2.4332 2.9871 -.12623E-06 -.44896E-03 7 Prefactor .27756E-09 8.7932 .56092E-06** at limit ** 8 Prefactor 15.477 7.0256 .80988E-06 .24081E-01 9 norm .0000 .84373 .14801E-06** at limit ** 10 Prefactor 2.5724 2.0972 .87680E-07 .42368E-02 11 Prefactor .33307E-09 2.7834 -.20637E-06** at limit ** 12 Prefactor 1.6817 .94359 .38677E-07 .51914E-02 13 norm 18.092 1.0564 -.23913E-07 -.12482E-02 14 Prefactor .22204E-09 9.4409 .20438E-06** at limit ** 15 Prefactor 3.5494 1.1458 .19507E-07 -.82841E-03 16 Prefactor .17366 8.0286 -.25609E-05** at limit ** 17 Normalizat .86412 .11441 -.30197E-05 -.26393E-03 18 Prefactor 1.0306 .85891E-01 .11017E-05 -.24197E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Prefactor = 1.32184 norm = 3.70108 Prefactor = 3.12066 Prefactor = 3.88578e-10 norm = 2.43323 Prefactor = 2.77556e-10 Prefactor = 15.4774 norm = 0 Prefactor = 2.57236 Prefactor = 3.33067e-10 Prefactor = 1.68172 norm = 18.0924 Prefactor = 2.22045e-10 Prefactor = 3.54938 Prefactor = 0.173655 Normalizat = 0.864117 Prefactor = 1.03063 ********** ** 18 **HESSE ********** FCN= 21018.70 FROM HESSE STATUS=OK 292 CALLS 1323 TOTAL EDM= .38E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 1.8841 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.3218 3.3717 .95393E-03 -1.5685 3 norm 3.7011 2.1896 .52467E-03 -1.5669 4 Prefactor 3.1207 3.0903 .57364E-03 -1.5673 5 Prefactor .38858E-09 .67121 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.4332 2.9976 .65539E-03 -1.5677 7 Prefactor .27756E-09 8.7862 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 15.477 7.8747 .25403E-03 -1.5629 9 norm .0000 .84585 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.5724 2.1026 .63628E-03 -1.5676 11 Prefactor .33307E-09 2.7852 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.6817 .94221 .81190E-03 -1.5682 13 norm 18.092 8.9845 .23558E-03 -1.5623 14 Prefactor .22204E-09 9.4701 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 3.5494 14.173 .52510E-03 -1.5670 16 Prefactor .17366 2.7772 .82406E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat .86412 .98894E-01 .63840E-01 -.97733 18 Prefactor 1.0306 .73264E-01 .41209E-01 -.91715 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.80947e-06 Minuit parameter uncertainties: 1 1.51561e-05 2 3.37169 3 2.18958 4 3.09032 5 3.22914e-05 6 2.99757 7 9.84191e-05 8 7.87469 9 3.55881e-06 10 2.10255 11 6.16798e-05 12 0.942211 13 8.98448 14 9.54932e-05 15 14.1731 16 1.38892 17 0.0989144 18 0.0732706 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21018.7030741 Extracting fit parameters... 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 1.548e+01 7.875e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 2.216e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 506 Prefactor: 1.031e+00 7.327e-02 0.000e+00 1.000e+01 ( 1.000e+00) 507 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 508 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 505 Normalization: 8.641e-01 9.891e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.07 Ra Dec: 9.470 12.653 Photon Index (Fixed Index): 2.22 +/- 0.00 Photon Flux (Fixed Index): 3.81e-08 +/- 1.94e-08 Energy Flux (Fixed Index): 1.66e-05 +/- 8.46e-06 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) = 21016.7967352 delta logL = 1.90633889091 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21016.7739314 delta logL = 1.92914271915 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.4596 1.0000 .0000 .10000E+07 2 'Index ' 3.0237 1.0000 .0000 10.000 3 'Normalizat' .81816 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0493 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21016.77 FROM MIGRAD STATUS=CONVERGED 57 CALLS 260 TOTAL EDM= .40E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.4552 24.809 .39465E-03 .10152E-01 2 Index 3.0241 1.5046 .12644 .48639E-03 3 Normalizat .81819 .34904E-01 .65398E-01 .11806E-03 4 Prefactor 1.0492 .24135E-01 .39953E-01 .54029E-04 ERR DEF= .500 Final values: Prefactor = 6.45524 Index = 3.02413 Normalizat = 0.81819 Prefactor = 1.04924 ********** ** 18 **HESSE ********** FCN= 21016.77 FROM HESSE STATUS=OK 33 CALLS 293 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.4552 9.0194 .12908E-04 -1.5657 2 Index 3.0241 .71665 .44015E-02 -.40626 3 Normalizat .81819 .11862 .28931E-03 -.99397 4 Prefactor 1.0492 .87637E-01 .19382E-03 -.91106 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.39591e-10 Minuit parameter uncertainties: 1 9.01944 2 0.719587 3 0.118657 4 0.0876491 _V02 Working on... /lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits.....................! real 77.59 user 74.75 sys 1.65 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits', '/lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits', expMap='/lscratch/kocevski/30952400/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits', expCube='/lscratch/kocevski/30952400/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30952400/Model_4FGL_J0037.8+1239_weekly_bin934.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0037.8+1239' 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 4.891e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 2.216e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30952400/ft1_filtered_4FGL_J0037.8+1239_weekly_bin934.fits Spacecraft file(s): /lscratch/kocevski/30952400/ft2_4FGL_J0037.8+1239_weekly_bin934.fits Exposure map: /lscratch/kocevski/30952400/expmap_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits Exposure cube: /lscratch/kocevski/30952400/ltcube_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30952400/Model_4FGL_J0037.8+1239_weekly_bin934.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) = 21019.4317322 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21018.7033584 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .21432E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.3264 1.0000 .0000 .10000E+07 3 'norm ' 3.7016 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.1212 1.0000 .0000 .10000E+07 5 'Prefactor ' .71742E-03 1.0000 .0000 .10000E+07 6 'norm ' 2.4355 1.0000 .0000 .10000E+07 7 'Prefactor ' .66136E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' 15.513 1.0000 .0000 .10000E+07 9 'norm ' .26090E-08 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.5713 1.0000 .0000 .10000E+07 11 'Prefactor ' .56066E-07 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.6818 1.0000 .0000 .10000E+07 13 'norm ' 18.033 1.0000 .0000 .10000E+07 14 'Prefactor ' .95419E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' 3.6957 1.0000 .0000 .10000E+07 16 'Prefactor ' .16268 1.0000 .0000 .10000E+07 17 'Normalizat' .86404 1.0000 .10000E-01 10.000 18 'Prefactor ' 1.0306 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21018.70 FROM MIGRAD STATUS=CONVERGED 106 CALLS 1031 TOTAL EDM= .19E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 1.8838 .60160E-07** at limit ** 2 Prefactor 1.3218 3.3040 .12569E-06 -.26390E-02 3 norm 3.7011 2.1826 -.56523E-07 -.25084E-02 4 Prefactor 3.1207 3.0907 -.23305E-07 .96184E-03 5 Prefactor .38858E-09 4.1808 .40319E-06** at limit ** 6 norm 2.4332 2.9871 -.12623E-06 -.44896E-03 7 Prefactor .27756E-09 8.7932 .56092E-06** at limit ** 8 Prefactor 15.477 7.0256 .80988E-06 .24081E-01 9 norm .0000 .84373 .14801E-06** at limit ** 10 Prefactor 2.5724 2.0972 .87680E-07 .42368E-02 11 Prefactor .33307E-09 2.7834 -.20637E-06** at limit ** 12 Prefactor 1.6817 .94359 .38677E-07 .51914E-02 13 norm 18.092 1.0564 -.23913E-07 -.12482E-02 14 Prefactor .22204E-09 9.4409 .20438E-06** at limit ** 15 Prefactor 3.5494 1.1458 .19507E-07 -.82841E-03 16 Prefactor .17366 8.0286 -.25609E-05** at limit ** 17 Normalizat .86412 .11441 -.30197E-05 -.26393E-03 18 Prefactor 1.0306 .85891E-01 .11017E-05 -.24197E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Prefactor = 1.32184 norm = 3.70108 Prefactor = 3.12066 Prefactor = 3.88578e-10 norm = 2.43323 Prefactor = 2.77556e-10 Prefactor = 15.4774 norm = 0 Prefactor = 2.57236 Prefactor = 3.33067e-10 Prefactor = 1.68172 norm = 18.0924 Prefactor = 2.22045e-10 Prefactor = 3.54938 Prefactor = 0.173655 Normalizat = 0.864117 Prefactor = 1.03063 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21016.7739308 delta logL = 1.92914331622 Extracting fit parameters... 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 6.455e+00 9.019e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 3.024e+00 7.196e-01 0.000e+00 1.000e+01 (-1.000e+00) 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 506 Prefactor: 1.049e+00 8.765e-02 0.000e+00 1.000e+01 ( 1.000e+00) 507 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 508 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 505 Normalization: 8.182e-01 1.187e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.06 Ra Dec: 9.470 12.653 Photon Index (Free Index): 3.02 +/- 0.72 Photon Flux (Free Index): 7.65e-08 +/- 3.07e-08 Energy Flux (Free Index): 1.51e-05 +/- 6.34e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/30952358/cmap_HighResolution_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.81e-08', energy_flux2='1.51e-05', photon_flux_error='1.94e-08', dlogl='1.93e+00', energy_flux='1.66e-05', photon_flux2='7.65e-08', job_status='DONE', time_completed='2026-07-07 14:13:23.114981', photon_index_error2='0.72', photon_index2='3.02', ts='6.07', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='6.34e-06', EG='0.86', time_epoch_completed='1783458803.12', return_code='0', job_id='30952358', GAL2='1.05', EG2='0.82', return_code2='0', energy_flux_error='8.46e-06', photon_flux_error2='3.07e-08', ts2='10.06', photon_index='2.22' WHERE bin_id='934' AND source_name='4FGL J0037.8+1239' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 7 14:13:23 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21018.70 FROM HESSE STATUS=OK 292 CALLS 1323 TOTAL EDM= .38E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 1.8841 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.3218 3.3717 .95393E-03 -1.5685 3 norm 3.7011 2.1896 .52467E-03 -1.5669 4 Prefactor 3.1207 3.0903 .57364E-03 -1.5673 5 Prefactor .38858E-09 .67121 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.4332 2.9976 .65539E-03 -1.5677 7 Prefactor .27756E-09 8.7862 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 15.477 7.8747 .25403E-03 -1.5629 9 norm .0000 .84585 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.5724 2.1026 .63628E-03 -1.5676 11 Prefactor .33307E-09 2.7852 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.6817 .94221 .81190E-03 -1.5682 13 norm 18.092 8.9845 .23558E-03 -1.5623 14 Prefactor .22204E-09 9.4701 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 3.5494 14.173 .52510E-03 -1.5670 16 Prefactor .17366 2.7772 .82406E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat .86412 .98894E-01 .63840E-01 -.97733 18 Prefactor 1.0306 .73264E-01 .41209E-01 -.91715 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.80947e-06 Minuit parameter uncertainties: 1 1.51561e-05 2 3.37169 3 2.18958 4 3.09032 5 3.22914e-05 6 2.99757 7 9.84191e-05 8 7.87469 9 3.55881e-06 10 2.10255 11 6.16798e-05 12 0.942211 13 8.98448 14 9.54932e-05 15 14.1731 16 1.38892 17 0.0989144 18 0.0732706 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21018.7030741 Extracting fit parameters... 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 1.548e+01 7.875e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 2.216e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 506 Prefactor: 1.031e+00 7.327e-02 0.000e+00 1.000e+01 ( 1.000e+00) 507 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 508 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 505 Normalization: 8.641e-01 9.891e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.07 Ra Dec: 9.470 12.653 Photon Index (Fixed Index): 2.22 +/- 0.00 Photon Flux (Fixed Index): 3.81e-08 +/- 1.94e-08 Energy Flux (Fixed Index): 1.66e-05 +/- 8.46e-06 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) = 21016.7967352 delta logL = 1.90633889091 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21016.7739314 delta logL = 1.92914271915 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.4596 1.0000 .0000 .10000E+07 2 'Index ' 3.0237 1.0000 .0000 10.000 3 'Normalizat' .81816 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0493 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5090E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21016.77 FROM MIGRAD STATUS=CONVERGED 57 CALLS 260 TOTAL EDM= .40E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.4552 24.809 .39465E-03 .10152E-01 2 Index 3.0241 1.5046 .12644 .48639E-03 3 Normalizat .81819 .34904E-01 .65398E-01 .11806E-03 4 Prefactor 1.0492 .24135E-01 .39953E-01 .54029E-04 ERR DEF= .500 Final values: Prefactor = 6.45524 Index = 3.02413 Normalizat = 0.81819 Prefactor = 1.04924 ********** ** 18 **HESSE ********** FCN= 21016.77 FROM HESSE STATUS=OK 33 CALLS 293 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.4552 9.0194 .12908E-04 -1.5657 2 Index 3.0241 .71665 .44015E-02 -.40626 3 Normalizat .81819 .11862 .28931E-03 -.99397 4 Prefactor 1.0492 .87637E-01 .19382E-03 -.91106 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.39591e-10 Minuit parameter uncertainties: 1 9.01944 2 0.719587 3 0.118657 4 0.0876491 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21016.7739308 delta logL = 1.92914331622 Extracting fit parameters... 4FGL J0037.8+1239 Spectrum: PowerLaw 160 Prefactor: 6.455e+00 9.019e+00 0.000e+00 1.000e+06 ( 1.000e-13) 161 Index: 3.024e+00 7.196e-01 0.000e+00 1.000e+01 (-1.000e+00) 162 Scale: 1.310e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 506 Prefactor: 1.049e+00 8.765e-02 0.000e+00 1.000e+01 ( 1.000e+00) 507 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 508 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 505 Normalization: 8.182e-01 1.187e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.06 Ra Dec: 9.470 12.653 Photon Index (Free Index): 3.02 +/- 0.72 Photon Flux (Free Index): 7.65e-08 +/- 3.07e-08 Energy Flux (Free Index): 1.51e-05 +/- 6.34e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/30952400/cmap_HighResolution_803865601_804470401_4FGL_J0037.8+1239_weekly_bin934.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.81e-08', energy_flux2='1.51e-05', photon_flux_error='1.94e-08', dlogl='1.93e+00', energy_flux='1.66e-05', photon_flux2='7.65e-08', job_status='DONE', time_completed='2026-07-07 14:14:18.227199', photon_index_error2='0.72', photon_index2='3.02', ts='6.07', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='6.34e-06', EG='0.86', time_epoch_completed='1783458858.23', return_code='0', job_id='30952400', GAL2='1.05', EG2='0.82', return_code2='0', energy_flux_error='8.46e-06', photon_flux_error2='3.07e-08', ts2='10.06', photon_index='2.22' WHERE bin_id='934' AND source_name='4FGL J0037.8+1239' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 7 14:14:18 PDT 2026