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


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37383913', job_status='RUN', time_executed='2026-09-08 13:19:26.877094', time_epoch_executed='1788898766.88' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37383913

Creating custom pfile directory:
/lscratch/kocevski/37383913/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/37383913/ft1_4FGL_J1637.7+4717_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/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37383913/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383913/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.12
user 4.18
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_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/37383913/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_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.99
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA"number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37383916', job_status='RUN', time_executed='2026-09-08 13:19:40.490341', time_epoch_executed='1788898780.49' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37383916

Creating custom pfile directory:
/lscratch/kocevski/37383916/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/37383916/ft1_4FGL_J1637.7+4717_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/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37383916/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383916/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.11
user 4.25
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_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/37383916/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_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.04
user 0.22
sys 0.16

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA"/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).

 outfile=/lscratch/kocevski/37383907/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37383907/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 18.38
user 17.37
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37383907/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383907/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37383907/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383907/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37383907/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 67.32
user 62.78
sys 3.68

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37383907/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383907/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383907/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37383907/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383907/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383907/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.00
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37383907/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383907/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37383907/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcnumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37383965', job_status='RUN', time_executed='2026-09-08 13:21:11.105085', time_epoch_executed='1788898871.11' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37383965

Creating custom pfile directory:
/lscratch/kocevski/37383965/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/37383965/ft1_4FGL_J1637.7+4717_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/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37383965/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383965/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.34
user 4.49
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_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/37383965/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_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.99
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37383913/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 17.23
user 16.60
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37383913/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383913/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37383913/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 66.02
user 61.73
sys 3.45

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383913/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.90
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383913/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37383913/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourc outfile=/lscratch/kocevski/37383916/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 18.93
user 18.17
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37383916/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383916/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37383916/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 67.13
user 62.38
sys 3.81

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383916/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.05
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383916/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.99
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37383916/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcnumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37383989', job_status='RUN', time_executed='2026-09-08 13:21:44.961201', time_epoch_executed='1788898904.96' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37383989

Creating custom pfile directory:
/lscratch/kocevski/37383989/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/37383989/ft1_4FGL_J1637.7+4717_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/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37383989/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383989/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.55
user 4.33
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_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/37383989/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_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.20
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA"number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384021', job_status='RUN', time_executed='2026-09-08 13:22:35.154571', time_epoch_executed='1788898955.15' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384021

Creating custom pfile directory:
/lscratch/kocevski/37384021/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/37384021/ft1_4FGL_J1637.7+4717_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/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384021/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384021/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.42
user 4.32
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_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/37384021/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_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.00
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA"number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384041', job_status='RUN', time_executed='2026-09-08 13:22:51.682465', time_epoch_executed='1788898971.68' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384041

Creating custom pfile directory:
/lscratch/kocevski/37384041/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/37384041/ft1_4FGL_J1637.7+4717_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/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384041/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384041/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.03
user 4.11
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_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/37384041/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_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.85
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA"number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384068', job_status='RUN', time_executed='2026-09-08 13:23:24.671998', time_epoch_executed='1788899004.67' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384068

Creating custom pfile directory:
/lscratch/kocevski/37384068/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/37384068/ft1_4FGL_J1637.7+4717_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/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384068/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384068/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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 7.59
user 3.69
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_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/37384068/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_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.87
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37383965/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 19.66
user 18.60
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37383965/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383965/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37383965/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 73.36
user 68.23
sys 4.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383965/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.04
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383965/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37383965/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcnumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384079', job_status='RUN', time_executed='2026-09-08 13:23:47.364036', time_epoch_executed='1788899027.36' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384079

Creating custom pfile directory:
/lscratch/kocevski/37384079/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/37384079/ft1_4FGL_J1637.7+4717_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/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384079/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384079/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.92
user 4.08
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_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/37384079/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_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.99
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37383989/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 18.84
user 17.80
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37383989/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383989/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37383989/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 71.38
user 65.74
sys 4.29

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383989/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.00
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37383989/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.94
user 0.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37383989/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcnumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384088', job_status='RUN', time_executed='2026-09-08 13:24:02.258298', time_epoch_executed='1788899042.26' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384088

Creating custom pfile directory:
/lscratch/kocevski/37384088/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/37384088/ft1_4FGL_J1637.7+4717_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/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384088/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384088/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.15
user 4.23
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_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/37384088/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_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.22
sys 0.14

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA"number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384114', job_status='RUN', time_executed='2026-09-08 13:24:47.785781', time_epoch_executed='1788899087.79' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384114

Creating custom pfile directory:
/lscratch/kocevski/37384114/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/37384114/ft1_4FGL_J1637.7+4717_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/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384114/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384114/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.98
user 4.25
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_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/37384114/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_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.94
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37384041/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 17.71
user 16.71
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384041/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384041/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384041/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 65.76
user 61.14
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
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384041/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384041/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384041/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourc outfile=/lscratch/kocevski/37384021/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 18.04
user 17.25
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384021/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384021/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384021/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 68.54
user 63.63
sys 4.04

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384021/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384021/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.08
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384021/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcnumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384126', job_status='RUN', time_executed='2026-09-08 13:25:10.999585', time_epoch_executed='1788899111.0' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384126

Creating custom pfile directory:
/lscratch/kocevski/37384126/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/37384126/ft1_4FGL_J1637.7+4717_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/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384126/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384126/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.48
user 4.29
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_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/37384126/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_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.96
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/37384068/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 16.22
user 15.50
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384068/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384068/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384068/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 59.71
user 55.68
sys 3.36

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384068/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.10
user 0.21
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384068/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.96
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384068/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcnumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384155', job_status='RUN', time_executed='2026-09-08 13:25:57.824113', time_epoch_executed='1788899157.82' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384155

Creating custom pfile directory:
/lscratch/kocevski/37384155/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/37384155/ft1_4FGL_J1637.7+4717_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/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384155/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384155/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.55
user 3.71
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_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/37384155/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_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.02
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37384079/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 17.42
user 16.46
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384079/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384079/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384079/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 64.18
user 59.67
sys 3.62

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384079/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.99
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384079/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384079/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcnumber of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384162', job_status='RUN', time_executed='2026-09-08 13:26:11.700689', time_epoch_executed='1788899171.7' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384162

Creating custom pfile directory:
/lscratch/kocevski/37384162/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/37384162/ft1_4FGL_J1637.7+4717_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/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384162/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384162/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.60
user 3.67
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_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/37384162/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_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.19
sys 0.14

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 42.68
user 40.94
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37383913/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37383913/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37383913/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37383913/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37383913/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37383913/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37383913/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37383913/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000         e GAL_V02
Working on...
/lscratch/kocevski/37383907/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 43.04
user 41.49
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37383907/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37383907/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37383907/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37383907/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37383907/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37383907/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37383907/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37383907/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37383907/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37383907/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000         number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1637.7+4717_weekly_bin944
RA = 249.434, Dec = 47.2913
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='37384176', job_status='RUN', time_executed='2026-09-08 13:26:45.728685', time_epoch_executed='1788899205.73' WHERE source_name='4FGL J1637.7+4717' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37384176

Creating custom pfile directory:
/lscratch/kocevski/37384176/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/37384176/ft1_4FGL_J1637.7+4717_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/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37384176/ft1_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384176/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits ra=249.434 dec=47.2913 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.16
user 4.22
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_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/37384176/ft1_filteredMKT_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_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.08
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 1519

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37384088/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 18.35
user 17.49
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384088/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384088/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384088/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 68.91
user 63.77
sys 4.03

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384088/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.89
user 0.24
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384088/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384088/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourc outfile=/lscratch/kocevski/37384114/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 17.75
user 16.71
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384114/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384114/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384114/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 66.20
user 61.46
sys 3.69

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384114/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384114/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.97
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384114/Model_4FGL_J1637.7+4717_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 EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 44.64
user 42.91
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37383916/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37383916/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37383916/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37383916/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37383916/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37383916/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37383916/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37383916/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
outfile=/lscratch/kocevski/37384126/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 18.56
user 17.55
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384126/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384126/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384126/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 69.47
user 64.57
sys 3.88

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384126/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.10
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384126/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.14
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384126/Model_4FGL_J1637.7+4717_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 EG_v02
adding source .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 outfile=/lscratch/kocevski/37384155/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 16.07
user 15.17
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384155/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384155/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384155/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 60.07
user 55.83
sys 3.27

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384155/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.10
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384155/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.05
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384155/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcoutfile=/lscratch/kocevski/37384162/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 16.12
user 15.14
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384162/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384162/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384162/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 60.05
user 55.59
sys 3.49

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384162/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.10
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384162/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.14
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384162/Model_4FGL_J1637.7+4717_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 EG_v02
adding source **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37383913/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:35:51.419130', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788899751.42', return_code='0', job_id='37383913', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:35:52 PDT 2026

 outfile=/lscratch/kocevski/37384176/ltcube_809913601_810518401_4FGL_J1637.7+4717_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/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 18.18
user 17.17
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37384176/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384176/expmap_809913601_810518401_4FGL_J1637.7+4717_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/37384176/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
.....................!
real 65.79
user 60.89
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
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+4717 @ 249.434 47.2913

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384176/cmap_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits scfile=/lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits outfile=/lscratch/kocevski/37384176/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_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=249.434 yref=47.2913 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.07
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37384176/Model_4FGL_J1637.7+4717_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 EG_v02
adding sourcDone.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37383907/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:36:10.423250', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788899770.42', return_code='0', job_id='37383907', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:36:10 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
e GAL_V02
Working on...
/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 45.50
user 43.53
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37383989/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37383989/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37383989/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37383989/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37383989/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37383989/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37383989/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37383989/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000         e GAL_V02
Working on...
/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 49.17
user 47.07
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37383965/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37383965/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37383965/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37383965/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37383965/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37383965/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37383965/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37383965/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000         Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37383916/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:36:47.456583', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788899807.46', return_code='0', job_id='37383916', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:36:48 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 42.11
user 40.52
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384041/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384041/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384041/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384041/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384041/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384041/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384041/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384041/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
e GAL_V02
Working on...
/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 38.98
user 37.38
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384068/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384068/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384068/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384068/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384068/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384068/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384068/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384068/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
e GAL_V02
Working on...
/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 44.59
user 42.50
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384021/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384021/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384021/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384021/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384021/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384021/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384021/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384021/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000         e GAL_V02
Working on...
/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 41.33
user 39.83
sys 0.72

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384079/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384079/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384079/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384079/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384079/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384079/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384079/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384079/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
e GAL_V02
Working on...
/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 43.29
user 41.38
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384114/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384114/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384114/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384114/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384114/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384114/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384114/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384114/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37383989/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:39:05.570132', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788899945.57', return_code='0', job_id='37383989', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:39:06 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384041/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:39:10.357952', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788899950.36', return_code='0', job_id='37384041', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:39:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37383965/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:39:24.641218', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788899964.64', return_code='0', job_id='37383965', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:39:25 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
eturn Code (Fixed Index): 0
logL (Fixed Index) = 16191.8145001

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  24  0.392915
4.20159
  25  4.44318
 2.12762
  26  1.30844
 0.917036
  27  2.1725e-06
932352
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384068/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:39:37.301222', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788899977.3', return_code='0', job_id='37384068', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:39:38 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 38.98
user 37.40
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384155/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384155/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384155/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384155/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384155/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384155/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384155/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384155/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000         e GAL_V02
Working on...
/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 45.85
user 44.30
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384088/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384088/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384088/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384088/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384088/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384088/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384088/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384088/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          GAL_V02
Working on...
/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 38.79
user 37.11
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384162/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384162/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384162/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384162/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384162/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384162/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384162/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384162/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 GAL_V02
Working on...
/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 45.34
user 43.45
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384126/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384126/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384126/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384126/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384126/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384126/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384126/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384126/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000          Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384021/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:40:02.035320', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900002.04', return_code='0', job_id='37384021', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:40:02 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384079/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:40:02.596421', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900002.6', return_code='0', job_id='37384079', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:40:03 PDT 2026

 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
.0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
.0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
e GAL_V02
Working on...
/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits.....................!
real 42.08
user 40.32
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits', '/lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits', expMap='/lscratch/kocevski/37384176/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', expCube='/lscratch/kocevski/37384176/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37384176/Model_4FGL_J1637.7+4717_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+4717'

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37384176/ft1_filtered_4FGL_J1637.7+4717_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37384176/ft2_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37384176/expmap_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37384176/ltcube_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37384176/Model_4FGL_J1637.7+4717_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) = 16191.904203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87753E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     3 'norm      '    3.5080       1.0000          .0000       .10000E+07
     4 'Prefactor '    .93724E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3376       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9656       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11946E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9961       1.0000          .0000       .10000E+07
     9 'norm      '    18.424       1.0000          .0000       .10000E+07
    10 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    11 'norm      '    .39003       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1831       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6990       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99073       1.0000          .0000       .10000E+07
    15 'norm      '    .18304E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8435       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82323E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.895       1.0000          .0000       .10000E+07
    21 'norm      '    3.4726       1.0000          .0000       .10000E+07
    22 'norm      '    .53651       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .59672       1.0000          .0000       .10000E+07
    25 'norm      '    2.0471       1.0000          .0000       .10000E+07
    26 'norm      '    5.8194       1.0000          .0000       .10000E+07
    27 'Prefactor '    .68834E-07   1.0000         Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384114/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:41:09.306818', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900069.31', return_code='0', job_id='37384114', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:41:10 PDT 2026

 .0000       .10000E+07
    28 'norm      '    .33196E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    5.5769       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.6053       1.0000          .0000       .10000E+07
    31 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    32 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16191.81     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     2740 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.8030        .10858E-07** at limit **
   2  Prefactor     11.358        4.9212        .35385E-07   -.21384E-03
   3  norm          3.4645        4.0133       -.33013E-07   -.21892E-03
   4  Prefactor     .64948E-08    329.22        .12447E-04** at limit **
   5  Prefactor     4.4907        5.1793       -.34848E-07   -.17777E-02
   6  Prefactor     7.3711        18.397       -.15506E-06   -.36983E-03
   7  Prefactor      .0000        4.8586        .32327E-06** at limit **
   8  Prefactor     1.9975        1.8221       -.34505E-07   -.77231E-03
   9  norm          18.218        9.2885       -.15083E-06   -.12517E-02
  10  norm           .0000        .28068E-01   -.13301E-07** at limit **
  11  norm          .35613        16.150        .11927E-05    .32515E-03
  12  Prefactor     2.1394        8.6553       -.13079E-05   -.27689E-03
  13  Prefactor     3.7011        2.1274       -.13615E-06   -.23240E-02
  14  Prefactor     .99572        3.6116        .56881E-06    .14738E-02
  15  norm          .16653E-09    23.157       -.18851E-05** at limit **
  16  Prefactor     1.8434        .85646        .20382E-08   -.17997E-02
  17  Prefactor     1.4979        .88851       -.52932E-07   -.49355E-02
  18  Prefactor      .0000        2.1293       -.15967E-06** at limit **
  19  Prefactor      .0000        .61209       -.12307E-06** at limit **
  20  Prefactor     12.880        5.6831       -.18134E-06   -.45300E-03
  21  norm          3.4723        1.0747        .26140E-07    .26844E-02
  22  norm          .53643        .47499       -.64177E-07   -.38287E-02
  23  Prefactor     .22484E-01    84.097       -.41613E-06** at limit **
  24  norm          .59646        .38602       -.40102E-07   -.13266E-02
  25  norm          2.0570        4.4361       -.21536E-06    .28831E-03
  26  norm          5.8166        1.3021       -.11298E-06   -.29351E-02
  27  Prefactor      .0000        .93197       -.30187E-07** at limit **
  28  norm           .0000        2.5432       -.10691E-06** at limit **
  29  Prefactor     5.8186        32.896        .24249E-05    .19042E-03
  30  Prefactor     9.5758        4.0735       -.17760E-07    .95966E-03
  31  Prefactor     22.233        41.541       -.27172E-05    .64171E-03
  32  Normalizat    .90760        .13806        .11484E-04    .19270E-05
  33  Prefactor     .93832        .12526       -.20659E-05    .10084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 11.3583
  norm       = 3.46445
  Prefactor  = 6.4948e-09
  Prefactor  = 4.49075
  Prefactor  = 7.37109
  Prefactor  = 0
  Prefactor  = 1.99746
  norm       = 18.2181
  norm       = 0
  norm       = 0.356135
  Prefactor  = 2.13944
  Prefactor  = 3.70113
  Prefactor  = 0.995717
  norm       = 1.66533e-10
  Prefactor  = 1.84339
  Prefactor  = 1.49789
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.8804
  norm       = 3.4723
  norm       = 0.536425
  Prefactor  = 0.0224845
  norm       = 0.596456
  norm       = 2.05705
  norm       = 5.81661
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.81856
  Prefactor  = 9.57584
  Prefactor  = 22.233
  Normalizat = 0.907597
  Prefactor  = 0.93832
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384162/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:41:53.572566', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900113.57', return_code='0', job_id='37384162', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:41:54 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384155/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:41:55.900786', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900115.9', return_code='0', job_id='37384155', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:41:56 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384126/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:42:27.146007', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900147.15', return_code='0', job_id='37384126', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:42:27 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384088/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:42:34.401071', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900154.4', return_code='0', job_id='37384088', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:42:34 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   16191.81     FROM HESSE     STATUS=OK           787 CALLS     3527 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.358        4.9420        .29695E-03   -1.5641    
   3  norm          3.4645        4.0368        .53954E-03   -1.5671    
   4  Prefactor     .64948E-08    322.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4907        5.2864        .48342E-03   -1.5666    
   6  Prefactor     7.3711        18.744        .35502E-03   -1.5654    
   7  Prefactor      .0000        4.7843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9975        1.8408        .73287E-03   -1.5680    
   9  norm          18.218        9.3316        .23306E-03   -1.5623    
  10  norm           .0000        .17307E-01    .84105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .35613        3.4717        .90651E-02   -1.5696    
  12  Prefactor     2.1394        9.0734        .69641E-03   -1.5679    
  13  Prefactor     3.7011        2.1376        .52486E-03   -1.5669    
  14  Prefactor     .99572        3.6202        .43437E-03   -1.5688    
  15  norm          .16653E-09    23.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8434        .83327        .76786E-03   -1.5681    
  17  Prefactor     1.4979        .86412        .87481E-03   -1.5683    
  18  Prefactor      .0000        .51236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        .61024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.880        5.7068        .27869E-03   -1.5636    
  21  norm          3.4723        1.0776        .54240E-03   -1.5671    
  22  norm          .53643        .49185        .75119E-03   -1.5693    
  23  Prefactor     .22484E-01    .97058        .88557E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .59646        .39292        .69522E-03   -1.5693    
  25  norm          2.0570        4.4432        .72231E-03   -1.5679    
  26  norm          5.8166        1.3084        .41609E-03   -1.5660    
  27  Prefactor      .0000        .93354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8186        32.808        .42518E-03   -1.5660    
  30  Prefactor     9.5758        4.0823        .32310E-03   -1.5646    
  31  Prefactor     22.233        41.687        .21644E-03   -1.5614    
  32  Normalizat    .90760        .11768        .44988E-01   -.96194    
  33  Prefactor     .93832        .10566        .45497E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98984e-07
Minuit parameter uncertainties:
  1  1.06377e-05
  2  4.94196
  3  4.03679
  4  0.002899
  5  5.2864
  6  18.7441
  7  7.43363e-06
  8  1.84077
  9  9.33161
  10  3.11288e-08
  11  2.22387
  12  8.81183
  13  2.13761
  14  3.62024
  15  0.000117172
  16  0.833271
  17  0.864117
  18  2.26795e-06
  19  1.97442e-06
  20  5.70682
  21  1.07761
  22  0.491854
  23  0.295453
  24  0.392915
  25  4.44318
  26  1.30844
  27  2.1725e-06
  28  9.30941e-06
  29  27.6334
  30  4.08227
  31  41.6872
  32  0.117718
  33  0.105684
Done.

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

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  3.701e+00  2.138e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.428e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.383e-01  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.076e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.76
Ra Dec: 249.434 47.291
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 9.78e-06 +/- 5.65e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5877215
delta logL = 0.226778666238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874055
delta logL = 0.227094625508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2052       1.0000          .0000       .10000E+07
     2 'Index     '    2.1284       1.0000          .0000       10.000    
     3 'Normalizat'    .91696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16191.59     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2016        58.142        .49119E-03    .45118E-02
   2  Index         2.1276        6.0611        .25099        .19951E-04
   3  Normalizat    .91704        .55810E-01    .45118E-01    .37024E-04
   4  Prefactor     .93235        .45722E-01    .45416E-01    .26302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20159
  Index      = 2.12762
  Normalizat = 0.917036
  Prefactor  = 0.932352
 **********
 **   18 **HESSE 
 **********

 FCN=   16191.59     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2016        2.4716        .14758E-04   -1.5667    
   2  Index         2.1276        .42692        .97094E-02   -.61196    
   3  Normalizat    .91704        .12996        .25570E-03   -.95864    
   4  Prefactor     .93235        .12212        .23832E-03   -.95020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63764e-13
Minuit parameter uncertainties:
  1  2.47159
  2  0.427693
  3  0.13
  4  0.122155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16191.5874019
delta logL = 0.22709820877

Extracting fit parameters...

4FGL J1637.7+4717
   Spectrum: PowerLaw
335    Prefactor:  4.202e+00  2.472e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        Index:  2.128e+00  4.277e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  7.167e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.324e-01  1.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.170e-01  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 249.434 47.291
Photon Index (Free Index): 2.13 +/- 0.43
Photon Flux (Free Index): 2.46e-08 +/- 1.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.66e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37384176/cmap_HighResolution_809913601_810518401_4FGL_J1637.7+4717_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.27e-05', photon_flux_error='1.79e-08', dlogl='2.27e-01', energy_flux='9.78e-06', photon_flux2='2.46e-08', job_status='DONE', time_completed='2026-09-08 13:43:02.937379', photon_index_error2='0.43', photon_index2='2.13', ts='5.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.66e-06', EG='0.91', time_epoch_completed='1788900182.94', return_code='0', job_id='37384176', GAL2='0.93', EG2='0.92', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='1.75e-08', ts2='6.19', photon_index='2.43' WHERE bin_id='944' AND source_name='4FGL J1637.7+4717' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 13:43:03 PDT 2026

