/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 = 17701 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1223.8+8039_weekly_bin882 RA = 185.971, Dec = 80.6598 tmin = 772416001, tmax = 773020801 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='7237905', job_status='RUN', time_executed='2025-07-01 11:18:26.556630', time_epoch_executed='1751393906.56' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='882' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/7237905 Creating custom pfile directory: /lscratch/kocevski/7237905/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/7237905/ft1_4FGL_J1223.8+8039_weekly_bin882.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/7237905/ft1_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237905/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin882.fits ra=185.971 dec=80.6598 rad=12.0 tmin=772416001.0 tmax=773020801.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 13.17 user 6.70 sys 0.32 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.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/7237905/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin882.fits evtable="EVENTS" outfile="/lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.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.89 user 0.24 sys 0.12 Number of photons that the gtmktime cut: 1407 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits" evtable="EVENTS" scfile=/lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits sctable="SC_DATA" outfile=/lscratch/kocevski/7237905/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits .....................! real 20.40 user 17.24 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits sctable="SC_DATA" expcube=/lscratch/kocevski/7237905/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237905/expmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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/7237905/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits .....................! real 67.53 user 61.06 sys 3.83 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 217 point sources and 0 extended sources Setting source of interest to: 4FGL J1223.8+8039 @ 185.971 80.6598 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits scfile=/lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237905/cmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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=185.971 yref=80.6598 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 2.51 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits scfile=/lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237905/cmap_HighResolution_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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=185.971 yref=80.6598 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 2.46 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/7237905/Model_4FGL_J1223.8+8039_weekly_bin882.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... /lscnumber of points = 17701 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1223.8+8039_weekly_bin882 RA = 185.971, Dec = 80.6598 tmin = 772416001, tmax = 773020801 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='7237909', job_status='RUN', time_executed='2025-07-01 11:19:27.474447', time_epoch_executed='1751393967.47' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='882' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/7237909 Creating custom pfile directory: /lscratch/kocevski/7237909/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/7237909/ft1_4FGL_J1223.8+8039_weekly_bin882.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/7237909/ft1_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237909/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin882.fits ra=185.971 dec=80.6598 rad=12.0 tmin=772416001.0 tmax=773020801.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 10.19 user 7.14 sys 0.65 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.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/7237909/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin882.fits evtable="EVENTS" outfile="/lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.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 4.12 user 0.28 sys 0.18 Number of photons that the gtmktime cut: 1407 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits" evtable="EVENTS" scfile=/lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits sctable="SC_DATA" outfile=/lsratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits.....................! real 66.28 user 63.30 sys 0.66 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits', '/lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits', expMap='/lscratch/kocevski/7237905/expmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits', expCube='/lscratch/kocevski/7237905/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/7237905/Model_4FGL_J1223.8+8039_weekly_bin882.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1223.8+8039' 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 1.610e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.117e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/7237905/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits Spacecraft file(s): /lscratch/kocevski/7237905/ft2_4FGL_J1223.8+8039_weekly_bin882.fits Exposure map: /lscratch/kocevski/7237905/expmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits Exposure cube: /lscratch/kocevski/7237905/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/7237905/Model_4FGL_J1223.8+8039_weekly_bin882.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) = 14921.8062271 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14921.8063809 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .85126E-03 1.0000 .0000 .10000E+07 2 'norm ' .59599E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .64085E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' 21.316 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.2373 1.0000 .0000 .10000E+07 6 'Prefactor ' .25931E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' .44397E-01 1.0000 .0000 .10000E+07 8 'norm ' .35037E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 5.3170 1.0000 .0000 .10000E+07 10 'norm ' 1.2067 1.0000 .0000 .10000E+07 11 'norm ' .46947E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 2.9481 1.0000 .0000 .10000E+07 13 'Prefactor ' .17847E-05 1.0000 .0000 .10000E+07 14 'Prefactor ' .28879E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .39023E-03 1.0000 .0000 .10000E+07 16 'norm ' .17318E-03 1.0000 .0000 .10000E+07 17 'norm ' .39667 1.0000 .0000 .10000E+07 18 'Prefactor ' 15.005 1.0000 .0000 .10000E+07 19 'Prefactor ' 10.738 1.0000 .0000 .10000E+07 20 'Prefactor ' 17.864 1.0000 .0000 .10000E+07 21 'Prefactor ' .46782E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' .58607E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' .18862E-02 1.0000 .0000 .10000E+07 24 'Prefactor ' 29.427 1.0000 .0000 .10000E+07 25 'norm ' 6.5993 1.0000 .0000 .10000E+07 26 'Prefactor ' .89326E-05 1.0000 .0000 .10000E+07 27 'Normalizat' 1.2552 1.0000 .10000E-01 10.000 28 'Prefactor ' .87552 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14921.80 FROM MIGRAD STATUS=CONVERGED 136 CALLS 2475 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10880E-06 2.5769 .40516E-06** at limit ** 2 norm .16098E-08 1.7635 .13231E-05** at limit ** 3 Prefactor .40357E-07 10.079 .15656E-05** at limit ** 4 Prefactor 21.301 3.1353 -.26883E-06 -.62120E-01 5 Prefactor 3.2011 2.7754 .39555E-06 .62367E-01 6 Prefactor .17986E-07 27.521 .15515E-05** at limit ** 7 Prefactor .11102E-09 27.737 -.25102E-05** at limit ** 8 norm .26090E-07 2.7595 .12673E-05** at limit ** 9 Prefactor 5.3318 4.3182 -.27149E-07 -.17747E-01 10 norm 1.2064 .65651 -.53336E-07 -.30840E-02 11 norm .55511E-10 1.0623 .50920E-06** at limit ** 12 Prefactor 2.9329 5.3201 -.16122E-06 .23593E-01 13 Prefactor .22204E-09 1.0609 -.10630E-05** at limit ** 14 Prefactor .16614E-06 2.6988 .33379E-06** at limit ** 15 Prefactor .13703E-05 4.3793 .68943E-06** at limit ** 16 norm .23259E-07 3.4958 -.74308E-06** at limit ** 17 norm .39300 1.5518 -.41090E-06 .21671E-03 18 Prefactor 14.994 1.0020 -.73876E-10 .45017E-03 19 Prefactor 10.736 1.0150 -.15707E-07 -.40156E-02 20 Prefactor 17.846 1.0920 -.35146E-07 .70523E-02 21 Prefactor .31086E-07 1.7930 .14227E-05** at limit ** 22 Prefactor .15599E-07 5.2742 .65045E-07** at limit ** 23 Prefactor .12368E-06 4.4530 -.41801E-06** at limit ** 24 Prefactor 29.431 2.0868 -.17249E-06 .96604E-01 25 norm 6.6027 1.1103 -.99919E-08 -.60507E-02 26 Prefactor .11862E-05 7.0919 -.53539E-06** at limit ** 27 Normalizat 1.2553 .12614 .91707E-06 .23561E-04 28 Prefactor .87549 .84573E-01 .40177E-06 .18116E-03 ERR DEF= .500 Final values: Prefactor = 1.08802e-07 norm = 1.60982e-09 Prefactor = 4.03566e-08 Prefactor = 21.301 Prefactor = 3.20107 Prefactor = 1.79856e-08 Prefactor = 1.11022e-10 norm = 2.60902e-08 Prefactor = 5.33182 norm = 1.20638 norm = 5.55112e-11 Prefactor = 2.93294 Prefactor = 2.22045e-10 Prefactor = 1.66145e-07 Prefactor = 1.37035e-06 norm = 2.32592e-08 norm = 0.393002 Prefactor = 14.9936 Prefactor = 10.7356 Prefactor = 17.8464 Prefactor = 3.10862e-08 Prefactor = 1.55986e-08 Prefactor = 1.23679e-07 Prefactor = 29.4312 norm = 6.60274 Prefactor = 1.18622e-06 Normalizat = 1.25532 Prefactor = 0.87549 ********** ** 18 **HESSE ********** FCN= 14921.80 FROM HESSE STATUS=OK 583 CALLS 3058 TOTAL EDM= .74E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10880E-06 4.6904 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .16098E-08 5.1056 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .40357E-07 10.917 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 21.301 8.6485 .21666E-03 -1.5616 5 Prefactor 3.2011 5.9940 .56271E-03 -1.5672 6 Prefactor .17986E-07 3.7332 .12572E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .11102E-09 8.6688 .15771E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .26090E-07 3.6062 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 5.3318 4.4264 .43562E-03 -1.5662 10 norm 1.2064 .65509 .10309E-02 -1.5686 11 norm .55511E-10 1.0607 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.9329 5.8491 .59124E-03 -1.5674 13 Prefactor .22204E-09 1.0652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .16614E-06 6.5245 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .13703E-05 15.068 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .23259E-07 4.0875 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .39300 1.5596 .89874E-03 -1.5695 18 Prefactor 14.994 16.014 .25830E-03 -1.5631 19 Prefactor 10.736 8.2106 .30551E-03 -1.5642 20 Prefactor 17.846 19.271 .23670E-03 -1.5623 21 Prefactor .31086E-07 5.2490 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .15599E-07 15.649 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .12368E-06 7.1783 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 29.431 35.388 .18437E-03 -1.5599 25 norm 6.6027 6.5455 .39040E-03 -1.5657 26 Prefactor .11862E-05 16.173 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Normalizat 1.2553 .11450 .58787E-01 -.84910 28 Prefactor .87549 .76116E-01 .44692E-01 -.97003 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.37014e-07 Minuit parameter uncertainties: 1 0.0014286 2 0.000182376 3 0.00132778 4 8.64855 5 5.99399 6 0.000518317 7 6.72926e-05 8 0.000613748 9 4.42642 10 0.655086 11 1.13436e-05 12 5.84908 13 3.0464e-05 14 0.00208215 15 0.00908808 16 0.000616725 17 1.55963 18 16.0142 19 8.21062 20 19.2711 21 0.00080774 22 0.000988017 23 0.00188427 24 35.3882 25 6.54552 26 0.00876005 27 0.114527 28 0.0761248 cratch/kocevski/7237909/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits .....................! real 25.25 user 20.74 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits sctable="SC_DATA" expcube=/lscratch/kocevski/7237909/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237909/expmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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/7237909/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits .....................! real 80.16 user 71.12 sys 4.40 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 217 point sources and 0 extended sources Setting source of interest to: 4FGL J1223.8+8039 @ 185.971 80.6598 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits scfile=/lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237909/cmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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=185.971 yref=80.6598 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 3.60 user 0.28 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits scfile=/lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits outfile=/lscratch/kocevski/7237909/cmap_HighResolution_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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=185.971 yref=80.6598 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 4.01 user 0.30 sys 0.20 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/7237909/Model_4FGL_J1223.8+8039_weekly_bin882.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... /lscDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14921.8043495 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 3.930e-01 1.560e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.117e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 8.755e-01 7.612e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 1.255e+00 1.145e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.07 Ra Dec: 185.971 80.660 Photon Flux Upper Limit: 3.61447543234e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.74774518049e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/7237905/likelihoodResults_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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) = 14921.7563505 delta logL = 0.0479989894775 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14921.7556682 delta logL = 0.048681273367 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .42845 1.0000 .0000 .10000E+07 2 'alpha ' 2.7671 1.0000 .0000 5.0000 3 'Normalizat' 1.2514 1.0000 .10000E-01 10.000 4 'Prefactor ' .87588 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 14921.76 FROM MIGRAD STATUS=FAILED 99 CALLS 260 TOTAL EDM= .12E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .42833 2.4289 .19780E-04 -.22071E-03 2 alpha 2.7677 3.8020 .57174E-01 .26825E-03 3 Normalizat 1.2514 .12748 .26032E-03 -.68128E-05 4 Prefactor .87588 .85040E-01 .20450E-03 -.66710E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 14921.76 FROM SIMPLEX STATUS=UNCHANGED 79 CALLS 339 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .42833 2.4289 .76995E-05 -1.5695 2 alpha 2.7677 3.8020 .22154E-02 .10728 3 Normalizat 1.2514 .12748 .19984E-03 -.85029 4 Prefactor .87588 .85040E-01 .16948E-03 -.96989 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14921.76 FROM MIGRAD STATUS=CONVERGED 30 CALLS 369 TOTAL EDM= .60E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .42833 1.4053 .79120E-06 -.27465E-03 2 alpha 2.7677 1.9607 .11435E-01 -.11036E-05 3 Normalizat 1.2514 .12655 .10413E-04 -.69875E-05 4 Prefactor .87588 .84588E-01 .81801E-05 -.66710E-05 ERR DEF= .500 Final values: norm = 0.428335 alpha = 2.76769 Normalizat = 1.25141 Prefactor = 0.875879 ********** ** 18 **HESSE ********** FCN= 14921.76 FROM HESSE STATUS=OK 25 CALLS 394 TOTAL EDM= .11E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .42833 1.3507 .37419E-06 -1.5695 2 alpha 2.7677 1.9047 .45739E-03 .10728 3 Normalizat 1.2514 .12644 .20826E-05 -.85029 4 Prefactor .87588 .84534E-01 .16360E-05 -.96989 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.13114e-12 Minuit parameter uncertainties: 1 1.35074 2 2.16998 3 0.126467 4 0.0845466 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) = 14921.7556682 delta logL = 0.0486813131247 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 4.283e-01 1.351e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.768e+00 2.170e+00 0.000e+00 5.000e+00 ( 1.000e+00) 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 8.759e-01 8.455e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 1.251e+00 1.265e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.07 Ra Dec: 185.971 80.660 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/7237905/cmap_HighResolution_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.75e-05', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2025-07-01 11:48:05.869841', job_id='7237905', GAL2='0.88', fit_tolerance='1e-08', EG2='1.25', EG='1.26', time_epoch_completed='1751395685.87', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.87e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='882' AND source_name='4FGL J1223.8+8039' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 1 11:48:11 PDT 2025 ratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits.....................! real 83.69 user 77.29 sys 1.57 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits', '/lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits', expMap='/lscratch/kocevski/7237909/expmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits', expCube='/lscratch/kocevski/7237909/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/7237909/Model_4FGL_J1223.8+8039_weekly_bin882.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1223.8+8039' 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 1.610e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.117e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/7237909/ft1_filtered_4FGL_J1223.8+8039_weekly_bin882.fits Spacecraft file(s): /lscratch/kocevski/7237909/ft2_4FGL_J1223.8+8039_weekly_bin882.fits Exposure map: /lscratch/kocevski/7237909/expmap_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits Exposure cube: /lscratch/kocevski/7237909/ltcube_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/7237909/Model_4FGL_J1223.8+8039_weekly_bin882.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) = 14921.8062271 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14921.8063809 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .85126E-03 1.0000 .0000 .10000E+07 2 'norm ' .59599E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .64085E-02 1.0000 .0000 .10000E+07 4 'Prefactor ' 21.316 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.2373 1.0000 .0000 .10000E+07 6 'Prefactor ' .25931E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' .44397E-01 1.0000 .0000 .10000E+07 8 'norm ' .35037E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 5.3170 1.0000 .0000 .10000E+07 10 'norm ' 1.2067 1.0000 .0000 .10000E+07 11 'norm ' .46947E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 2.9481 1.0000 .0000 .10000E+07 13 'Prefactor ' .17847E-05 1.0000 .0000 .10000E+07 14 'Prefactor ' .28879E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .39023E-03 1.0000 .0000 .10000E+07 16 'norm ' .17318E-03 1.0000 .0000 .10000E+07 17 'norm ' .39667 1.0000 .0000 .10000E+07 18 'Prefactor ' 15.005 1.0000 .0000 .10000E+07 19 'Prefactor ' 10.738 1.0000 .0000 .10000E+07 20 'Prefactor ' 17.864 1.0000 .0000 .10000E+07 21 'Prefactor ' .46782E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' .58607E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' .18862E-02 1.0000 .0000 .10000E+07 24 'Prefactor ' 29.427 1.0000 .0000 .10000E+07 25 'norm ' 6.5993 1.0000 .0000 .10000E+07 26 'Prefactor ' .89326E-05 1.0000 .0000 .10000E+07 27 'Normalizat' 1.2552 1.0000 .10000E-01 10.000 28 'Prefactor ' .87552 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14921.80 FROM MIGRAD STATUS=CONVERGED 136 CALLS 2475 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10880E-06 2.5769 .40516E-06** at limit ** 2 norm .16098E-08 1.7635 .13231E-05** at limit ** 3 Prefactor .40357E-07 10.079 .15656E-05** at limit ** 4 Prefactor 21.301 3.1353 -.26883E-06 -.62120E-01 5 Prefactor 3.2011 2.7754 .39555E-06 .62367E-01 6 Prefactor .17986E-07 27.521 .15515E-05** at limit ** 7 Prefactor .11102E-09 27.737 -.25102E-05** at limit ** 8 norm .26090E-07 2.7595 .12673E-05** at limit ** 9 Prefactor 5.3318 4.3182 -.27149E-07 -.17747E-01 10 norm 1.2064 .65651 -.53336E-07 -.30840E-02 11 norm .55511E-10 1.0623 .50920E-06** at limit ** 12 Prefactor 2.9329 5.3201 -.16122E-06 .23593E-01 13 Prefactor .22204E-09 1.0609 -.10630E-05** at limit ** 14 Prefactor .16614E-06 2.6988 .33379E-06** at limit ** 15 Prefactor .13703E-05 4.3793 .68943E-06** at limit ** 16 norm .23259E-07 3.4958 -.74308E-06** at limit ** 17 norm .39300 1.5518 -.41090E-06 .21671E-03 18 Prefactor 14.994 1.0020 -.73876E-10 .45017E-03 19 Prefactor 10.736 1.0150 -.15707E-07 -.40156E-02 20 Prefactor 17.846 1.0920 -.35146E-07 .70523E-02 21 Prefactor .31086E-07 1.7930 .14227E-05** at limit ** 22 Prefactor .15599E-07 5.2742 .65045E-07** at limit ** 23 Prefactor .12368E-06 4.4530 -.41801E-06** at limit ** 24 Prefactor 29.431 2.0868 -.17249E-06 .96604E-01 25 norm 6.6027 1.1103 -.99919E-08 -.60507E-02 26 Prefactor .11862E-05 7.0919 -.53539E-06** at limit ** 27 Normalizat 1.2553 .12614 .91707E-06 .23561E-04 28 Prefactor .87549 .84573E-01 .40177E-06 .18116E-03 ERR DEF= .500 Final values: Prefactor = 1.08802e-07 norm = 1.60982e-09 Prefactor = 4.03566e-08 Prefactor = 21.301 Prefactor = 3.20107 Prefactor = 1.79856e-08 Prefactor = 1.11022e-10 norm = 2.60902e-08 Prefactor = 5.33182 norm = 1.20638 norm = 5.55112e-11 Prefactor = 2.93294 Prefactor = 2.22045e-10 Prefactor = 1.66145e-07 Prefactor = 1.37035e-06 norm = 2.32592e-08 norm = 0.393002 Prefactor = 14.9936 Prefactor = 10.7356 Prefactor = 17.8464 Prefactor = 3.10862e-08 Prefactor = 1.55986e-08 Prefactor = 1.23679e-07 Prefactor = 29.4312 norm = 6.60274 Prefactor = 1.18622e-06 Normalizat = 1.25532 Prefactor = 0.87549 ********** ** 18 **HESSE ********** FCN= 14921.80 FROM HESSE STATUS=OK 583 CALLS 3058 TOTAL EDM= .74E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10880E-06 4.6904 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .16098E-08 5.1056 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .40357E-07 10.917 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 21.301 8.6485 .21666E-03 -1.5616 5 Prefactor 3.2011 5.9940 .56271E-03 -1.5672 6 Prefactor .17986E-07 3.7332 .12572E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .11102E-09 8.6688 .15771E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .26090E-07 3.6062 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 5.3318 4.4264 .43562E-03 -1.5662 10 norm 1.2064 .65509 .10309E-02 -1.5686 11 norm .55511E-10 1.0607 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.9329 5.8491 .59124E-03 -1.5674 13 Prefactor .22204E-09 1.0652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .16614E-06 6.5245 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .13703E-05 15.068 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .23259E-07 4.0875 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .39300 1.5596 .89874E-03 -1.5695 18 Prefactor 14.994 16.014 .25830E-03 -1.5631 19 Prefactor 10.736 8.2106 .30551E-03 -1.5642 20 Prefactor 17.846 19.271 .23670E-03 -1.5623 21 Prefactor .31086E-07 5.2490 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .15599E-07 15.649 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .12368E-06 7.1783 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 29.431 35.388 .18437E-03 -1.5599 25 norm 6.6027 6.5455 .39040E-03 -1.5657 26 Prefactor .11862E-05 16.173 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Normalizat 1.2553 .11450 .58787E-01 -.84910 28 Prefactor .87549 .76116E-01 .44692E-01 -.97003 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.37014e-07 Minuit parameter uncertainties: 1 0.0014286 2 0.000182376 3 0.00132778 4 8.64855 5 5.99399 6 0.000518317 7 6.72926e-05 8 0.000613748 9 4.42642 10 0.655086 11 1.13436e-05 12 5.84908 13 3.0464e-05 14 0.00208215 15 0.00908808 16 0.000616725 17 1.55963 18 16.0142 19 8.21062 20 19.2711 21 0.00080774 22 0.000988017 23 0.00188427 24 35.3882 25 6.54552 26 0.00876005 27 0.114527 28 0.0761248 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14921.8043495 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 3.930e-01 1.560e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.117e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 8.755e-01 7.612e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 1.255e+00 1.145e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.07 Ra Dec: 185.971 80.660 Photon Flux Upper Limit: 3.61447543234e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.74774518049e-05 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/7237909/likelihoodResults_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.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) = 14921.7563505 delta logL = 0.0479989894775 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14921.7556682 delta logL = 0.048681273367 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .42845 1.0000 .0000 .10000E+07 2 'alpha ' 2.7671 1.0000 .0000 5.0000 3 'Normalizat' 1.2514 1.0000 .10000E-01 10.000 4 'Prefactor ' .87588 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 14921.76 FROM MIGRAD STATUS=FAILED 99 CALLS 260 TOTAL EDM= .12E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .42833 2.4289 .19780E-04 -.22071E-03 2 alpha 2.7677 3.8020 .57174E-01 .26825E-03 3 Normalizat 1.2514 .12748 .26032E-03 -.68128E-05 4 Prefactor .87588 .85040E-01 .20450E-03 -.66710E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 14921.76 FROM SIMPLEX STATUS=UNCHANGED 79 CALLS 339 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .42833 2.4289 .76995E-05 -1.5695 2 alpha 2.7677 3.8020 .22154E-02 .10728 3 Normalizat 1.2514 .12748 .19984E-03 -.85029 4 Prefactor .87588 .85040E-01 .16948E-03 -.96989 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 14921.76 FROM MIGRAD STATUS=CONVERGED 30 CALLS 369 TOTAL EDM= .60E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .42833 1.4053 .79120E-06 -.27465E-03 2 alpha 2.7677 1.9607 .11435E-01 -.11036E-05 3 Normalizat 1.2514 .12655 .10413E-04 -.69875E-05 4 Prefactor .87588 .84588E-01 .81801E-05 -.66710E-05 ERR DEF= .500 Final values: norm = 0.428335 alpha = 2.76769 Normalizat = 1.25141 Prefactor = 0.875879 ********** ** 18 **HESSE ********** FCN= 14921.76 FROM HESSE STATUS=OK 25 CALLS 394 TOTAL EDM= .11E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .42833 1.3507 .37419E-06 -1.5695 2 alpha 2.7677 1.9047 .45739E-03 .10728 3 Normalizat 1.2514 .12644 .20826E-05 -.85029 4 Prefactor .87588 .84534E-01 .16360E-05 -.96989 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.13114e-12 Minuit parameter uncertainties: 1 1.35074 2 2.16998 3 0.126467 4 0.0845466 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) = 14921.7556682 delta logL = 0.0486813131247 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 4.283e-01 1.351e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.768e+00 2.170e+00 0.000e+00 5.000e+00 ( 1.000e+00) 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 8.759e-01 8.455e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 1.251e+00 1.265e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.07 Ra Dec: 185.971 80.660 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/7237909/cmap_HighResolution_772416001_773020801_4FGL_J1223.8+8039_weekly_bin882.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.75e-05', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2025-07-01 11:55:18.318165', job_id='7237909', GAL2='0.88', fit_tolerance='1e-08', EG2='1.25', EG='1.26', time_epoch_completed='1751396118.32', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.87e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='882' AND source_name='4FGL J1223.8+8039' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 1 11:55:19 PDT 2025