/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
/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).


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)
/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).


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

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


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32661694', job_status='RUN', time_executed='2026-07-21 16:19:09.059376', time_epoch_executed='1784675949.06' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32661694

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32661694/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32661694/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661694/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.11
user 4.05
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32661694/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32661694/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 17.61
user 16.62
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32661694/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661694/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32661694/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 64.99
user 60.02
sys 3.81

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661694/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.13
user 0.22
sys 0.12

Creating the high resolution counts map:number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32661860', job_status='RUN', time_executed='2026-07-21 16:21:09.287333', time_epoch_executed='1784676069.29' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32661860

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32661860/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32661860/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661860/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.53
user 4.32
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32661860/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32661980', job_status='RUN', time_executed='2026-07-21 16:23:08.955662', time_epoch_executed='1784676188.96' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32661980

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32661980/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32661980/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661980/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.30
user 4.04
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32661980/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32661860/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 18.51
user 17.01
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32661860/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661860/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32661860/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 67.19
user 61.92
sys 3.79

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661860/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.28
user 0.23
sys 0.13

Creating the high resolution counts map:number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32662077', job_status='RUN', time_executed='2026-07-21 16:24:09.265673', time_epoch_executed='1784676249.27' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32662077

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32662077/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32662077/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662077/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.21
user 4.12
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32662077/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32661980/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 17.98
user 16.90
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32661980/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661980/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32661980/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 65.62
user 60.48
sys 3.80

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 J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661980/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.30
user 0.22
sys 0.13

Creating the high resolution counts map:number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32662120', job_status='RUN', time_executed='2026-07-21 16:25:06.906781', time_epoch_executed='1784676306.91' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32662120

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32662120/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32662120/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662120/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.38
user 4.34
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32662120/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32662160', job_status='RUN', time_executed='2026-07-21 16:26:09.884904', time_epoch_executed='1784676369.88' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32662160

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32662160/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32662160/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662160/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.28
user 4.34
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32662160/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32662077/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 17.67
user 16.49
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32662077/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662077/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662077/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 67.02
user 61.54
sys 3.99

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 J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662077/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.12
user 0.23
sys 0.13

Creating the high resolution counts map:A" outfile=/lscratch/kocevski/32662120/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 18.43
user 17.35
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32662120/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662120/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662120/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 69.27
user 63.89
sys 3.93

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 J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662120/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.16
user 0.22
sys 0.13

Creating the high resolution counts map:number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32662264', job_status='RUN', time_executed='2026-07-21 16:27:05.120102', time_epoch_executed='1784676425.12' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32662264

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32662264/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32662264/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662264/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.27
user 4.12
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32662264/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-1921_weekly_bin937
RA = 289.438, Dec = -19.3628
tmin = 805680001, tmax = 806284801
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='32662266', job_status='RUN', time_executed='2026-07-21 16:27:06.937627', time_epoch_executed='1784676426.94' WHERE source_name='4FGL J1917.7-1921' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32662266

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32662266/ft1_4FGL_J1917.7-1921_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32662266/ft1_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662266/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits ra=289.438 dec=-19.3628 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.85
user 3.76
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.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/32662266/ft1_filteredMKT_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3534

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32662160/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 18.83
user 17.64
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32662160/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662160/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662160/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 69.10
user 63.85
sys 3.93

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 J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662160/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.27
user 0.24
sys 0.13

Creating the high resolution counts map:A" outfile=/lscratch/kocevski/32662264/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 18.10
user 16.94
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32662264/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662264/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662264/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 67.86
user 62.60
sys 4.03

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662264/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.07
user 0.23
sys 0.13

Creating the high resolution counts map:A" outfile=/lscratch/kocevski/32662266/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 16.83
user 15.41
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32662266/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662266/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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/32662266/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
.....................!
real 60.86
user 56.11
sys 3.42

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 J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Added 403 point sources and 15 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 J1917.7-1921 @ 289.438 -19.3628

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662266/cmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.32
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32661491/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32661491/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661491/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.28
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32661491/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32661491/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32661491/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32661491/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 256.43
user 253.06
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32661491/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32661491/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32661491/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32661491/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32661491/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32661491/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32661491/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32661491/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32661491/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32661491/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312

time -p gtbin evfile=/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661694/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.17
user 0.24
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32661694/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 290.03
user 286.44
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32661694/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32661694/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32661694/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32661694/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32661694/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32661694/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32661694/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32661694/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .1
time -p gtbin evfile=/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661860/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.27
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32661860/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 287.59
user 283.99
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32661860/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32661860/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32661860/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32661860/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32661860/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32661860/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32661860/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32661860/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603

time -p gtbin evfile=/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32661980/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.24
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32661980/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 284.89
user 281.28
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32661980/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32661980/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32661980/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32661980/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32661980/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32661980/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32661980/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32661980/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603

time -p gtbin evfile=/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662077/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.21
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32662077/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 279.92
user 276.20
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32662077/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32662077/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32662077/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32662077/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32662077/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32662077/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32662077/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32662077/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603
0000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603

time -p gtbin evfile=/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662266/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.20
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32662266/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 258.23
user 255.15
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32662266/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32662266/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32662266/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32662266/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32662266/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32662266/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32662266/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32662266/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .1 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312

time -p gtbin evfile=/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662120/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.21
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32662120/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 304.03
user 300.32
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32662120/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32662120/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32662120/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32662120/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32662120/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32662120/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32662120/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32662120/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .1
time -p gtbin evfile=/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662160/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.08
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32662160/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 301.39
user 297.71
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32662160/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32662160/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32662160/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32662160/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32662160/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32662160/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32662160/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32662160/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .1 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312
Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32661491/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
0000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32661491/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 16:51:15.872774', job_id='32661491', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784677875.87', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 16:51:16 PDT 2026


time -p gtbin evfile=/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits scfile=/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits outfile=/lscratch/kocevski/32662264/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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=289.438 yref=-19.3628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.10
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32662264/Model_4FGL_J1917.7-1921_weekly_bin937.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 J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits.....................!
real 289.88
user 286.55
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits', '/lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits', expMap='/lscratch/kocevski/32662264/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', expCube='/lscratch/kocevski/32662264/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32662264/Model_4FGL_J1917.7-1921_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-1921'

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  6.790e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32662264/ft1_filtered_4FGL_J1917.7-1921_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32662264/ft2_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32662264/expmap_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32662264/ltcube_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32662264/Model_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1570434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2236       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.609       1.0000          .0000       .10000E+07
     3 'norm      '    .14050E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312
0000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603
0000E+07
     4 'norm      '    .32204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55651E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0534       1.0000          .0000       .10000E+07
     7 'norm      '    .57207E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20502E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16998E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .10211E-05   1.0000          .0000       .10000E+07
    11 'norm      '    1.4831       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1948       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9547       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.073       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1302       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.691       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    18 'norm      '    6.7361       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1248 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2224        1.9027       -.43300E-08   -.23226E-04
   2  Prefactor     29.593        29.796        .13223E-06   -.18516E-02
   3  norm           .0000        2.6499       -.75508E-07** at limit **
   4  norm          .32143        .50860        .28868E-07   -.84531E-03
   5  Prefactor      .0000        7.4270        .56199E-07** at limit **
   6  Prefactor     2.0535        1.3061       -.18146E-07    .39846E-03
   7  norm           .0000        4.2724        .22255E-07** at limit **
   8  Prefactor     .16653E-09    13.110       -.37055E-07** at limit **
   9  Prefactor      .0000        2.0431        .97356E-07** at limit **
  10  norm           .0000        1.1426       -.10021E-07** at limit **
  11  norm          1.5134        4.5699        .28466E-06   -.64837E-03
  12  Prefactor     3.1949        3.2148        .47687E-07   -.53345E-03
  13  Prefactor     3.9714        8.7009       -.86592E-07   -.16316E-01
  14  Prefactor     24.069        20.966        .88795E-07   -.15692E-02
  15  Prefactor     2.1269        4.7102        .25447E-07   -.10620E-03
  16  Prefactor     20.775        3.3752        .42411E-08    .10936E-01
  17  Prefactor      .0000        .79395       -.34328E-07** at limit **
  18  norm          6.7428        7.8509        .50017E-07   -.23404E-01
  19  Normalizat    1.1759        .23966       -.24893E-05    .47521E-05
  20  Prefactor     .99660        .35863E-01    .27803E-06   -.23787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.22237
  Prefactor  = 29.593
  norm       = 0
  norm       = 0.321435
  Prefactor  = 0
  Prefactor  = 2.05345
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.51344
  Prefactor  = 3.19491
  Prefactor  = 3.97135
  Prefactor  = 24.069
  Prefactor  = 2.12687
  Prefactor  = 20.7755
  Prefactor  = 0
  norm       = 6.74275
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312
 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312
 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312
 **********
 **   18 **HESSE 
 **********

 FCN=   35608.10     FROM HESSE     STATUS=OK           339 CALLS     1587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2224        1.8967        .34936E-03   -1.5651    
   2  Prefactor     29.593        29.963        .18699E-03   -1.5599    
   3  norm           .0000        2.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32143        .44822        .37980E-02   -1.5697    
   5  Prefactor      .0000        7.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0535        1.3080        .72104E-03   -1.5679    
   7  norm           .0000        4.2814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5134        4.5993        .88073E-03   -1.5683    
  12  Prefactor     3.1949        3.2269        .56663E-03   -1.5672    
  13  Prefactor     3.9714        11.120        .50700E-03   -1.5668    
  14  Prefactor     24.069        21.050        .19975E-03   -1.5610    
  15  Prefactor     2.1269        4.7365        .70612E-03   -1.5679    
  16  Prefactor     20.775        26.060        .21991E-03   -1.5617    
  17  Prefactor      .0000        .78026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.7428        13.217        .38637E-03   -1.5656    
  19  Normalizat    1.1759        .24983        .18516       -.87352    
  20  Prefactor     .99660        .34730E-01    .29957E-01   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49739e-06
Minuit parameter uncertainties:
  1  1.89667
  2  29.9627
  3  5.1178e-07
  4  0.448224
  5  4.01451e-06
  6  1.30796
  7  6.75772e-06
  8  8.83595e-05
  9  4.40169e-06
  10  3.40751e-07
  11  4.59929
  12  3.22692
  13  11.1205
  14  21.05
  15  4.7365
  16  26.0599
  17  5.80213e-07
  18  13.2167
  19  0.250088
  20  0.0347312
Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32661860/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32661980/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32661860/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 16:59:06.471076', job_id='32661860', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678346.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 16:59:06 PDT 2026

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

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32661980/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 16:59:14.617663', job_id='32661980', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678354.62', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 16:59:15 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32661694/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32661694/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 16:59:39.093867', job_id='32661694', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678379.09', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 16:59:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32662077/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32662077/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 17:00:08.472538', job_id='32662077', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678408.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 17:00:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32662266/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32662266/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 17:01:28.146034', job_id='32662266', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678488.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 17:01:28 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32662160/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32662160/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 17:04:20.906982', job_id='32662160', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678660.91', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 17:04:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32662120/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32662120/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 17:04:34.326157', job_id='32662120', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678674.33', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 17:04:34 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.402e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.939e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  3.473e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 289.438 -19.363
Photon Flux Upper Limit: 4.25833661892e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00317737042629 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32662264/likelihoodResults_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.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) = 35608.1043973
delta logL = -0.00035879247298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 35608.1040392
delta logL = -6.39542122371e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24059E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1513E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      226 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1314        .42118E-03** at limit **
   2  Index         1.7362        1.5092        .40987E-05     .0000    
   3  Normalizat    1.1759        1.1154       -.78069E-05    .18226E-05
   4  Prefactor     .99660        1.3359       -.12784E-05    .15199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.73622
  Normalizat = 1.17587
  Prefactor  = 0.996603
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   35608.10     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30242        1.7041        .40987E-05   -.71122    
   3  Normalizat    1.1759        1.1154       -.78069E-05   -.87352    
   4  Prefactor     .99660        1.3359       -.12784E-05   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25469e-12
Minuit parameter uncertainties:
  1  4.25693e-06
  2  1.55233
  3  1.13924
  4  1.38465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 35608.1040385
delta logL = 0.0

Extracting fit parameters...

4FGL J1917.7-1921
   Spectrum: PowerLaw
1170    Prefactor:  0.000e+00  4.257e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1171        Index:  1.736e+00  1.552e+00  0.000e+00  1.000e+01 (-1.000e+00)
1172        Scale:  2.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1466    Prefactor:  9.966e-01  1.385e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1455   Normalization:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 289.438 -19.363

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/32662264/cmap_HighResolution_805680001_806284801_4FGL_J1917.7-1921_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2026-07-21 17:05:13.078386', job_id='32662264', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1784678713.08', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='937' AND source_name='4FGL J1917.7-1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 17:05:13 PDT 2026

