number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401474', job_status='RUN', time_executed='2026-09-08 17:56:23.723052', time_epoch_executed='1788915383.72' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401474

Creating custom pfile directory:
/lscratch/kocevski/37401474/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401474/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401474/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401474/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.01
user 4.37
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401474/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.72
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" o/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 = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401496', job_status='RUN', time_executed='2026-09-08 17:57:12.844018', time_epoch_executed='1788915432.84' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401496

Creating custom pfile directory:
/lscratch/kocevski/37401496/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401496/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401496/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401496/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.88
user 4.18
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401496/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.81
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" onumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401508', job_status='RUN', time_executed='2026-09-08 17:57:36.041857', time_epoch_executed='1788915456.04' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401508

Creating custom pfile directory:
/lscratch/kocevski/37401508/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401508/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401508/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401508/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.36
user 3.69
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401508/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.89
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37401474/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 18.98
user 18.30
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401474/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401474/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401474/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 70.32
user 65.52
sys 3.95

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401474/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.12
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401474/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.09
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401540', job_status='RUN', time_executed='2026-09-08 17:58:02.012582', time_epoch_executed='1788915482.01' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401540

Creating custom pfile directory:
/lscratch/kocevski/37401540/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401540/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401540/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401540/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.20
user 4.43
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401540/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.01
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" onumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401539', job_status='RUN', time_executed='2026-09-08 17:58:02.008353', time_epoch_executed='1788915482.01' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401539

Creating custom pfile directory:
/lscratch/kocevski/37401539/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401539/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401539/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401539/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.17
user 4.42
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401539/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.74
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" onumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
utfile=/lscratch/kocevski/37401496/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 17.48
user 16.64
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401496/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401496/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401496/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 64.28
user 59.84
sys 3.75

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401496/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.86
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401496/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.80
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401541', job_status='RUN', time_executed='2026-09-08 17:58:10.241936', time_epoch_executed='1788915490.24' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401541

Creating custom pfile directory:
/lscratch/kocevski/37401541/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401541/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401541/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401541/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.06
user 4.22
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401541/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.49
user 0.21
sys 0.17

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" onumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401548', job_status='RUN', time_executed='2026-09-08 17:58:26.389687', time_epoch_executed='1788915506.39' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401548

Creating custom pfile directory:
/lscratch/kocevski/37401548/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401548/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401548/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401548/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.89
user 4.18
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401548/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.09
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37401508/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 16.32
user 15.51
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401508/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401508/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401508/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 59.42
user 55.48
sys 3.31

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401508/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.71
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401508/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.71
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2217.5+6346_weekly_bin944
RA = 334.394, Dec = 63.776
tmin = 809913601, tmax = 810518401
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='37401559', job_status='RUN', time_executed='2026-09-08 17:58:53.538763', time_epoch_executed='1788915533.54' WHERE source_name='4FGL J2217.5+6346' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37401559

Creating custom pfile directory:
/lscratch/kocevski/37401559/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37401559/ft1_4FGL_J2217.5+6346_weekly_bin944.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=809913601.0 && nMetStart<810518401.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37401559/ft1_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401559/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits ra=334.394 dec=63.776 rad=12.0 tmin=809913601.0 tmax=810518401.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.87
user 4.23
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.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/37401559/ft1_filteredMKT_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.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.14

Number of photons that the gtmktime cut: 9772

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37401540/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 18.79
user 17.92
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401540/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401540/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401540/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 68.39
user 63.85
sys 3.78

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401540/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.77
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401540/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.77
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/utfile=/lscratch/kocevski/37401539/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 18.72
user 17.90
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401539/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401539/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401539/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 68.28
user 63.61
sys 3.86

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401539/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.88
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401539/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.80
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/utfile=/lscratch/kocevski/37401541/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 17.93
user 17.11
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401541/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401541/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401541/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 69.63
user 61.02
sys 3.79

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401541/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.92
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401541/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.75
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/utfile=/lscratch/kocevski/37401548/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 18.03
user 16.64
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401548/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401548/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401548/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 66.09
user 61.47
sys 3.78

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401548/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.87
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401548/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/utfile=/lscratch/kocevski/37401559/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 17.69
user 16.96
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37401559/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401559/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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/37401559/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
.....................!
real 66.53
user 61.73
sys 3.94

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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 191 point sources and 5 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 J2217.5+6346 @ 334.394 63.776

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401559/cmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.93
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits scfile=/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits outfile=/lscratch/kocevski/37401559/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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.394 yref=63.776 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.73
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37401274/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401274/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401274/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401274/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 525.04
user 520.89
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401274/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401274/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401274/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401274/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401274/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401274/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401274/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401274/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401274/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401274/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
kocevski/37401341/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401341/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401341/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401341/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 524.68
user 520.64
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401341/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401341/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401341/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401341/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401341/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401341/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401341/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401341/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401341/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401341/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
ocevski/37401363/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401363/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401363/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401363/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 520.00
user 515.71
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401363/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401363/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401363/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401363/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401363/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401363/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401363/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401363/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401363/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401363/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
kocevski/37401359/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401359/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401359/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401359/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 520.78
user 516.64
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401359/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401359/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401359/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401359/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401359/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401359/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401359/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401359/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401359/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401359/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401274/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401274/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:12:21.543460', job_id='37401274', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916341.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:12:21 PDT 2026

kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401474/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 503.31
user 498.87
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401474/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401474/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401474/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401474/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401474/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401474/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401474/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401474/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401496/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 480.50
user 476.36
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401496/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401496/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401496/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401496/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401496/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401496/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401496/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401496/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401508/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 449.07
user 445.58
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401508/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401508/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401508/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401508/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401508/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401508/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401508/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401508/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401341/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401341/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:15:03.484785', job_id='37401341', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916503.48', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:15:03 PDT 2026

kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401541/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 484.28
user 480.18
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401541/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401541/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401541/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401541/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401541/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401541/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401541/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401541/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401363/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401540/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 498.16
user 493.95
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401540/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401540/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401540/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401540/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401540/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401540/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401540/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401540/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401363/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:15:38.330242', job_id='37401363', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916538.33', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:15:38 PDT 2026

kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401548/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 482.23
user 478.16
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401548/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401548/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401548/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401548/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401548/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401548/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401548/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401548/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401539/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 498.16
user 493.80
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401539/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401539/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401539/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401539/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401539/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401539/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401539/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401539/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401359/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401359/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:15:56.050653', job_id='37401359', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916556.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:15:56 PDT 2026

kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37401559/Model_4FGL_J2217.5+6346_weekly_bin944.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits.....................!
real 477.02
user 473.11
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits', '/lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits', expMap='/lscratch/kocevski/37401559/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', expCube='/lscratch/kocevski/37401559/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37401559/Model_4FGL_J2217.5+6346_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2217.5+6346'

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37401559/ft1_filtered_4FGL_J2217.5+6346_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37401559/ft2_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37401559/expmap_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37401559/ltcube_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37401559/Model_4FGL_J2217.5+6346_weekly_bin944.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) = 90141.3895327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8722246

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36489E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43143       1.0000          .0000       .10000E+07
     4 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.631       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41006E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23944E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.1693       1.0000          .0000       .10000E+07
     9 'Normalizat'    1.3665       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .96919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      495 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5324        2.5529        .43719E-07    .40381E-02
   2  Prefactor     .35527E-08    6.9614        .98837E-06** at limit **
   3  Prefactor     .43153        1.2787        .32172E-06    .15044E-01
   4  norm           .0000        2.1805       -.14221E-06** at limit **
   5  Prefactor     38.980        7.8452        .10797E-05   -.71083E-01
   6  Prefactor     .73830E-08    7.2981       -.15233E-05** at limit **
   7  Prefactor     .11935E-07    13.650       -.63153E-06** at limit **
   8  norm          5.6249        12.790        .43350E-05    .13038E-01
   9  Normalizat    1.3663        .20067       -.77288E-05    .49810E-04
  10  Prefactor     .96923        .18457E-01    .52888E-06    .23961E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53244
  Prefactor  = 3.55271e-09
  Prefactor  = 0.431526
  norm       = 0
  Prefactor  = 38.9798
  Prefactor  = 7.38298e-09
  Prefactor  = 1.19349e-08
  norm       = 5.62491
  Normalizat = 1.36626
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
 **********
 **   18 **HESSE 
 **********

 FCN=   90140.87     FROM HESSE     STATUS=OK           118 CALLS      613 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5324        2.5384        .64164E-03   -1.5676    
   2  Prefactor     .35527E-08    6.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .43153        1.3064        .85932E-03   -1.5695    
   4  norm           .0000        2.1875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.980        19.325        .16091E-03   -1.5583    
   6  Prefactor     .73830E-08    7.3088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11935E-07    13.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6249        13.869        .40395E-03   -1.5661    
   9  Normalizat    1.3663        .20294        .24163       -.81609    
  10  Prefactor     .96923        .18407E-01    .25814E-01   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29742e-07
Minuit parameter uncertainties:
  1  2.53843
  2  0.000314815
  3  1.30645
  4  1.63619e-06
  5  19.3251
  6  0.000465386
  7  0.000812106
  8  13.8689
  9  0.203055
  10  0.0184073
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401474/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401496/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401474/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:19:12.712163', job_id='37401474', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916752.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:19:13 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401508/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401496/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:19:19.682374', job_id='37401496', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916759.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:19:20 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401508/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:19:29.755510', job_id='37401508', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916769.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:19:30 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401541/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401541/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:20:49.463274', job_id='37401541', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916849.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:20:49 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401540/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401548/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401540/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:21:01.762253', job_id='37401540', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916861.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:21:02 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401548/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:21:08.194482', job_id='37401548', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916868.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:21:08 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401539/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401539/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:21:22.804575', job_id='37401539', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916882.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:21:23 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 90140.8712827

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  7.383e-09  4.654e-04  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.841e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.394 63.776
Photon Flux Upper Limit: 5.89117843991e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00443902259788 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37401559/likelihoodResults_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.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) = 90140.9391979
delta logL = -0.0679151182412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 90140.8712855
delta logL = -2.81364191324e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75095E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .33463       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   90140.87     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.4838       -.59568E-07** at limit **
   2  Index         2.4021        2.5777        .28846E-05     .0000    
   3  Normalizat    1.3663        .19881       -.62429E-05    .44296E-04
   4  Prefactor     .96923        .18439E-01    .10017E-05    .47161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.4021
  Normalizat = 1.36627
  Prefactor  = 0.969226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   90140.87     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64715        1.9336        .28846E-05   -.54636    
   3  Normalizat    1.3663        1.0673       -.62429E-05   -.81609    
   4  Prefactor     .96923        1.3103        .10017E-05   -.93762    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98729e-12
Minuit parameter uncertainties:
  1  4.95084e-08
  2  1.59352
  3  1.08543
  4  1.35742
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) = 90140.8712827
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2217.5+6346
   Spectrum: PowerLaw
468    Prefactor:  0.000e+00  4.951e-08  0.000e+00  1.000e+06 ( 1.000e-14)
469        Index:  2.402e+00  1.594e+00  0.000e+00  1.000e+01 (-1.000e+00)
470        Scale:  5.011e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.692e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.366e+00  1.085e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.394 63.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/37401559/cmap_HighResolution_809913601_810518401_4FGL_J2217.5+6346_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2026-09-08 18:21:36.257070', job_id='37401559', GAL2='0.97', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1788916896.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='944' AND source_name='4FGL J2217.5+6346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 18:21:36 PDT 2026

