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


Performing analysis on: 4FGL_J1617.9-7718_weekly_bin945
RA = 244.481, Dec = -77.304
tmin = 810518401, tmax = 811123201
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='38316370', job_status='RUN', time_executed='2026-09-15 12:42:51.942794', time_epoch_executed='1789501371.94' WHERE source_name='4FGL J1617.9-7718' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38316370

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38316370/ft1_4FGL_J1617.9-7718_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38316370/ft1_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316370/ft1_filteredMKT_4FGL_J1617.9-7718_weekly_bin945.fits ra=244.481 dec=-77.304 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.10
user 5.50
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.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/38316370/ft1_filteredMKT_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.76
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 2836

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.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/38316370/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
.....................!
real 18.62
user 17.89
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316370/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316370/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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/38316370/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
.....................!
real 70.17
user 65.53
sys 3.89

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Added 273 point sources and 11 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1617.9-7718 @ 244.481 -77.304

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits scfile=/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316370/cmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 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.78
user 0.26
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316366/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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/38316366/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
.....................!
real 19.25
user 18.61
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316366/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316366/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316366/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316366/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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/38316366/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
.....................!
real 74.52
user 69.42
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
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Added 273 point sources and 11 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1617.9-7718 @ 244.481 -77.304

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316366/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits scfile=/lscratch/kocevski/38316366/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316366/cmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 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.67
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316366/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits snumber of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1617.9-7718_weekly_bin945
RA = 244.481, Dec = -77.304
tmin = 810518401, tmax = 811123201
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='38316429', job_status='RUN', time_executed='2026-09-15 12:44:17.888157', time_epoch_executed='1789501457.89' WHERE source_name='4FGL J1617.9-7718' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38316429

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38316429/ft1_4FGL_J1617.9-7718_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38316429/ft1_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316429/ft1_filteredMKT_4FGL_J1617.9-7718_weekly_bin945.fits ra=244.481 dec=-77.304 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.45
user 5.83
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.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/38316429/ft1_filteredMKT_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.65
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2836

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38316429/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
.....................!
real 19.54
user 18.86
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316429/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316429/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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/38316429/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
.....................!
real 74.22
user 69.02
sys 4.37

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Added 273 point sources and 11 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1617.9-7718 @ 244.481 -77.304

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits scfile=/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316429/cmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits scfile=/lscratch/kocevski/38316174/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316174/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316174/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316174/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316174/Model_4FGL_J1617.9-7718_weekly_bin945.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 FGES J1409.1-6121
adding source FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/lscratch/kocevski/38316174/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits.....................!
real 457.46
user 453.41
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316174/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits', '/lscratch/kocevski/38316174/ft2_4FGL_J1617.9-7718_weekly_bin945.fits', expMap='/lscratch/kocevski/38316174/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', expCube='/lscratch/kocevski/38316174/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316174/Model_4FGL_J1617.9-7718_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1617.9-7718'

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316174/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316174/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316174/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316174/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316174/Model_4FGL_J1617.9-7718_weekly_bin945.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) = 28561.9991425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5332       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13350E-02   1.0000          .0000       .10000E+07
     3 'norm      '    15.169       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3664       1.0000          .0000       .10000E+07
     5 'norm      '    20.332       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33296E-06   1.0000          .0000       .10000E+07
     7 'norm      '    1.6156       1.0000          .0000       .10000E+07
     8 'norm      '    .87464       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.933       1.0000          .0000       .10000E+07
    10 'norm      '    .27417E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .11402E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .46718E-01   1.0000          .0000       .10000E+07
    13 'norm      '    5.1559       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.076       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3306       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   28561.90     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      886 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5445        3.3016       -.24170E-06    .43088E-02
   2  Prefactor     .17542E-07    34.259        .10955E-05** at limit **
   3  norm          15.229        1.8828       -.43796E-06    .40946E-01
   4  Prefactor     2.3642        1.9003       -.13877E-06   -.52589E-03
   5  norm          20.306        10.290        .22998E-05    .15936E-01
   6  Prefactor     .22204E-09    4.5018       -.88624E-07** at limit **
   7  norm          1.6158        1.8189       -.86304E-07   -.15134E-02
   8  norm          .86948        .56746       -.11792E-07   -.50063E-02
   9  Prefactor     14.322        12.550        .11831E-05    .71185E-02
  10  norm          .83267E-09    1.4577        .28417E-06** at limit **
  11  norm          .11102E-09    11.067        .12664E-05** at limit **
  12  norm          .20539E-08    21.612        .10590E-05** at limit **
  13  norm          5.1248        3.7059        .22295E-06   -.48231E-02
  14  Prefactor     16.970        2.3584        .55362E-06   -.56075E-01
  15  Normalizat    1.3308        .18688       -.17457E-04   -.46059E-03
  16  Prefactor     .89836        .49257E-01    .16627E-05   -.10007E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54446
  Prefactor  = 1.75415e-08
  norm       = 15.2285
  Prefactor  = 2.36424
  norm       = 20.3065
  Prefactor  = 2.22045e-10
  norm       = 1.61575
  norm       = 0.869482
  Prefactor  = 14.3222
  norm       = 8.32667e-10
  norm       = 1.11022e-10
  norm       = 2.05391e-09
  norm       = 5.12476
  Prefactor  = 16.9699
  Normalizat = 1.33083
  Prefactor  = 0.898362
 **********
 **   18 **HESSE 
 **********

 FCN=   28561.90     FROM HESSE     STATUS=OK           243 CALLS     1129 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5445        3.3120        .64146E-03   -1.5676    
   2  Prefactor     .17542E-07    34.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.229        18.107        .25690E-03   -1.5630    
   4  Prefactor     2.3642        1.9102        .66585E-03   -1.5677    
   5  norm          20.306        10.375        .22185E-03   -1.5618    
   6  Prefactor     .22204E-09    4.4712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6158        1.8114        .83267E-03   -1.5683    
   8  norm          .86948        .57276        .47529E-03   -1.5689    
   9  Prefactor     14.322        12.601        .26808E-03   -1.5632    
  10  norm          .83267E-09    1.4535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    11.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .20539E-08    4.2095        .15674E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.1248        3.7113        .44251E-03   -1.5663    
  14  Prefactor     16.970        16.206        .24210E-03   -1.5626    
  15  Normalizat    1.3308        .16476        .10115       -.82651    
  16  Prefactor     .89836        .42776E-01    .31995E-01   -.96198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6136e-07
Minuit parameter uncertainties:
  1  3.31198
  2  0.00154933
  3  18.1071
  4  1.91024
  5  10.3753
  6  6.02564e-05
  7  1.81145
  8  0.572759
  9  12.601
  10  6.98158e-05
  11  7.82682e-05
  12  0.000185147
  13  3.71133
  14  16.2057
  15  0.164827
  16  0.0427772
scfile=/lscratch/kocevski/38316232/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316232/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316232/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316232/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316232/Model_4FGL_J1617.9-7718_weekly_bin945.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 FGES J1409.1-6121
adding source FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/lscratch/kocevski/38316232/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits.....................!
real 483.19
user 479.23
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316232/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits', '/lscratch/kocevski/38316232/ft2_4FGL_J1617.9-7718_weekly_bin945.fits', expMap='/lscratch/kocevski/38316232/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', expCube='/lscratch/kocevski/38316232/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316232/Model_4FGL_J1617.9-7718_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1617.9-7718'

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316232/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316232/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316232/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316232/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316232/Model_4FGL_J1617.9-7718_weekly_bin945.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) = 28561.9991425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5332       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13350E-02   1.0000          .0000       .10000E+07
     3 'norm      '    15.169       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3664       1.0000          .0000       .10000E+07
     5 'norm      '    20.332       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33296E-06   1.0000          .0000       .10000E+07
     7 'norm      '    1.6156       1.0000          .0000       .10000E+07
     8 'norm      '    .87464       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.933       1.0000          .0000       .10000E+07
    10 'norm      '    .27417E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .11402E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .46718E-01   1.0000          .0000       .10000E+07
    13 'norm      '    5.1559       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.076       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3306       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   28561.90     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      886 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5445        3.3016       -.24170E-06    .43088E-02
   2  Prefactor     .17542E-07    34.259        .10955E-05** at limit **
   3  norm          15.229        1.8828       -.43796E-06    .40946E-01
   4  Prefactor     2.3642        1.9003       -.13877E-06   -.52589E-03
   5  norm          20.306        10.290        .22998E-05    .15936E-01
   6  Prefactor     .22204E-09    4.5018       -.88624E-07** at limit **
   7  norm          1.6158        1.8189       -.86304E-07   -.15134E-02
   8  norm          .86948        .56746       -.11792E-07   -.50063E-02
   9  Prefactor     14.322        12.550        .11831E-05    .71185E-02
  10  norm          .83267E-09    1.4577        .28417E-06** at limit **
  11  norm          .11102E-09    11.067        .12664E-05** at limit **
  12  norm          .20539E-08    21.612        .10590E-05** at limit **
  13  norm          5.1248        3.7059        .22295E-06   -.48231E-02
  14  Prefactor     16.970        2.3584        .55362E-06   -.56075E-01
  15  Normalizat    1.3308        .18688       -.17457E-04   -.46059E-03
  16  Prefactor     .89836        .49257E-01    .16627E-05   -.10007E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54446
  Prefactor  = 1.75415e-08
  norm       = 15.2285
  Prefactor  = 2.36424
  norm       = 20.3065
  Prefactor  = 2.22045e-10
  norm       = 1.61575
  norm       = 0.869482
  Prefactor  = 14.3222
  norm       = 8.32667e-10
  norm       = 1.11022e-10
  norm       = 2.05391e-09
  norm       = 5.12476
  Prefactor  = 16.9699
  Normalizat = 1.33083
  Prefactor  = 0.898362
scfile=/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316370/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 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.67
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316370/Model_4FGL_J1617.9-7718_weekly_bin945.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 FGES J1409.1-6121
adding source FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits.....................!
real 456.67
user 452.90
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits', '/lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits', expMap='/lscratch/kocevski/38316370/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', expCube='/lscratch/kocevski/38316370/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316370/Model_4FGL_J1617.9-7718_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1617.9-7718'

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316370/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316370/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316370/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316370/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316370/Model_4FGL_J1617.9-7718_weekly_bin945.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) = 28561.9991425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5332       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13350E-02   1.0000          .0000       .10000E+07
     3 'norm      '    15.169       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3664       1.0000          .0000       .10000E+07
     5 **********
 **   18 **HESSE 
 **********

 FCN=   28561.90     FROM HESSE     STATUS=OK           243 CALLS     1129 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5445        3.3120        .64146E-03   -1.5676    
   2  Prefactor     .17542E-07    34.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.229        18.107        .25690E-03   -1.5630    
   4  Prefactor     2.3642        1.9102        .66585E-03   -1.5677    
   5  norm          20.306        10.375        .22185E-03   -1.5618    
   6  Prefactor     .22204E-09    4.4712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6158        1.8114        .83267E-03   -1.5683    
   8  norm          .86948        .57276        .47529E-03   -1.5689    
   9  Prefactor     14.322        12.601        .26808E-03   -1.5632    
  10  norm          .83267E-09    1.4535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    11.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .20539E-08    4.2095        .15674E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.1248        3.7113        .44251E-03   -1.5663    
  14  Prefactor     16.970        16.206        .24210E-03   -1.5626    
  15  Normalizat    1.3308        .16476        .10115       -.82651    
  16  Prefactor     .89836        .42776E-01    .31995E-01   -.96198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6136e-07
Minuit parameter uncertainties:
  1  3.31198
  2  0.00154933
  3  18.1071
  4  1.91024
  5  10.3753
  6  6.02564e-05
  7  1.81145
  8  0.572759
  9  12.601
  10  6.98158e-05
  11  7.82682e-05
  12  0.000185147
  13  3.71133
  14  16.2057
  15  0.164827
  16  0.0427772
 'norm      '    20.332       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33296E-06   1.0000          .0000       .10000E+07
     7 'norm      '    1.6156       1.0000          .0000       .10000E+07
     8 'norm      '    .87464       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.933       1.0000          .0000       .10000E+07
    10 'norm      '    .27417E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .11402E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .46718E-01   1.0000          .0000       .10000E+07
    13 'norm      '    5.1559       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.076       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3306       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   28561.90     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      886 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5445        3.3016       -.24170E-06    .43088E-02
   2  Prefactor     .17542E-07    34.259        .10955E-05** at limit **
   3  norm          15.229        1.8828       -.43796E-06    .40946E-01
   4  Prefactor     2.3642        1.9003       -.13877E-06   -.52589E-03
   5  norm          20.306        10.290        .22998E-05    .15936E-01
   6  Prefactor     .22204E-09    4.5018       -.88624E-07** at limit **
   7  norm          1.6158        1.8189       -.86304E-07   -.15134E-02
   8  norm          .86948        .56746       -.11792E-07   -.50063E-02
   9  Prefactor     14.322        12.550        .11831E-05    .71185E-02
  10  norm          .83267E-09    1.4577        .28417E-06** at limit **
  11  norm          .11102E-09    11.067        .12664E-05** at limit **
  12  norm          .20539E-08    21.612        .10590E-05** at limit **
  13  norm          5.1248        3.7059        .22295E-06   -.48231E-02
  14  Prefactor     16.970        2.3584        .55362E-06   -.56075E-01
  15  Normalizat    1.3308        .18688       -.17457E-04   -.46059E-03
  16  Prefactor     .89836        .49257E-01    .16627E-05   -.10007E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54446
  Prefactor  = 1.75415e-08
  norm       = 15.2285
  Prefactor  = 2.36424
  norm       = 20.3065
  Prefactor  = 2.22045e-10
  norm       = 1.61575
  norm       = 0.869482
  Prefactor  = 14.3222
  norm       = 8.32667e-10
  norm       = 1.11022e-10
  norm       = 2.05391e-09
  norm       = 5.12476
  Prefactor  = 16.9699
  Normalizat = 1.33083
  Prefactor  = 0.898362
cfile=/lscratch/kocevski/38316366/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316366/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 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.65
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316366/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316366/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316366/Model_4FGL_J1617.9-7718_weekly_bin945.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 FGES J1409.1-6121
adding source FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/lscratch/kocevski/38316366/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits.....................!
real 482.10
user 477.76
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316366/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits', '/lscratch/kocevski/38316366/ft2_4FGL_J1617.9-7718_weekly_bin945.fits', expMap='/lscratch/kocevski/38316366/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', expCube='/lscratch/kocevski/38316366/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316366/Model_4FGL_J1617.9-7718_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1617.9-7718'

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316366/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316366/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316366/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316366/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316366/Model_4FGL_J1617.9-7718_weekly_bin945.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) = 28561.9991425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5332       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13350E-02   1.0000          .0000       .10000E+07
     3 'norm      '    15.169       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3664       1.0000          .0000       .10000E+07
     5 Done.

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

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  8.695e-01  5.728e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.984e-01  4.278e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.331e+00  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.90e-06

TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Flux Upper Limit: 9.81600784078e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.64808981439e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316174/likelihoodResults_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2477812
delta logL = 1.65654906775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2131253
delta logL = 1.69120500519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0377       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5812       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   28560.21     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0381        .69980        .20622E-02    .17549E-01
   2  alpha         1.5813        .33160        .45372       -.17851E-03
   3  Normalizat    1.3612        .15948        .10017        .69752E-04
   4  Prefactor     .89312        .42471E-01    .32070E-01   -.10269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0381
  alpha      = 1.58131
  Normalizat = 1.36123
  Prefactor  = 0.89312
 **********
 **   18 **HESSE 
 **********

 FCN=   28560.21     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0381        .67738        .98656E-04   -1.5688    
   2  alpha         1.5813        .44325        .20623E-01   -.37629    
   3  Normalizat    1.3612        .18446        .44382E-03   -.81757    
   4  Prefactor     .89312        .49199E-01    .14170E-03   -.96382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34366e-08
Minuit parameter uncertainties:
  1  0.677381
  2  0.445976
  3  0.184546
  4  0.0492015
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) = 28560.213125
delta logL = 1.69120521909

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.038e+00  6.774e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  1.581e+00  4.460e-01  0.000e+00  5.000e+00 ( 1.000e+00)
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.931e-01  4.920e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.361e+00  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.93
Ra Dec: 244.481 -77.304
Photon Index (Free Index): 1.58 +/- 0.45
Photon Flux (Free Index): 2.43e-08 +/- 1.84e-08
Energy Flux (Free Index): 2.56e-05 +/- 1.73e-05

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/38316174/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='2.56e-05', photon_flux_error='2.93e-08', dlogl='1.69e+00', energy_flux='1.20e-05', photon_flux2='2.43e-08', job_status='DONE', time_completed='2026-09-15 12:58:14.370834', photon_index_error2='0.45', photon_index2='1.58', ts='3.57', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.82e-08', energy_flux_error2='1.73e-05', EG='1.33', time_epoch_completed='1789502294.37', return_code='0', job_id='38316174', GAL2='0.89', EG2='1.36', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='1.84e-08', ts2='6.93', photon_index='2.56' WHERE bin_id='945' AND source_name='4FGL J1617.9-7718' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:58:14 PDT 2026

'norm      '    20.332       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33296E-06   1.0000          .0000       .10000E+07
     7 'norm      '    1.6156       1.0000          .0000       .10000E+07
     8 'norm      '    .87464       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.933       1.0000          .0000       .10000E+07
    10 'norm      '    .27417E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .11402E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .46718E-01   1.0000          .0000       .10000E+07
    13 'norm      '    5.1559       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.076       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3306       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   28561.90     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      886 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5445        3.3016       -.24170E-06    .43088E-02
   2  Prefactor     .17542E-07    34.259        .10955E-05** at limit **
   3  norm          15.229        1.8828       -.43796E-06    .40946E-01
   4  Prefactor     2.3642        1.9003       -.13877E-06   -.52589E-03
   5  norm          20.306        10.290        .22998E-05    .15936E-01
   6  Prefactor     .22204E-09    4.5018       -.88624E-07** at limit **
   7  norm          1.6158        1.8189       -.86304E-07   -.15134E-02
   8  norm          .86948        .56746       -.11792E-07   -.50063E-02
   9  Prefactor     14.322        12.550        .11831E-05    .71185E-02
  10  norm          .83267E-09    1.4577        .28417E-06** at limit **
  11  norm          .11102E-09    11.067        .12664E-05** at limit **
  12  norm          .20539E-08    21.612        .10590E-05** at limit **
  13  norm          5.1248        3.7059        .22295E-06   -.48231E-02
  14  Prefactor     16.970        2.3584        .55362E-06   -.56075E-01
  15  Normalizat    1.3308        .18688       -.17457E-04   -.46059E-03
  16  Prefactor     .89836        .49257E-01    .16627E-05   -.10007E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54446
  Prefactor  = 1.75415e-08
  norm       = 15.2285
  Prefactor  = 2.36424
  norm       = 20.3065
  Prefactor  = 2.22045e-10
  norm       = 1.61575
  norm       = 0.869482
  Prefactor  = 14.3222
  norm       = 8.32667e-10
  norm       = 1.11022e-10
  norm       = 2.05391e-09
  norm       = 5.12476
  Prefactor  = 16.9699
  Normalizat = 1.33083
  Prefactor  = 0.898362
 **********
 **   18 **HESSE 
 **********

 FCN=   28561.90     FROM HESSE     STATUS=OK           243 CALLS     1129 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5445        3.3120        .64146E-03   -1.5676    
   2  Prefactor     .17542E-07    34.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.229        18.107        .25690E-03   -1.5630    
   4  Prefactor     2.3642        1.9102        .66585E-03   -1.5677    
   5  norm          20.306        10.375        .22185E-03   -1.5618    
   6  Prefactor     .22204E-09    4.4712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6158        1.8114        .83267E-03   -1.5683    
   8  norm          .86948        .57276        .47529E-03   -1.5689    
   9  Prefactor     14.322        12.601        .26808E-03   -1.5632    
  10  norm          .83267E-09    1.4535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    11.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .20539E-08    4.2095        .15674E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.1248        3.7113        .44251E-03   -1.5663    
  14  Prefactor     16.970        16.206        .24210E-03   -1.5626    
  15  Normalizat    1.3308        .16476        .10115       -.82651    
  16  Prefactor     .89836        .42776E-01    .31995E-01   -.96198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6136e-07
Minuit parameter uncertainties:
  1  3.31198
  2  0.00154933
  3  18.1071
  4  1.91024
  5  10.3753
  6  6.02564e-05
  7  1.81145
  8  0.572759
  9  12.601
  10  6.98158e-05
  11  7.82682e-05
  12  0.000185147
  13  3.71133
  14  16.2057
  15  0.164827
  16  0.0427772
 **********
 **   18 **HESSE 
 **********

 FCN=   28561.90     FROM HESSE     STATUS=OK           243 CALLS     1129 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5445        3.3120        .64146E-03   -1.5676    
   2  Prefactor     .17542E-07    34.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.229        18.107        .25690E-03   -1.5630    
   4  Prefactor     2.3642        1.9102        .66585E-03   -1.5677    
   5  norm          20.306        10.375        .22185E-03   -1.5618    
   6  Prefactor     .22204E-09    4.4712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6158        1.8114        .83267E-03   -1.5683    
   8  norm          .86948        .57276        .47529E-03   -1.5689    
   9  Prefactor     14.322        12.601        .26808E-03   -1.5632    
  10  norm          .83267E-09    1.4535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    11.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .20539E-08    4.2095        .15674E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.1248        3.7113        .44251E-03   -1.5663    
  14  Prefactor     16.970        16.206        .24210E-03   -1.5626    
  15  Normalizat    1.3308        .16476        .10115       -.82651    
  16  Prefactor     .89836        .42776E-01    .31995E-01   -.96198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6136e-07
Minuit parameter uncertainties:
  1  3.31198
  2  0.00154933
  3  18.1071
  4  1.91024
  5  10.3753
  6  6.02564e-05
  7  1.81145
  8  0.572759
  9  12.601
  10  6.98158e-05
  11  7.82682e-05
  12  0.000185147
  13  3.71133
  14  16.2057
  15  0.164827
  16  0.0427772
scfile=/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits outfile=/lscratch/kocevski/38316429/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.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=244.481 yref=-77.304 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.67
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316429/Model_4FGL_J1617.9-7718_weekly_bin945.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 FGES J1409.1-6121
adding source FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits.....................!
real 483.19
user 479.08
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits', '/lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits', expMap='/lscratch/kocevski/38316429/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', expCube='/lscratch/kocevski/38316429/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316429/Model_4FGL_J1617.9-7718_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1617.9-7718'

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316429/ft1_filtered_4FGL_J1617.9-7718_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316429/ft2_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316429/expmap_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316429/ltcube_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316429/Model_4FGL_J1617.9-7718_weekly_bin945.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) = 28561.9991425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5332       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13350E-02   1.0000          .0000       .10000E+07
     3 'norm      '    15.169       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3664       1.0000          .0000       .10000E+07
     5Done.

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

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  8.695e-01  5.728e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.984e-01  4.278e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.331e+00  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.90e-06

TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Flux Upper Limit: 9.81600784078e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.64808981439e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316232/likelihoodResults_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2477812
delta logL = 1.65654906775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2131253
delta logL = 1.69120500519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0377       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5812       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   28560.21     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0381        .69980        .20622E-02    .17549E-01
   2  alpha         1.5813        .33160        .45372       -.17851E-03
   3  Normalizat    1.3612        .15948        .10017        .69752E-04
   4  Prefactor     .89312        .42471E-01    .32070E-01   -.10269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0381
  alpha      = 1.58131
  Normalizat = 1.36123
  Prefactor  = 0.89312
 **********
 **   18 **HESSE 
 **********

 FCN=   28560.21     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0381        .67738        .98656E-04   -1.5688    
   2  alpha         1.5813        .44325        .20623E-01   -.37629    
   3  Normalizat    1.3612        .18446        .44382E-03   -.81757    
   4  Prefactor     .89312        .49199E-01    .14170E-03   -.96382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34366e-08
Minuit parameter uncertainties:
  1  0.677381
  2  0.445976
  3  0.184546
  4  0.0492015
 'norm      '    20.332       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33296E-06   1.0000          .0000       .10000E+07
     7 'norm      '    1.6156       1.0000          .0000       .10000E+07
     8 'norm      '    .87464       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.933       1.0000          .0000       .10000E+07
    10 'norm      '    .27417E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .11402E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .46718E-01   1.0000          .0000       .10000E+07
    13 'norm      '    5.1559       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.076       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3306       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   28561.90     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      886 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5445        3.3016       -.24170E-06    .43088E-02
   2  Prefactor     .17542E-07    34.259        .10955E-05** at limit **
   3  norm          15.229        1.8828       -.43796E-06    .40946E-01
   4  Prefactor     2.3642        1.9003       -.13877E-06   -.52589E-03
   5  norm          20.306        10.290        .22998E-05    .15936E-01
   6  Prefactor     .22204E-09    4.5018       -.88624E-07** at limit **
   7  norm          1.6158        1.8189       -.86304E-07   -.15134E-02
   8  norm          .86948        .56746       -.11792E-07   -.50063E-02
   9  Prefactor     14.322        12.550        .11831E-05    .71185E-02
  10  norm          .83267E-09    1.4577        .28417E-06** at limit **
  11  norm          .11102E-09    11.067        .12664E-05** at limit **
  12  norm          .20539E-08    21.612        .10590E-05** at limit **
  13  norm          5.1248        3.7059        .22295E-06   -.48231E-02
  14  Prefactor     16.970        2.3584        .55362E-06   -.56075E-01
  15  Normalizat    1.3308        .18688       -.17457E-04   -.46059E-03
  16  Prefactor     .89836        .49257E-01    .16627E-05   -.10007E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54446
  Prefactor  = 1.75415e-08
  norm       = 15.2285
  Prefactor  = 2.36424
  norm       = 20.3065
  Prefactor  = 2.22045e-10
  norm       = 1.61575
  norm       = 0.869482
  Prefactor  = 14.3222
  norm       = 8.32667e-10
  norm       = 1.11022e-10
  norm       = 2.05391e-09
  norm       = 5.12476
  Prefactor  = 16.9699
  Normalizat = 1.33083
  Prefactor  = 0.898362
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) = 28560.213125
delta logL = 1.69120521909

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.038e+00  6.774e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  1.581e+00  4.460e-01  0.000e+00  5.000e+00 ( 1.000e+00)
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.931e-01  4.920e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.361e+00  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.93
Ra Dec: 244.481 -77.304
Photon Index (Free Index): 1.58 +/- 0.45
Photon Flux (Free Index): 2.43e-08 +/- 1.84e-08
Energy Flux (Free Index): 2.56e-05 +/- 1.73e-05

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/38316232/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='2.56e-05', photon_flux_error='2.93e-08', dlogl='1.69e+00', energy_flux='1.20e-05', photon_flux2='2.43e-08', job_status='DONE', time_completed='2026-09-15 13:00:16.078838', photon_index_error2='0.45', photon_index2='1.58', ts='3.57', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.82e-08', energy_flux_error2='1.73e-05', EG='1.33', time_epoch_completed='1789502416.08', return_code='0', job_id='38316232', GAL2='0.89', EG2='1.36', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='1.84e-08', ts2='6.93', photon_index='2.56' WHERE bin_id='945' AND source_name='4FGL J1617.9-7718' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 13:00:16 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  8.695e-01  5.728e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.984e-01  4.278e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.331e+00  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.90e-06

TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Flux Upper Limit: 9.81600784078e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.64808981439e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316370/likelihoodResults_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2477812
delta logL = 1.65654906775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2131253
delta logL = 1.69120500519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0377       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5812       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   28560.21     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0381        .69980        .20622E-02    .17549E-01
   2  alpha         1.5813        .33160        .45372       -.17851E-03
   3  Normalizat    1.3612        .15948        .10017        .69752E-04
   4  Prefactor     .89312        .42471E-01    .32070E-01   -.10269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0381
  alpha      = 1.58131
  Normalizat = 1.36123
  Prefactor  = 0.89312
 **********
 **   18 **HESSE 
 **********

 FCN=   28561.90     FROM HESSE     STATUS=OK           243 CALLS     1129 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5445        3.3120        .64146E-03   -1.5676    
   2  Prefactor     .17542E-07    34.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.229        18.107        .25690E-03   -1.5630    
   4  Prefactor     2.3642        1.9102        .66585E-03   -1.5677    
   5  norm          20.306        10.375        .22185E-03   -1.5618    
   6  Prefactor     .22204E-09    4.4712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6158        1.8114        .83267E-03   -1.5683    
   8  norm          .86948        .57276        .47529E-03   -1.5689    
   9  Prefactor     14.322        12.601        .26808E-03   -1.5632    
  10  norm          .83267E-09    1.4535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    11.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .20539E-08    4.2095        .15674E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.1248        3.7113        .44251E-03   -1.5663    
  14  Prefactor     16.970        16.206        .24210E-03   -1.5626    
  15  Normalizat    1.3308        .16476        .10115       -.82651    
  16  Prefactor     .89836        .42776E-01    .31995E-01   -.96198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6136e-07
Minuit parameter uncertainties:
  1  3.31198
  2  0.00154933
  3  18.1071
  4  1.91024
  5  10.3753
  6  6.02564e-05
  7  1.81145
  8  0.572759
  9  12.601
  10  6.98158e-05
  11  7.82682e-05
  12  0.000185147
  13  3.71133
  14  16.2057
  15  0.164827
  16  0.0427772
 **********
 **   18 **HESSE 
 **********

 FCN=   28560.21     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0381        .67738        .98656E-04   -1.5688    
   2  alpha         1.5813        .44325        .20623E-01   -.37629    
   3  Normalizat    1.3612        .18446        .44382E-03   -.81757    
   4  Prefactor     .89312        .49199E-01    .14170E-03   -.96382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34366e-08
Minuit parameter uncertainties:
  1  0.677381
  2  0.445976
  3  0.184546
  4  0.0492015
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) = 28560.213125
delta logL = 1.69120521909

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.038e+00  6.774e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  1.581e+00  4.460e-01  0.000e+00  5.000e+00 ( 1.000e+00)
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.931e-01  4.920e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.361e+00  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.93
Ra Dec: 244.481 -77.304
Photon Index (Free Index): 1.58 +/- 0.45
Photon Flux (Free Index): 2.43e-08 +/- 1.84e-08
Energy Flux (Free Index): 2.56e-05 +/- 1.73e-05

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/38316370/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='2.56e-05', photon_flux_error='2.93e-08', dlogl='1.69e+00', energy_flux='1.20e-05', photon_flux2='2.43e-08', job_status='DONE', time_completed='2026-09-15 13:01:26.435735', photon_index_error2='0.45', photon_index2='1.58', ts='3.57', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.82e-08', energy_flux_error2='1.73e-05', EG='1.33', time_epoch_completed='1789502486.44', return_code='0', job_id='38316370', GAL2='0.89', EG2='1.36', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='1.84e-08', ts2='6.93', photon_index='2.56' WHERE bin_id='945' AND source_name='4FGL J1617.9-7718' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 13:01:26 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  8.695e-01  5.728e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.984e-01  4.278e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.331e+00  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.90e-06

TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Flux Upper Limit: 9.81600784078e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.64808981439e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316366/likelihoodResults_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2477812
delta logL = 1.65654906775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2131253
delta logL = 1.69120500519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0377       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5812       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   28560.21     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0381        .69980        .20622E-02    .17549E-01
   2  alpha         1.5813        .33160        .45372       -.17851E-03
   3  Normalizat    1.3612        .15948        .10017        .69752E-04
   4  Prefactor     .89312        .42471E-01    .32070E-01   -.10269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0381
  alpha      = 1.58131
  Normalizat = 1.36123
  Prefactor  = 0.89312
 **********
 **   18 **HESSE 
 **********

 FCN=   28560.21     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0381        .67738        .98656E-04   -1.5688    
   2  alpha         1.5813        .44325        .20623E-01   -.37629    
   3  Normalizat    1.3612        .18446        .44382E-03   -.81757    
   4  Prefactor     .89312        .49199E-01    .14170E-03   -.96382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34366e-08
Minuit parameter uncertainties:
  1  0.677381
  2  0.445976
  3  0.184546
  4  0.0492015
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) = 28560.213125
delta logL = 1.69120521909

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.038e+00  6.774e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  1.581e+00  4.460e-01  0.000e+00  5.000e+00 ( 1.000e+00)
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.931e-01  4.920e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.361e+00  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.93
Ra Dec: 244.481 -77.304
Photon Index (Free Index): 1.58 +/- 0.45
Photon Flux (Free Index): 2.43e-08 +/- 1.84e-08
Energy Flux (Free Index): 2.56e-05 +/- 1.73e-05

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/38316366/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='2.56e-05', photon_flux_error='2.93e-08', dlogl='1.69e+00', energy_flux='1.20e-05', photon_flux2='2.43e-08', job_status='DONE', time_completed='2026-09-15 13:02:21.815371', photon_index_error2='0.45', photon_index2='1.58', ts='3.57', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.82e-08', energy_flux_error2='1.73e-05', EG='1.33', time_epoch_completed='1789502541.82', return_code='0', job_id='38316366', GAL2='0.89', EG2='1.36', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='1.84e-08', ts2='6.93', photon_index='2.56' WHERE bin_id='945' AND source_name='4FGL J1617.9-7718' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 13:02:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  8.695e-01  5.728e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.984e-01  4.278e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.331e+00  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 7.90e-06

TS (Fixed Index): 3.57
Ra Dec: 244.481 -77.304
Photon Flux Upper Limit: 9.81600784078e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.64808981439e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316429/likelihoodResults_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2477812
delta logL = 1.65654906775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28560.2131253
delta logL = 1.69120500519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0377       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5812       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   28560.21     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0381        .69980        .20622E-02    .17549E-01
   2  alpha         1.5813        .33160        .45372       -.17851E-03
   3  Normalizat    1.3612        .15948        .10017        .69752E-04
   4  Prefactor     .89312        .42471E-01    .32070E-01   -.10269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0381
  alpha      = 1.58131
  Normalizat = 1.36123
  Prefactor  = 0.89312
 **********
 **   18 **HESSE 
 **********

 FCN=   28560.21     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0381        .67738        .98656E-04   -1.5688    
   2  alpha         1.5813        .44325        .20623E-01   -.37629    
   3  Normalizat    1.3612        .18446        .44382E-03   -.81757    
   4  Prefactor     .89312        .49199E-01    .14170E-03   -.96382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34366e-08
Minuit parameter uncertainties:
  1  0.677381
  2  0.445976
  3  0.184546
  4  0.0492015
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) = 28560.213125
delta logL = 1.69120521909

Extracting fit parameters...

4FGL J1617.9-7718
   Spectrum: LogParabola
625         norm:  1.038e+00  6.774e-01  0.000e+00  1.000e+06 ( 1.000e-11)
626        alpha:  1.581e+00  4.460e-01  0.000e+00  5.000e+00 ( 1.000e+00)
627         beta:  1.122e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  5.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  8.931e-01  4.920e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
946   Normalization:  1.361e+00  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.93
Ra Dec: 244.481 -77.304
Photon Index (Free Index): 1.58 +/- 0.45
Photon Flux (Free Index): 2.43e-08 +/- 1.84e-08
Energy Flux (Free Index): 2.56e-05 +/- 1.73e-05

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/38316429/cmap_HighResolution_810518401_811123201_4FGL_J1617.9-7718_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='2.56e-05', photon_flux_error='2.93e-08', dlogl='1.69e+00', energy_flux='1.20e-05', photon_flux2='2.43e-08', job_status='DONE', time_completed='2026-09-15 13:04:04.862115', photon_index_error2='0.45', photon_index2='1.58', ts='3.57', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.82e-08', energy_flux_error2='1.73e-05', EG='1.33', time_epoch_completed='1789502644.86', return_code='0', job_id='38316429', GAL2='0.89', EG2='1.36', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='1.84e-08', ts2='6.93', photon_index='2.56' WHERE bin_id='945' AND source_name='4FGL J1617.9-7718' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 13:04:05 PDT 2026

