/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 = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2216.9+2421_weekly_bin932 RA = 334.238, Dec = 24.3575 tmin = 802656001, tmax = 803260801 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='31276210', job_status='RUN', time_executed='2026-07-10 17:55:39.675777', time_epoch_executed='1783731339.68' WHERE source_name='4FGL J2216.9+2421' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31276210 Creating custom pfile directory: /lscratch/kocevski/31276210/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31276210/ft1_4FGL_J2216.9+2421_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31276210/ft1_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276210/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits ra=334.238 dec=24.3575 rad=12.0 tmin=802656001.0 tmax=803260801.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.91 user 4.13 sys 0.28 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.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/31276210/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.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.91 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 2385 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31276210/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 21.90 user 18.42 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31276210/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276210/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276210/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 69.77 user 64.92 sys 4.18 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 Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 159 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2216.9+2421 @ 334.238 24.3575 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276210/cmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.74 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276210/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 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.79 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_binnumber of points = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2216.9+2421_weekly_bin932 RA = 334.238, Dec = 24.3575 tmin = 802656001, tmax = 803260801 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='31276325', job_status='RUN', time_executed='2026-07-10 17:57:17.192471', time_epoch_executed='1783731437.19' WHERE source_name='4FGL J2216.9+2421' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31276325 Creating custom pfile directory: /lscratch/kocevski/31276325/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31276325/ft1_4FGL_J2216.9+2421_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31276325/ft1_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276325/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits ra=334.238 dec=24.3575 rad=12.0 tmin=802656001.0 tmax=803260801.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.75 user 4.01 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.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/31276325/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.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.65 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 2385 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA"number of points = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2216.9+2421_weekly_bin932 RA = 334.238, Dec = 24.3575 tmin = 802656001, tmax = 803260801 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='31276230', job_status='RUN', time_executed='2026-07-10 17:56:23.305067', time_epoch_executed='1783731383.31' WHERE source_name='4FGL J2216.9+2421' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31276230 Creating custom pfile directory: /lscratch/kocevski/31276230/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31276230/ft1_4FGL_J2216.9+2421_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31276230/ft1_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276230/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits ra=334.238 dec=24.3575 rad=12.0 tmin=802656001.0 tmax=803260801.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.09 user 4.27 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.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/31276230/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.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.88 user 0.23 sys 0.13 Number of photons that the gtmktime cut: 2385 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31276325/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 18.92 user 18.00 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31276325/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276325/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276325/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 67.67 user 62.94 sys 4.02 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 Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 159 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2216.9+2421 @ 334.238 24.3575 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276325/cmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 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.69 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276325/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 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.62 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_binnumber of points = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2216.9+2421_weekly_bin932 RA = 334.238, Dec = 24.3575 tmin = 802656001, tmax = 803260801 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='31276534', job_status='RUN', time_executed='2026-07-10 17:59:19.110251', time_epoch_executed='1783731559.11' WHERE source_name='4FGL J2216.9+2421' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31276534 Creating custom pfile directory: /lscratch/kocevski/31276534/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31276534/ft1_4FGL_J2216.9+2421_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31276534/ft1_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276534/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits ra=334.238 dec=24.3575 rad=12.0 tmin=802656001.0 tmax=803260801.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.80 user 4.02 sys 0.34 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.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/31276534/ft1_filteredMKT_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.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.76 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 2385 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31276230/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 20.30 user 19.23 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31276230/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276230/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276230/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 73.00 user 67.69 sys 4.18 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 Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 159 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2216.9+2421 @ 334.238 24.3575 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276230/cmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 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.83 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276230/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 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.91 user 0.26 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin outfile=/lscratch/kocevski/31276534/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 19.29 user 18.39 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31276534/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276534/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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/31276534/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits .....................! real 68.38 user 64.02 sys 3.65 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 Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template. Added 159 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2216.9+2421 @ 334.238 24.3575 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276534/cmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.70 user 0.24 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits scfile=/lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits outfile=/lscratch/kocevski/31276534/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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=334.238 yref=24.3575 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.03 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31276210/Model_4FGL_J2216.9+2421_weekly_bin932.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 Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits.....................! real 137.45 user 135.12 sys 1.33 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits', '/lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits', expMap='/lscratch/kocevski/31276210/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', expCube='/lscratch/kocevski/31276210/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31276210/Model_4FGL_J2216.9+2421_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2216.9+2421' 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.564e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31276210/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31276210/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Exposure map: /lscratch/kocevski/31276210/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31276210/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31276210/Model_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.135557 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324867 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 63.538 1.0000 .0000 .10000E+07 2 'norm ' .72164E-09 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.3221 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.7474 1.0000 .0000 .10000E+07 5 'norm ' .44152 1.0000 .0000 .10000E+07 6 'Prefactor ' .36438E-05 1.0000 .0000 .10000E+07 7 'norm ' .13805 1.0000 .0000 .10000E+07 8 'Prefactor ' .19873E-06 1.0000 .0000 .10000E+07 9 'norm ' .86798 1.0000 .0000 .10000E+07 10 'Prefactor ' .94807E-06 1.0000 .0000 .10000E+07 11 'norm ' 3.1112 1.0000 .0000 .10000E+07 12 'norm ' 1.1135 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.668 1.0000 .0000 .10000E+07 14 'Prefactor ' 17.877 1.0000 .0000 .10000E+07 15 'Prefactor ' .57944 1.0000 .10000E-03 10000. 16 'Normalizat' .86085 1.0000 .10000E-01 10.000 17 'Prefactor ' 1.0005 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 104 CALLS 1232 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 63.331 53.070 -.40745E-05 .68806E-02 2 norm .0000 .38305 -.70239E-06** at limit ** 3 Prefactor 4.3239 3.5835 -.45944E-06 -.36725E-02 4 Prefactor 1.7605 13.594 -.30430E-06 -.31060E-02 5 norm .44178 .35261 -.99821E-07 -.60160E-02 6 Prefactor .0000 10.396 .34828E-06** at limit ** 7 norm .13790 .40920 -.37721E-06** at limit ** 8 Prefactor .55511E-10 5.2503 .73353E-06** at limit ** 9 norm .86802 1.8250 -.38121E-06 -.24177E-03 10 Prefactor .55511E-10 3.0845 .74758E-06** at limit ** 11 norm 3.1111 .76290 -.76746E-07 .20654E-02 12 norm 1.1135 .73879 -.23555E-06 -.34158E-02 13 Prefactor 13.675 2.0584 .23434E-06 .11532 14 Prefactor 17.885 6.8857 -.44875E-07 .16793E-03 15 Prefactor .57948 .12130 -.10260E-05 .37894E-02 16 Normalizat .86097 .14099 .14733E-04 .15076E-03 17 Prefactor 1.0004 .65508E-01 -.43685E-05 .25656E-03 ERR DEF= .500 Final values: Prefactor = 63.3311 norm = 0 Prefactor = 4.32393 Prefactor = 1.76049 norm = 0.441781 Prefactor = 0 norm = 0.137902 Prefactor = 5.55112e-11 norm = 0.86802 Prefactor = 5.55112e-11 norm = 3.11108 norm = 1.11347 Prefactor = 13.6749 Prefactor = 17.8852 Prefactor = 0.579477 Normalizat = 0.860974 Prefactor = 1.00041 ********** ** 18 **HESSE ********** FCN= 25922.13 FROM HESSE STATUS=OK 269 CALLS 1501 TOTAL EDM= .12E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 63.331 53.613 .12546E-03 -1.5549 2 norm .0000 .38113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.3239 3.6265 .48430E-03 -1.5666 4 Prefactor 1.7605 13.811 .79300E-03 -1.5681 5 norm .44178 .41411 .18081E-02 -1.5695 6 Prefactor .0000 10.414 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .13790 .30692 .24095E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .55511E-10 5.2183 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .86802 1.8375 .48000E-03 -1.5689 10 Prefactor .55511E-10 3.0835 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 3.1111 .76533 .57462E-03 -1.5673 12 norm 1.1135 .73535 .11169E-02 -1.5687 13 Prefactor 13.675 12.402 .27067E-03 -1.5634 14 Prefactor 17.885 6.9091 .23660E-03 -1.5623 15 Prefactor .57948 .12303 .56153E-02 -1.5556 16 Normalizat .86097 .12192 .86597E-01 -.97845 17 Prefactor 1.0004 .55802E-01 .45693E-01 -.92716 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.17489e-06 Minuit parameter uncertainties: 1 53.6135 2 1.10215e-06 3 3.62652 4 9.86191 5 0.414114 6 2.68025e-05 7 0.306924 8 3.66759e-05 9 1.83751 10 2.04608e-05 11 0.765331 12 0.735355 13 12.4017 14 6.90907 15 0.123035 16 0.121957 17 0.0558048 932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31276325/Model_4FGL_J2216.9+2421_weekly_bin932.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 Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits.....................! real 135.71 user 133.08 sys 1.44 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits', '/lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits', expMap='/lscratch/kocevski/31276325/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', expCube='/lscratch/kocevski/31276325/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31276325/Model_4FGL_J2216.9+2421_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2216.9+2421' 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.564e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31276325/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31276325/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Exposure map: /lscratch/kocevski/31276325/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31276325/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31276325/Model_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.135557 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324867 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 63.538 1.0000 .0000 .10000E+07 2 'norm ' .72164E-09 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.3221 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.7474 1.0000 .0000 .10000E+07 5 'norm ' .44152 1.0000 .0000 .10000E+07 6 'Prefactor ' .36438E-05 1.0000 .0000 .10000E+07 7 'norm ' .13805 1.0000 .0000 .10000E+07 8 'Prefactor ' .19873E-06 1.0000 .0000 .10000E+07 9 'norm ' .86798 1.0000 .0000 .10000E+07 10 'Prefactor ' .94807E-06 1.0000 .0000 .10000E+07 11 'norm ' 3.1112 1.0000 .0000 .10000E+07 12 'norm ' 1.1135 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.668 1.0000 .0000 .10000E+07 14 'Prefactor ' 17.877 1.0000 .0000 .10000E+07 15 'Prefactor ' .57944 1.0000 .10000E-03 10000. 16 'Normalizat' .86085 1.0000 .10000E-01 10.000 17 'Prefactor ' 1.0005 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 104 CALLS 1232 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 63.331 53.070 -.40745E-05 .68806E-02 2 norm .0000 .38305 -.70239E-06** at limit ** 3 Prefactor 4.3239 3.5835 -.45944E-06 -.36725E-02 4 Prefactor 1.7605 13.594 -.30430E-06 -.31060E-02 5 norm .44178 .35261 -.99821E-07 -.60160E-02 6 Prefactor .0000 10.396 .34828E-06** at limit ** 7 norm .13790 .40920 -.37721E-06** at limit ** 8 Prefactor .55511E-10 5.2503 .73353E-06** at limit ** 9 norm .86802 1.8250 -.38121E-06 -.24177E-03 10 Prefactor .55511E-10 3.0845 .74758E-06** at limit ** 11 norm 3.1111 .76290 -.76746E-07 .20654E-02 12 norm 1.1135 .73879 -.23555E-06 -.34158E-02 13 Prefactor 13.675 2.0584 .23434E-06 .11532 14 Prefactor 17.885 6.8857 -.44875E-07 .16793E-03 15 Prefactor .57948 .12130 -.10260E-05 .37894E-02 16 Normalizat .86097 .14099 .14733E-04 .15076E-03 17 Prefactor 1.0004 .65508E-01 -.43685E-05 .25656E-03 ERR DEF= .500 Final values: Prefactor = 63.3311 norm = 0 Prefactor = 4.32393 Prefactor = 1.76049 norm = 0.441781 Prefactor = 0 norm = 0.137902 Prefactor = 5.55112e-11 norm = 0.86802 Prefactor = 5.55112e-11 norm = 3.11108 norm = 1.11347 Prefactor = 13.6749 Prefactor = 17.8852 Prefactor = 0.579477 Normalizat = 0.860974 Prefactor = 1.00041 ********** ** 18 **HESSE ********** FCN= 25922.13 FROM HESSE STATUS=OK 269 CALLS 1501 TOTAL EDM= .12E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 63.331 53.613 .12546E-03 -1.5549 2 norm .0000 .38113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.3239 3.6265 .48430E-03 -1.5666 4 Prefactor 1.7605 13.811 .79300E-03 -1.5681 5 norm .44178 .41411 .18081E-02 -1.5695 6 Prefactor .0000 10.414 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .13790 .30692 .24095E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .55511E-10 5.2183 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .86802 1.8375 .48000E-03 -1.5689 10 Prefactor .55511E-10 3.0835 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 3.1111 .76533 .57462E-03 -1.5673 12 norm 1.1135 .73535 .11169E-02 -1.5687 13 Prefactor 13.675 12.402 .27067E-03 -1.5634 14 Prefactor 17.885 6.9091 .23660E-03 -1.5623 15 Prefactor .57948 .12303 .56153E-02 -1.5556 16 Normalizat .86097 .12192 .86597E-01 -.97845 17 Prefactor 1.0004 .55802E-01 .45693E-01 -.92716 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.17489e-06 Minuit parameter uncertainties: 1 53.6135 2 1.10215e-06 3 3.62652 4 9.86191 5 0.414114 6 2.68025e-05 7 0.306924 8 3.66759e-05 9 1.83751 10 2.04608e-05 11 0.765331 12 0.735355 13 12.4017 14 6.90907 15 0.123035 16 0.121957 17 0.0558048 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324763 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.551e-11 3.668e-05 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 5.580e-02 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.220e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 334.238 24.358 Photon Flux Upper Limit: 2.73230391197e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00209457820372 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31276210/likelihoodResults_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.1389792 delta logL = -0.00650289803889 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25922.1324763 delta logL = -2.6364432415e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27617E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.6768 1.0000 .0000 10.000 3 'Normalizat' .86098 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0004 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 42 CALLS 242 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.6064 .42118E-03** at limit ** 2 Index 1.8493 .88355 -.74968E-05 .0000 3 Normalizat .86097 1.1979 -.49073E-05 -.21534E-04 4 Prefactor 1.0004 1.3248 .19672E-05 -.51192E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.84925 Normalizat = 0.860973 Prefactor = 1.00041 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM HESSE STATUS=FAILED 9 CALLS 251 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.6064 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .35492 1.5770 -.74968E-05 -.68175 3 Normalizat .86097 1.1979 -.49073E-05 -.97845 4 Prefactor 1.0004 1.3248 .19672E-05 -.92716 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.98297e-13 Minuit parameter uncertainties: 1 2.89985e-08 2 0.891356 3 1.23823 4 1.37216 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 25922.1324763 delta logL = 1.45519152284e-11 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 0.000e+00 2.900e-08 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 1.849e+00 8.914e-01 0.000e+00 1.000e+01 (-1.000e+00) 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 1.372e+00 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.238e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 334.238 24.358 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/31276210/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.73e-08', time_completed='2026-07-10 18:09:14.653270', job_id='31276210', GAL2='1.00', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1783732154.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='932' AND source_name='4FGL J2216.9+2421' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Jul 10 18:09:15 PDT 2026 932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31276230/Model_4FGL_J2216.9+2421_weekly_bin932.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 Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits.....................! real 141.60 user 139.23 sys 1.01 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits', '/lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits', expMap='/lscratch/kocevski/31276230/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', expCube='/lscratch/kocevski/31276230/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31276230/Model_4FGL_J2216.9+2421_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2216.9+2421' 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.564e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31276230/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31276230/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Exposure map: /lscratch/kocevski/31276230/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31276230/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31276230/Model_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.135557 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324867 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 63.538 1.0000 .0000 .10000E+07 2 'norm ' .72164E-09 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.3221 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.7474 1.0000 .0000 .10000E+07 5 'norm ' .44152 1.0000 .0000 .10000E+07 6 'Prefactor ' .36438E-05 1.0000 .0000 .10000E+07 7 'norm ' .13805 1.0000 .0000 .10000E+07 8 'Prefactor ' .19873E-06 1.0000 .0000 .10000E+07 9 'norm ' .86798 1.0000 .0000 .10000E+07 10 'Prefactor ' .94807E-06 1.0000 .0000 .10000E+07 11 'norm ' 3.1112 1.0000 .0000 .10000E+07 12 'norm ' 1.1135 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.668 1.0000 .0000 .10000E+07 14 'Prefactor ' 17.877 1.0000 .0000 .10000E+07 15 'Prefactor ' .57944 1.0000 .10000E-03 10000. 16 'Normalizat' .86085 1.0000 .10000E-01 10.000 17 'Prefactor ' 1.0005 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 104 CALLS 1232 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 63.331 53.070 -.40745E-05 .68806E-02 2 norm .0000 .38305 -.70239E-06** at limit ** 3 Prefactor 4.3239 3.5835 -.45944E-06 -.36725E-02 4 Prefactor 1.7605 13.594 -.30430E-06 -.31060E-02 5 norm .44178 .35261 -.99821E-07 -.60160E-02 6 Prefactor .0000 10.396 .34828E-06** at limit ** 7 norm .13790 .40920 -.37721E-06** at limit ** 8 Prefactor .55511E-10 5.2503 .73353E-06** at limit ** 9 norm .86802 1.8250 -.38121E-06 -.24177E-03 10 Prefactor .55511E-10 3.0845 .74758E-06** at limit ** 11 norm 3.1111 .76290 -.76746E-07 .20654E-02 12 norm 1.1135 .73879 -.23555E-06 -.34158E-02 13 Prefactor 13.675 2.0584 .23434E-06 .11532 14 Prefactor 17.885 6.8857 -.44875E-07 .16793E-03 15 Prefactor .57948 .12130 -.10260E-05 .37894E-02 16 Normalizat .86097 .14099 .14733E-04 .15076E-03 17 Prefactor 1.0004 .65508E-01 -.43685E-05 .25656E-03 ERR DEF= .500 Final values: Prefactor = 63.3311 norm = 0 Prefactor = 4.32393 Prefactor = 1.76049 norm = 0.441781 Prefactor = 0 norm = 0.137902 Prefactor = 5.55112e-11 norm = 0.86802 Prefactor = 5.55112e-11 norm = 3.11108 norm = 1.11347 Prefactor = 13.6749 Prefactor = 17.8852 Prefactor = 0.579477 Normalizat = 0.860974 Prefactor = 1.00041 ********** ** 18 **HESSE ********** FCN= 25922.13 FROM HESSE STATUS=OK 269 CALLS 1501 TOTAL EDM= .12E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 63.331 53.613 .12546E-03 -1.5549 2 norm .0000 .38113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.3239 3.6265 .48430E-03 -1.5666 4 Prefactor 1.7605 13.811 .79300E-03 -1.5681 5 norm .44178 .41411 .18081E-02 -1.5695 6 Prefactor .0000 10.414 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .13790 .30692 .24095E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .55511E-10 5.2183 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .86802 1.8375 .48000E-03 -1.5689 10 Prefactor .55511E-10 3.0835 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 3.1111 .76533 .57462E-03 -1.5673 12 norm 1.1135 .73535 .11169E-02 -1.5687 13 Prefactor 13.675 12.402 .27067E-03 -1.5634 14 Prefactor 17.885 6.9091 .23660E-03 -1.5623 15 Prefactor .57948 .12303 .56153E-02 -1.5556 16 Normalizat .86097 .12192 .86597E-01 -.97845 17 Prefactor 1.0004 .55802E-01 .45693E-01 -.92716 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.17489e-06 Minuit parameter uncertainties: 1 53.6135 2 1.10215e-06 3 3.62652 4 9.86191 5 0.414114 6 2.68025e-05 7 0.306924 8 3.66759e-05 9 1.83751 10 2.04608e-05 11 0.765331 12 0.735355 13 12.4017 14 6.90907 15 0.123035 16 0.121957 17 0.0558048 932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31276534/Model_4FGL_J2216.9+2421_weekly_bin932.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 Cygnus Loop adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits.....................! real 133.94 user 131.83 sys 1.01 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits', '/lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits', expMap='/lscratch/kocevski/31276534/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', expCube='/lscratch/kocevski/31276534/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31276534/Model_4FGL_J2216.9+2421_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2216.9+2421' 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.564e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31276534/ft1_filtered_4FGL_J2216.9+2421_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31276534/ft2_4FGL_J2216.9+2421_weekly_bin932.fits Exposure map: /lscratch/kocevski/31276534/expmap_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31276534/ltcube_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31276534/Model_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.135557 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324867 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 63.538 1.0000 .0000 .10000E+07 2 'norm ' .72164E-09 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.3221 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.7474 1.0000 .0000 .10000E+07 5 'norm ' .44152 1.0000 .0000 .10000E+07 6 'Prefactor ' .36438E-05 1.0000 .0000 .10000E+07 7 'norm ' .13805 1.0000 .0000 .10000E+07 8 'Prefactor ' .19873E-06 1.0000 .0000 .10000E+07 9 'norm ' .86798 1.0000 .0000 .10000E+07 10 'Prefactor ' .94807E-06 1.0000 .0000 .10000E+07 11 'norm ' 3.1112 1.0000 .0000 .10000E+07 12 'norm ' 1.1135 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.668 1.0000 .0000 .10000E+07 14 'Prefactor ' 17.877 1.0000 .0000 .10000E+07 15 'Prefactor ' .57944 1.0000 .10000E-03 10000. 16 'Normalizat' .86085 1.0000 .10000E-01 10.000 17 'Prefactor ' 1.0005 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 104 CALLS 1232 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 63.331 53.070 -.40745E-05 .68806E-02 2 norm .0000 .38305 -.70239E-06** at limit ** 3 Prefactor 4.3239 3.5835 -.45944E-06 -.36725E-02 4 Prefactor 1.7605 13.594 -.30430E-06 -.31060E-02 5 norm .44178 .35261 -.99821E-07 -.60160E-02 6 Prefactor .0000 10.396 .34828E-06** at limit ** 7 norm .13790 .40920 -.37721E-06** at limit ** 8 Prefactor .55511E-10 5.2503 .73353E-06** at limit ** 9 norm .86802 1.8250 -.38121E-06 -.24177E-03 10 Prefactor .55511E-10 3.0845 .74758E-06** at limit ** 11 norm 3.1111 .76290 -.76746E-07 .20654E-02 12 norm 1.1135 .73879 -.23555E-06 -.34158E-02 13 Prefactor 13.675 2.0584 .23434E-06 .11532 14 Prefactor 17.885 6.8857 -.44875E-07 .16793E-03 15 Prefactor .57948 .12130 -.10260E-05 .37894E-02 16 Normalizat .86097 .14099 .14733E-04 .15076E-03 17 Prefactor 1.0004 .65508E-01 -.43685E-05 .25656E-03 ERR DEF= .500 Final values: Prefactor = 63.3311 norm = 0 Prefactor = 4.32393 Prefactor = 1.76049 norm = 0.441781 Prefactor = 0 norm = 0.137902 Prefactor = 5.55112e-11 norm = 0.86802 Prefactor = 5.55112e-11 norm = 3.11108 norm = 1.11347 Prefactor = 13.6749 Prefactor = 17.8852 Prefactor = 0.579477 Normalizat = 0.860974 Prefactor = 1.00041 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324763 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.551e-11 3.668e-05 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 5.580e-02 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.220e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 334.238 24.358 Photon Flux Upper Limit: 2.73230391197e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00209457820372 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31276325/likelihoodResults_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.1389792 delta logL = -0.00650289803889 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25922.1324763 delta logL = -2.6364432415e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27617E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.6768 1.0000 .0000 10.000 3 'Normalizat' .86098 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0004 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 42 CALLS 242 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.6064 .42118E-03** at limit ** 2 Index 1.8493 .88355 -.74968E-05 .0000 3 Normalizat .86097 1.1979 -.49073E-05 -.21534E-04 4 Prefactor 1.0004 1.3248 .19672E-05 -.51192E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.84925 Normalizat = 0.860973 Prefactor = 1.00041 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM HESSE STATUS=FAILED 9 CALLS 251 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.6064 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .35492 1.5770 -.74968E-05 -.68175 3 Normalizat .86097 1.1979 -.49073E-05 -.97845 4 Prefactor 1.0004 1.3248 .19672E-05 -.92716 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.98297e-13 Minuit parameter uncertainties: 1 2.89985e-08 2 0.891356 3 1.23823 4 1.37216 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 25922.1324763 delta logL = 1.45519152284e-11 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 0.000e+00 2.900e-08 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 1.849e+00 8.914e-01 0.000e+00 1.000e+01 (-1.000e+00) 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 1.372e+00 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.238e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 334.238 24.358 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/31276325/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.73e-08', time_completed='2026-07-10 18:10:37.753237', job_id='31276325', GAL2='1.00', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1783732237.75', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='932' AND source_name='4FGL J2216.9+2421' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Jul 10 18:10:38 PDT 2026 ********** ** 18 **HESSE ********** FCN= 25922.13 FROM HESSE STATUS=OK 269 CALLS 1501 TOTAL EDM= .12E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 63.331 53.613 .12546E-03 -1.5549 2 norm .0000 .38113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.3239 3.6265 .48430E-03 -1.5666 4 Prefactor 1.7605 13.811 .79300E-03 -1.5681 5 norm .44178 .41411 .18081E-02 -1.5695 6 Prefactor .0000 10.414 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .13790 .30692 .24095E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .55511E-10 5.2183 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .86802 1.8375 .48000E-03 -1.5689 10 Prefactor .55511E-10 3.0835 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 3.1111 .76533 .57462E-03 -1.5673 12 norm 1.1135 .73535 .11169E-02 -1.5687 13 Prefactor 13.675 12.402 .27067E-03 -1.5634 14 Prefactor 17.885 6.9091 .23660E-03 -1.5623 15 Prefactor .57948 .12303 .56153E-02 -1.5556 16 Normalizat .86097 .12192 .86597E-01 -.97845 17 Prefactor 1.0004 .55802E-01 .45693E-01 -.92716 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.17489e-06 Minuit parameter uncertainties: 1 53.6135 2 1.10215e-06 3 3.62652 4 9.86191 5 0.414114 6 2.68025e-05 7 0.306924 8 3.66759e-05 9 1.83751 10 2.04608e-05 11 0.765331 12 0.735355 13 12.4017 14 6.90907 15 0.123035 16 0.121957 17 0.0558048 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324763 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.551e-11 3.668e-05 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 5.580e-02 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.220e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 334.238 24.358 Photon Flux Upper Limit: 2.73230391197e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00209457820372 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31276230/likelihoodResults_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.1389792 delta logL = -0.00650289803889 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25922.1324763 delta logL = -2.6364432415e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27617E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.6768 1.0000 .0000 10.000 3 'Normalizat' .86098 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0004 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 42 CALLS 242 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.6064 .42118E-03** at limit ** 2 Index 1.8493 .88355 -.74968E-05 .0000 3 Normalizat .86097 1.1979 -.49073E-05 -.21534E-04 4 Prefactor 1.0004 1.3248 .19672E-05 -.51192E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.84925 Normalizat = 0.860973 Prefactor = 1.00041 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM HESSE STATUS=FAILED 9 CALLS 251 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.6064 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .35492 1.5770 -.74968E-05 -.68175 3 Normalizat .86097 1.1979 -.49073E-05 -.97845 4 Prefactor 1.0004 1.3248 .19672E-05 -.92716 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.98297e-13 Minuit parameter uncertainties: 1 2.89985e-08 2 0.891356 3 1.23823 4 1.37216 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 25922.1324763 delta logL = 1.45519152284e-11 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 0.000e+00 2.900e-08 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 1.849e+00 8.914e-01 0.000e+00 1.000e+01 (-1.000e+00) 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 1.372e+00 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.238e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 334.238 24.358 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/31276230/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.73e-08', time_completed='2026-07-10 18:11:44.471604', job_id='31276230', GAL2='1.00', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1783732304.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='932' AND source_name='4FGL J2216.9+2421' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Jul 10 18:11:44 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25922.1324763 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 5.551e-11 3.668e-05 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 2.284e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 5.580e-02 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.220e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 334.238 24.358 Photon Flux Upper Limit: 2.73230391197e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00209457820372 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31276534/likelihoodResults_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.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) = 25922.1389792 delta logL = -0.00650289803889 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25922.1324763 delta logL = -2.6364432415e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27617E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.6768 1.0000 .0000 10.000 3 'Normalizat' .86098 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0004 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5350E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM MIGRAD STATUS=CONVERGED 42 CALLS 242 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.6064 .42118E-03** at limit ** 2 Index 1.8493 .88355 -.74968E-05 .0000 3 Normalizat .86097 1.1979 -.49073E-05 -.21534E-04 4 Prefactor 1.0004 1.3248 .19672E-05 -.51192E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.84925 Normalizat = 0.860973 Prefactor = 1.00041 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25922.13 FROM HESSE STATUS=FAILED 9 CALLS 251 TOTAL EDM= .20E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.6064 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .35492 1.5770 -.74968E-05 -.68175 3 Normalizat .86097 1.1979 -.49073E-05 -.97845 4 Prefactor 1.0004 1.3248 .19672E-05 -.92716 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.98297e-13 Minuit parameter uncertainties: 1 2.89985e-08 2 0.891356 3 1.23823 4 1.37216 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 25922.1324763 delta logL = 1.45519152284e-11 Extracting fit parameters... 4FGL J2216.9+2421 Spectrum: PowerLaw 286 Prefactor: 0.000e+00 2.900e-08 0.000e+00 1.000e+06 ( 1.000e-13) 287 Index: 1.849e+00 8.914e-01 0.000e+00 1.000e+01 (-1.000e+00) 288 Scale: 1.223e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 532 Prefactor: 1.000e+00 1.372e+00 0.000e+00 1.000e+01 ( 1.000e+00) 533 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 534 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 531 Normalization: 8.610e-01 1.238e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 334.238 24.358 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/31276534/cmap_HighResolution_802656001_803260801_4FGL_J2216.9+2421_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.73e-08', time_completed='2026-07-10 18:12:31.964577', job_id='31276534', GAL2='1.00', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1783732351.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='932' AND source_name='4FGL J2216.9+2421' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Jul 10 18:12:32 PDT 2026