/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 = 17462 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1224.9+2122_weekly_bin935 RA = 186.228, Dec = 21.3814 tmin = 804470401, tmax = 805075201 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='31118589', job_status='RUN', time_executed='2026-07-09 06:38:12.717878', time_epoch_executed='1783604292.72' WHERE source_name='4FGL J1224.9+2122' and cadence='weekly' and bin_id='935' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31118589 Creating custom pfile directory: /lscratch/kocevski/31118589/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31118589/ft1_4FGL_J1224.9+2122_weekly_bin935.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31118589/ft1_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118589/ft1_filteredMKT_4FGL_J1224.9+2122_weekly_bin935.fits ra=186.228 dec=21.3814 rad=12.0 tmin=804470401.0 tmax=805075201.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 6.24 user 5.30 sys 0.24 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.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/31118589/ft1_filteredMKT_4FGL_J1224.9+2122_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.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.05 user 0.24 sys 0.13 Number of photons that the gtmktime cut: 1489 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits sctable="SC_DATA"number of points = 17462 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1224.9+2122_weekly_bin935 RA = 186.228, Dec = 21.3814 tmin = 804470401, tmax = 805075201 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='31118909', job_status='RUN', time_executed='2026-07-09 06:41:02.772084', time_epoch_executed='1783604462.77' WHERE source_name='4FGL J1224.9+2122' and cadence='weekly' and bin_id='935' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31118909 Creating custom pfile directory: /lscratch/kocevski/31118909/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31118909/ft1_4FGL_J1224.9+2122_weekly_bin935.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804470401.0 && nMetStart<805075201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31118909/ft1_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118909/ft1_filteredMKT_4FGL_J1224.9+2122_weekly_bin935.fits ra=186.228 dec=21.3814 rad=12.0 tmin=804470401.0 tmax=805075201.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 5.63 user 4.88 sys 0.35 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.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/31118909/ft1_filteredMKT_4FGL_J1224.9+2122_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.62 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 1489 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31118589/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits .....................! real 18.98 user 17.89 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31118589/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118589/expmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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/31118589/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits .....................! real 66.99 user 61.80 sys 3.96 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 187 point sources and 0 extended sources Setting source of interest to: 4FGL J1224.9+2122 @ 186.228 21.3814 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits scfile=/lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118589/cmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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=186.228 yref=21.3814 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.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits scfile=/lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118589/cmap_HighResolution_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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=186.228 yref=21.3814 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.84 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31118589/Model_4FGL_J1224.9+2122_weekly_bin935.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 sourc outfile=/lscratch/kocevski/31118909/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits .....................! real 17.98 user 17.19 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31118909/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118909/expmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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/31118909/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits .....................! real 64.64 user 59.97 sys 3.96 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 187 point sources and 0 extended sources Setting source of interest to: 4FGL J1224.9+2122 @ 186.228 21.3814 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits scfile=/lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118909/cmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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=186.228 yref=21.3814 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.63 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits scfile=/lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits outfile=/lscratch/kocevski/31118909/cmap_HighResolution_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.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=186.228 yref=21.3814 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31118909/Model_4FGL_J1224.9+2122_weekly_bin935.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/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits.....................! real 48.42 user 46.48 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits', '/lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits', expMap='/lscratch/kocevski/31118589/expmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits', expCube='/lscratch/kocevski/31118589/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31118589/Model_4FGL_J1224.9+2122_weekly_bin935.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1224.9+2122' 4FGL J1224.9+2122 Spectrum: LogParabola 312 norm: 2.090e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-10) 313 alpha: 2.278e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 314 beta: 4.587e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 315 Eb: 3.924e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31118589/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits Spacecraft file(s): /lscratch/kocevski/31118589/ft2_4FGL_J1224.9+2122_weekly_bin935.fits Exposure map: /lscratch/kocevski/31118589/expmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits Exposure cube: /lscratch/kocevski/31118589/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31118589/Model_4FGL_J1224.9+2122_weekly_bin935.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) = 16540.7668239 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16540.6928569 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.7516 1.0000 .0000 .10000E+07 2 'Prefactor ' .44685E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.6892 1.0000 .0000 .10000E+07 4 'norm ' 19.210 1.0000 .0000 .10000E+07 5 'Prefactor ' .50310E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .28944E-05 1.0000 .0000 .10000E+07 7 'Prefactor ' 29.152 1.0000 .0000 .10000E+07 8 'Prefactor ' .41087E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.8356 1.0000 .0000 .10000E+07 10 'norm ' 2.6667 1.0000 .0000 .10000E+07 11 'Prefactor ' .60746 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.6928 1.0000 .0000 .10000E+07 13 'Prefactor ' .11484E-03 1.0000 .0000 .10000E+07 14 'norm ' .13323E-08 1.0000 .0000 .10000E+07 15 'norm ' 8.5393 1.0000 .0000 .10000E+07 16 'Prefactor ' .17819E-06 1.0000 .0000 .10000E+07 17 'Prefactor ' 3.6727 1.0000 .0000 .10000E+07 18 'Prefactor ' .21078E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' .10173E-02 1.0000 .0000 .10000E+07 20 'norm ' 2.5369 1.0000 .0000 .10000E+07 21 'norm ' .58453E-07 1.0000 .0000 .10000E+07 22 'Normalizat' 1.3057 1.0000 .10000E-01 10.000 23 'Prefactor ' .98872 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16540.69 FROM MIGRAD STATUS=CONVERGED 146 CALLS 1833 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6992 15.880 .14233E-04 -.28396E-01 2 Prefactor .22204E-09 1.3496 .10974E-06** at limit ** 3 Prefactor 2.6922 1.5640 -.54611E-06 -.89155E-02 4 norm 19.214 1.8156 -.10656E-06 .10119E-01 5 Prefactor .11102E-09 12.220 -.30323E-06** at limit ** 6 Prefactor .0000 .69332 -.64917E-09** at limit ** 7 Prefactor 28.247 50.315 -.33131E-05 .37255E-02 8 Prefactor .0000 .72510 -.88806E-09** at limit ** 9 Prefactor 1.8340 1.8496 .23713E-06 .83145E-02 10 norm 2.6670 1.7876 -.11529E-07 -.15290E-02 11 Prefactor .60670 .90444 -.56027E-07 -.51867E-02 12 Prefactor 1.6921 1.2096 .16314E-06 .22061E-01 13 Prefactor .21094E-08 2.9852 .36028E-06** at limit ** 14 norm .0000 .38031E-01 -.62766E-08** at limit ** 15 norm 8.5478 3.2383 .18134E-06 .15605E-01 16 Prefactor .22204E-08 2.6934 .37062E-06** at limit ** 17 Prefactor 3.6734 4.2760 -.29452E-07 -.21069E-02 18 Prefactor .90949E-06 2.7041 -.33947E-05** at limit ** 19 Prefactor .35738E-06 4.3628 .25120E-05** at limit ** 20 norm 2.5399 1.7240 .69926E-07 .51986E-02 21 norm .12768E-07 4.9184 .26855E-06** at limit ** 22 Normalizat 1.3058 .14563 -.96376E-05 -.28356E-03 23 Prefactor .98887 .13996 .38005E-05 -.32445E-03 ERR DEF= .500 Final values: Prefactor = 4.69917 Prefactor = 2.22045e-10 Prefactor = 2.69216 norm = 19.2138 Prefactor = 1.11022e-10 Prefactor = 0 Prefactor = 28.2472 Prefactor = 0 Prefactor = 1.83401 norm = 2.66702 Prefactor = 0.606701 Prefactor = 1.69206 Prefactor = 2.10942e-09 norm = 0 norm = 8.54775 Prefactor = 2.22045e-09 Prefactor = 3.67337 Prefactor = 9.09495e-07 Prefactor = 3.57381e-07 norm = 2.53985 norm = 1.27676e-08 Normalizat = 1.30577 Prefactor = 0.988868 ********** ** 18 **HESSE ********** FCN= 16540.69 FROM HESSE STATUS=OK 420 CALLS 2253 TOTAL EDM= .27E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.6992 17.733 .46134E-03 -1.5665 2 Prefactor .22204E-09 1.3498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.6922 1.5989 .62104E-03 -1.5675 4 norm 19.214 1.8222 .22824E-03 -1.5620 5 Prefactor .11102E-09 12.393 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .0000 .69287 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 28.247 50.660 .18524E-03 -1.5602 8 Prefactor .0000 .72212 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.8340 1.8631 .76982E-03 -1.5681 10 norm 2.6670 1.8067 .62386E-03 -1.5675 11 Prefactor .60670 .92756 .68562E-03 -1.5692 12 Prefactor 1.6921 1.2125 .80862E-03 -1.5682 13 Prefactor .21094E-08 2.9678 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .0000 .36706E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 8.5478 3.2382 .34280E-03 -1.5649 16 Prefactor .22204E-08 2.6976 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 3.6734 4.2851 .52680E-03 -1.5670 18 Prefactor .90949E-06 6.0476 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .35738E-06 5.6523 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.5399 1.7186 .64095E-03 -1.5676 21 norm .12768E-07 4.9714 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Normalizat 1.3058 .12274 .59610E-01 -.83394 23 Prefactor .98887 .11814 .66733E-01 -.93102 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.68018e-07 Minuit parameter uncertainties: 1 17.7334 2 3.2447e-05 3 1.59887 4 1.82224 5 6.95585e-05 6 4.21609e-06 7 50.661 8 3.73698e-06 9 1.86312 10 1.80675 11 0.927557 12 1.2125 13 0.000157765 14 3.53707e-07 15 3.23821 16 0.000155588 17 4.28509 18 0.00469054 19 0.00284261 20 1.71864 21 0.000503418 22 0.122772 23 0.118169 e GAL_V02 Working on... /lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits.....................! real 49.03 user 47.31 sys 1.07 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits', '/lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits', expMap='/lscratch/kocevski/31118909/expmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits', expCube='/lscratch/kocevski/31118909/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31118909/Model_4FGL_J1224.9+2122_weekly_bin935.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1224.9+2122' 4FGL J1224.9+2122 Spectrum: LogParabola 312 norm: 2.090e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-10) 313 alpha: 2.278e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 314 beta: 4.587e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 315 Eb: 3.924e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31118909/ft1_filtered_4FGL_J1224.9+2122_weekly_bin935.fits Spacecraft file(s): /lscratch/kocevski/31118909/ft2_4FGL_J1224.9+2122_weekly_bin935.fits Exposure map: /lscratch/kocevski/31118909/expmap_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits Exposure cube: /lscratch/kocevski/31118909/ltcube_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31118909/Model_4FGL_J1224.9+2122_weekly_bin935.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) = 16540.7668239 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16540.6928569 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.7516 1.0000 .0000 .10000E+07 2 'Prefactor ' .44685E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.6892 1.0000 .0000 .10000E+07 4 'norm ' 19.210 1.0000 .0000 .10000E+07 5 'Prefactor ' .50310E-03 1.0000 .0000 .10000E+07 6 'Prefactor ' .28944E-05 1.0000 .0000 .10000E+07 7 'Prefactor ' 29.152 1.0000 .0000 .10000E+07 8 'Prefactor ' .41087E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.8356 1.0000 .0000 .10000E+07 10 'norm ' 2.6667 1.0000 .0000 .10000E+07 11 'Prefactor ' .60746 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.6928 1.0000 .0000 .10000E+07 13 'Prefactor ' .11484E-03 1.0000 .0000 .10000E+07 14 'norm ' .13323E-08 1.0000 .0000 .10000E+07 15 'norm ' 8.5393 1.0000 .0000 .10000E+07 16 'Prefactor ' .17819E-06 1.0000 .0000 .10000E+07 17 'Prefactor ' 3.6727 1.0000 .0000 .10000E+07 18 'Prefactor ' .21078E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' .10173E-02 1.0000 .0000 .10000E+07 20 'norm ' 2.5369 1.0000 .0000 .10000E+07 21 'norm ' .58453E-07 1.0000 .0000 .10000E+07 22 'Normalizat' 1.3057 1.0000 .10000E-01 10.000 23 'Prefactor ' .98872 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16540.69 FROM MIGRAD STATUS=CONVERGED 146 CALLS 1833 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6992 15.880 .14233E-04 -.28396E-01 2 Prefactor .22204E-09 1.3496 .10974E-06** at limit ** 3 Prefactor 2.6922 1.5640 -.54611E-06 -.89155E-02 4 norm 19.214 1.8156 -.10656E-06 .10119E-01 5 Prefactor .11102E-09 12.220 -.30323E-06** at limit ** 6 Prefactor .0000 .69332 -.64917E-09** at limit ** 7 Prefactor 28.247 50.315 -.33131E-05 .37255E-02 8 Prefactor .0000 .72510 -.88806E-09** at limit ** 9 Prefactor 1.8340 1.8496 .23713E-06 .83145E-02 10 norm 2.6670 1.7876 -.11529E-07 -.15290E-02 11 Prefactor .60670 .90444 -.56027E-07 -.51867E-02 12 Prefactor 1.6921 1.2096 .16314E-06 .22061E-01 13 Prefactor .21094E-08 2.9852 .36028E-06** at limit ** 14 norm .0000 .38031E-01 -.62766E-08** at limit ** 15 norm 8.5478 3.2383 .18134E-06 .15605E-01 16 Prefactor .22204E-08 2.6934 .37062E-06** at limit ** 17 Prefactor 3.6734 4.2760 -.29452E-07 -.21069E-02 18 Prefactor .90949E-06 2.7041 -.33947E-05** at limit ** 19 Prefactor .35738E-06 4.3628 .25120E-05** at limit ** 20 norm 2.5399 1.7240 .69926E-07 .51986E-02 21 norm .12768E-07 4.9184 .26855E-06** at limit ** 22 Normalizat 1.3058 .14563 -.96376E-05 -.28356E-03 23 Prefactor .98887 .13996 .38005E-05 -.32445E-03 ERR DEF= .500 Final values: Prefactor = 4.69917 Prefactor = 2.22045e-10 Prefactor = 2.69216 norm = 19.2138 Prefactor = 1.11022e-10 Prefactor = 0 Prefactor = 28.2472 Prefactor = 0 Prefactor = 1.83401 norm = 2.66702 Prefactor = 0.606701 Prefactor = 1.69206 Prefactor = 2.10942e-09 norm = 0 norm = 8.54775 Prefactor = 2.22045e-09 Prefactor = 3.67337 Prefactor = 9.09495e-07 Prefactor = 3.57381e-07 norm = 2.53985 norm = 1.27676e-08 Normalizat = 1.30577 Prefactor = 0.988868 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16540.6925155 Extracting fit parameters... 4FGL J1224.9+2122 Spectrum: LogParabola 312 norm: 0.000e+00 3.537e-07 0.000e+00 1.000e+06 ( 1.000e-10) 313 alpha: 2.278e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 314 beta: 4.587e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 315 Eb: 3.924e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 593 Prefactor: 9.889e-01 1.182e-01 0.000e+00 1.000e+01 ( 1.000e+00) 594 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 595 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.306e+00 1.228e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 186.228 21.381 Photon Flux Upper Limit: 3.11225283767e-08 ph cm-2 s-1 Energy Flux Upper Limit: None Saving results to: /lscratch/kocevski/31118589/likelihoodResults_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16540.7087912 delta logL = -0.0162756813188 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16540.6925163 delta logL = -7.20971002011e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .11102E-08 1.0000 .0000 .10000E+07 2 'alpha ' 3.3575 1.0000 .0000 5.0000 3 'Normalizat' 1.3058 1.0000 .10000E-01 10.000 4 'Prefactor ' .98895 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 16540.54 FROM MIGRAD STATUS=FAILED 147 CALLS 341 TOTAL EDM= .35E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11528E-01 .22098E-01 .20378E-04** at limit ** 2 alpha 5.0000 3.5835 .88259E-01** at limit ** 3 Normalizat 1.2755 .15150 .26634E-03 -.72392E-04 4 Prefactor 1.0073 .14397 .29283E-03 -.20328E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 16540.54 FROM SIMPLEX STATUS=UNCHANGED 123 CALLS 464 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11528E-01 .22098E-01 .38846E-08 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 5.0000 3.5835 .99042E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Normalizat 1.2755 .15150 .17211E-05 -.84300 4 Prefactor 1.0073 .14397 .37619E-06 -.92487 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16540.54 FROM MIGRAD STATUS=CONVERGED 36 CALLS 500 TOTAL EDM= .81E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11528E-01 .21945E-01 .40755E-05** at limit ** 2 alpha 5.0000 3.5819 .17652E-01** at limit ** 3 Normalizat 1.2755 .15097 .10654E-04 .68295E-05 4 Prefactor 1.0073 .14385 .11713E-04 .23294E-05 ERR DEF= .500 Final values: norm = 0.0115284 alpha = 5 Normalizat = 1.27553 Prefactor = 1.00728 ********** ** 18 **HESSE ********** FCN= 16540.54 FROM HESSE STATUS=OK 25 CALLS 525 TOTAL EDM= .50E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11528E-01 .21920E-01 .16302E-06 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 5.0000 3.5820 .35304E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Normalizat 1.2755 .15116 .21308E-05 -.84300 4 Prefactor 1.0073 .14414 .23426E-05 -.92487 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.95183e-12 Minuit parameter uncertainties: 1 0.0219204 2 1.48724e-06 3 0.15121 4 0.144194 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) = 16540.5435432 delta logL = 0.148972370775 Extracting fit parameters... 4FGL J1224.9+2122 Spectrum: LogParabola 312 norm: 1.153e-02 2.192e-02 0.000e+00 1.000e+06 ( 1.000e-10) 313 alpha: 5.000e+00 1.487e-06 0.000e+00 5.000e+00 ( 1.000e+00) 314 beta: 4.587e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 315 Eb: 3.924e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 593 Prefactor: 1.007e+00 1.442e-01 0.000e+00 1.000e+01 ( 1.000e+00) 594 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 595 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.276e+00 1.512e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 186.228 21.381 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/31118589/cmap_HighResolution_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.11e-08', time_completed='2026-07-09 06:52:09.872625', job_id='31118589', GAL2='1.01', fit_tolerance='1e-08', EG2='1.28', EG='1.31', time_epoch_completed='1783605129.87', return_code2='0', ts='0.00', return_code='0', GAL='0.99', dlogl='1.49e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='935' AND source_name='4FGL J1224.9+2122' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 06:52:09 PDT 2026 ********** ** 18 **HESSE ********** FCN= 16540.69 FROM HESSE STATUS=OK 420 CALLS 2253 TOTAL EDM= .27E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.6992 17.733 .46134E-03 -1.5665 2 Prefactor .22204E-09 1.3498 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.6922 1.5989 .62104E-03 -1.5675 4 norm 19.214 1.8222 .22824E-03 -1.5620 5 Prefactor .11102E-09 12.393 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .0000 .69287 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 28.247 50.660 .18524E-03 -1.5602 8 Prefactor .0000 .72212 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.8340 1.8631 .76982E-03 -1.5681 10 norm 2.6670 1.8067 .62386E-03 -1.5675 11 Prefactor .60670 .92756 .68562E-03 -1.5692 12 Prefactor 1.6921 1.2125 .80862E-03 -1.5682 13 Prefactor .21094E-08 2.9678 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .0000 .36706E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 8.5478 3.2382 .34280E-03 -1.5649 16 Prefactor .22204E-08 2.6976 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 3.6734 4.2851 .52680E-03 -1.5670 18 Prefactor .90949E-06 6.0476 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .35738E-06 5.6523 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.5399 1.7186 .64095E-03 -1.5676 21 norm .12768E-07 4.9714 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Normalizat 1.3058 .12274 .59610E-01 -.83394 23 Prefactor .98887 .11814 .66733E-01 -.93102 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.68018e-07 Minuit parameter uncertainties: 1 17.7334 2 3.2447e-05 3 1.59887 4 1.82224 5 6.95585e-05 6 4.21609e-06 7 50.661 8 3.73698e-06 9 1.86312 10 1.80675 11 0.927557 12 1.2125 13 0.000157765 14 3.53707e-07 15 3.23821 16 0.000155588 17 4.28509 18 0.00469054 19 0.00284261 20 1.71864 21 0.000503418 22 0.122772 23 0.118169 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16540.6925155 Extracting fit parameters... 4FGL J1224.9+2122 Spectrum: LogParabola 312 norm: 0.000e+00 3.537e-07 0.000e+00 1.000e+06 ( 1.000e-10) 313 alpha: 2.278e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 314 beta: 4.587e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 315 Eb: 3.924e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 593 Prefactor: 9.889e-01 1.182e-01 0.000e+00 1.000e+01 ( 1.000e+00) 594 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 595 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.306e+00 1.228e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 186.228 21.381 Photon Flux Upper Limit: 3.11225283767e-08 ph cm-2 s-1 Energy Flux Upper Limit: None Saving results to: /lscratch/kocevski/31118909/likelihoodResults_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16540.7087912 delta logL = -0.0162756813188 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 16540.6925163 delta logL = -7.20971002011e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .11102E-08 1.0000 .0000 .10000E+07 2 'alpha ' 3.3575 1.0000 .0000 5.0000 3 'Normalizat' 1.3058 1.0000 .10000E-01 10.000 4 'Prefactor ' .98895 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 16540.54 FROM MIGRAD STATUS=FAILED 147 CALLS 341 TOTAL EDM= .35E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11528E-01 .22098E-01 .20378E-04** at limit ** 2 alpha 5.0000 3.5835 .88259E-01** at limit ** 3 Normalizat 1.2755 .15150 .26634E-03 -.72392E-04 4 Prefactor 1.0073 .14397 .29283E-03 -.20328E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 16540.54 FROM SIMPLEX STATUS=UNCHANGED 123 CALLS 464 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11528E-01 .22098E-01 .38846E-08 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 5.0000 3.5835 .99042E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Normalizat 1.2755 .15150 .17211E-05 -.84300 4 Prefactor 1.0073 .14397 .37619E-06 -.92487 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16540.54 FROM MIGRAD STATUS=CONVERGED 36 CALLS 500 TOTAL EDM= .81E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .11528E-01 .21945E-01 .40755E-05** at limit ** 2 alpha 5.0000 3.5819 .17652E-01** at limit ** 3 Normalizat 1.2755 .15097 .10654E-04 .68295E-05 4 Prefactor 1.0073 .14385 .11713E-04 .23294E-05 ERR DEF= .500 Final values: norm = 0.0115284 alpha = 5 Normalizat = 1.27553 Prefactor = 1.00728 ********** ** 18 **HESSE ********** FCN= 16540.54 FROM HESSE STATUS=OK 25 CALLS 525 TOTAL EDM= .50E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .11528E-01 .21920E-01 .16302E-06 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 5.0000 3.5820 .35304E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Normalizat 1.2755 .15116 .21308E-05 -.84300 4 Prefactor 1.0073 .14414 .23426E-05 -.92487 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.95183e-12 Minuit parameter uncertainties: 1 0.0219204 2 1.48724e-06 3 0.15121 4 0.144194 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) = 16540.5435432 delta logL = 0.148972370775 Extracting fit parameters... 4FGL J1224.9+2122 Spectrum: LogParabola 312 norm: 1.153e-02 2.192e-02 0.000e+00 1.000e+06 ( 1.000e-10) 313 alpha: 5.000e+00 1.487e-06 0.000e+00 5.000e+00 ( 1.000e+00) 314 beta: 4.587e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 315 Eb: 3.924e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 593 Prefactor: 1.007e+00 1.442e-01 0.000e+00 1.000e+01 ( 1.000e+00) 594 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 595 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.276e+00 1.512e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 186.228 21.381 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/31118909/cmap_HighResolution_804470401_805075201_4FGL_J1224.9+2122_weekly_bin935.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='3.11e-08', time_completed='2026-07-09 06:54:08.079630', job_id='31118909', GAL2='1.01', fit_tolerance='1e-08', EG2='1.28', EG='1.31', time_epoch_completed='1783605248.08', return_code2='0', ts='0.00', return_code='0', GAL='0.99', dlogl='1.49e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='935' AND source_name='4FGL J1224.9+2122' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 9 06:54:08 PDT 2026