/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_J1008.7-2909_weekly_bin937
RA = 152.199, Dec = -29.1559
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='32606925', job_status='RUN', time_executed='2026-07-21 07:29:31.082815', time_epoch_executed='1784644171.08' WHERE source_name='4FGL J1008.7-2909' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32606925

Creating custom pfile directory:
/lscratch/kocevski/32606925/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/32606925/ft1_4FGL_J1008.7-2909_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/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32606925/ft1_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32606925/ft1_filteredMKT_4FGL_J1008.7-2909_weekly_bin937.fits ra=152.199 dec=-29.1559 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.43
user 3.82
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_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/32606925/ft1_filteredMKT_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_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 0.75
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 2199

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_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_J1008.7-2909_weekly_bin937
RA = 152.199, Dec = -29.1559
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='32607005', job_status='RUN', time_executed='2026-07-21 07:30:38.571661', time_epoch_executed='1784644238.57' WHERE source_name='4FGL J1008.7-2909' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32607005

Creating custom pfile directory:
/lscratch/kocevski/32607005/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/32607005/ft1_4FGL_J1008.7-2909_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/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32607005/ft1_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32607005/ft1_filteredMKT_4FGL_J1008.7-2909_weekly_bin937.fits ra=152.199 dec=-29.1559 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.83
user 4.01
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_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/32607005/ft1_filteredMKT_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_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 0.79
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 2199

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_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_J1008.7-2909_weekly_bin937
RA = 152.199, Dec = -29.1559
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='32606999', job_status='RUN', time_executed='2026-07-21 07:30:37.495730', time_epoch_executed='1784644237.5' WHERE source_name='4FGL J1008.7-2909' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32606999

Creating custom pfile directory:
/lscratch/kocevski/32606999/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/32606999/ft1_4FGL_J1008.7-2909_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/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32606999/ft1_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32606999/ft1_filteredMKT_4FGL_J1008.7-2909_weekly_bin937.fits ra=152.199 dec=-29.1559 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.04
user 4.27
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_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/32606999/ft1_filteredMKT_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_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 0.77
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 2199

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits sctable="SC_DATAA" outfile=/lscratch/kocevski/32606925/ltcube_805680001_806284801_4FGL_J1008.7-2909_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/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits
.....................!
real 16.08
user 15.32
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32606925/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32606925/expmap_805680001_806284801_4FGL_J1008.7-2909_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/32606925/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
.....................!
real 61.97
user 57.52
sys 3.58

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

Setting source of interest to:
4FGL J1008.7-2909 @ 152.199 -29.1559

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits scfile=/lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32606925/cmap_805680001_806284801_4FGL_J1008.7-2909_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=152.199 yref=-29.1559 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.21
sys 0.13

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

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

This is gtbin version HEAD
real 0.81
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32606925/Model_4FGL_J1008.7-2909_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 A" outfile=/lscratch/kocevski/32607005/ltcube_805680001_806284801_4FGL_J1008.7-2909_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/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits
.....................!
real 17.25
user 16.49
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32607005/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32607005/expmap_805680001_806284801_4FGL_J1008.7-2909_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/32607005/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
.....................!
real 65.29
user 60.48
sys 3.74

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

Setting source of interest to:
4FGL J1008.7-2909 @ 152.199 -29.1559

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits scfile=/lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32607005/cmap_805680001_806284801_4FGL_J1008.7-2909_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=152.199 yref=-29.1559 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.87
user 0.23
sys 0.13

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

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

This is gtbin version HEAD
real 0.85
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32607005/Model_4FGL_J1008.7-2909_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 " outfile=/lscratch/kocevski/32606999/ltcube_805680001_806284801_4FGL_J1008.7-2909_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/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits
.....................!
real 18.60
user 17.76
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32606999/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32606999/expmap_805680001_806284801_4FGL_J1008.7-2909_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/32606999/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
.....................!
real 68.12
user 63.41
sys 3.90

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

Setting source of interest to:
4FGL J1008.7-2909 @ 152.199 -29.1559

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits scfile=/lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits outfile=/lscratch/kocevski/32606999/cmap_805680001_806284801_4FGL_J1008.7-2909_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=152.199 yref=-29.1559 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.23
sys 0.12

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

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

This is gtbin version HEAD
real 0.76
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32606999/Model_4FGL_J1008.7-2909_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 ssource GAL_V02
Working on...
/lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits.....................!
real 77.71
user 75.64
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits', '/lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits', expMap='/lscratch/kocevski/32606925/expmap_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits', expCube='/lscratch/kocevski/32606925/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32606925/Model_4FGL_J1008.7-2909_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.7-2909'

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  3.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32606925/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32606925/ft2_4FGL_J1008.7-2909_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32606925/expmap_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32606925/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32606925/Model_4FGL_J1008.7-2909_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) = 23154.063957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25401E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .12770E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .10247E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .12916       1.0000          .0000       .10000E+07
     5 'norm      '    .66257E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .30501E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49774E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .30226E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .21178E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6823       1.0000          .0000       .10000E+07
    11 'norm      '    .43315E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .57777E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23152.85     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      950 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5001       -.81019E-07** at limit **
   2  norm           .0000        1.3382        .49509E-07** at limit **
   3  norm           .0000        8.0999       -.13471E-06** at limit **
   4  norm          .12933        .59331        .41405E-07** at limit **
   5  norm           .0000        5.3547       -.97459E-07** at limit **
   6  Prefactor      .0000        8.5000       -.91781E-07** at limit **
   7  Prefactor      .0000        22.984        .20923E-06** at limit **
   8  norm           .0000        1.1176        .93412E-08** at limit **
   9  norm           .0000        1.3965       -.12075E-07** at limit **
  10  Prefactor     1.6467        6.0864        .27964E-07   -.84810E-04
  11  norm           .0000        2.2453       -.36070E-09** at limit **
  12  Prefactor      .0000        2.0937       -.33014E-07** at limit **
  13  Prefactor      .0000        .71053        .13958E-07** at limit **
  14  Prefactor      .0000        13.192        .43938E-06** at limit **
  15  Normalizat    1.1475        .13922       -.46999E-06   -.17182E-04
  16  Prefactor     1.0222        .63485E-01    .25528E-06   -.60862E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 0.12933
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.64669
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14752
  Prefactor  = 1.02222
 **********
 **   18 **HESSE 
 **********

 FCN=   23152.85     FROM HESSE     STATUS=OK           231 CALLS     1181 TOTAL
                     EDM=   .92E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.3323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        7.8335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .12933        .37306        .26381E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        5.3236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        8.4871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        22.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.1211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6467        6.1100        .81175E-03   -1.5682    
  11  norm           .0000        2.1721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.0981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .70879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1475        .12122        .76639E-01   -.88240    
  16  Prefactor     1.0222        .54686E-01    .41930E-01   -.91992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23814e-07
Minuit parameter uncertainties:
  1  4.77713e-08
  2  7.11503e-07
  3  5.32799e-06
  4  0.373064
  5  5.23107e-06
  6  6.69857e-07
  7  4.07704e-05
  8  7.59095e-07
  9  5.66558e-07
  10  6.11007
  11  6.91626e-08
  12  1.44276e-06
  13  4.21037e-07
  14  1.82081e-05
  15  0.121251
  16  0.0546889
Done.

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

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.699e-07  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.022e+00  5.469e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.148e+00  1.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 152.199 -29.156
Photon Flux Upper Limit: 3.87268054047e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300878478313 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32606925/likelihoodResults_805680001_806284801_4FGL_J1008.7-2909_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) = 23152.9125043
delta logL = -0.0592489869523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23152.8532553
delta logL = -2.26646079682e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72720E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.2044       1.0000          .0000       10.000    
     3 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2860        .42118E-03** at limit **
   2  Index         2.8773        1.5322        .22225E-04     .0000    
   3  Normalizat    1.1475        1.1276        .10469E-05   -.35208E-04
   4  Prefactor     1.0222        1.2332       -.10435E-05   -.88520E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.8773
  Normalizat = 1.14752
  Prefactor  = 1.02222
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93742        2.0652        .22225E-04   -.43845    
   3  Normalizat    1.1475        1.1276        .10469E-05   -.88240    
   4  Prefactor     1.0222        1.2332       -.10435E-05   -.91992    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07728e-12
Minuit parameter uncertainties:
  1  9.65226e-06
  2  1.56312
  3  1.15282
  4  1.27012
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) = 23152.8532553
delta logL = 0.0

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  9.652e-06  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.877e+00  1.563e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.022e+00  1.270e+00  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.148e+00  1.153e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 152.199 -29.156

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/32606925/cmap_HighResolution_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-03', job_status='DONE', photon_flux_upper_limit='3.87e-08', time_completed='2026-07-21 07:39:48.718485', job_id='32606925', GAL2='1.02', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1784644788.72', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='937' AND source_name='4FGL J1008.7-2909' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 07:39:49 PDT 2026

source GAL_V02
Working on...
/lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits.....................!
real 82.11
user 79.99
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits', '/lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits', expMap='/lscratch/kocevski/32607005/expmap_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits', expCube='/lscratch/kocevski/32607005/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32607005/Model_4FGL_J1008.7-2909_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.7-2909'

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  3.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32607005/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32607005/ft2_4FGL_J1008.7-2909_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32607005/expmap_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32607005/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32607005/Model_4FGL_J1008.7-2909_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) = 23154.063957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25401E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .12770E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .10247E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .12916       1.0000          .0000       .10000E+07
     5 'norm      '    .66257E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .30501E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49774E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .30226E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .21178E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6823       1.0000          .0000       .10000E+07
    11 'norm      '    .43315E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .57777E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23152.85     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      950 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5001       -.81019E-07** at limit **
   2  norm           .0000        1.3382        .49509E-07** at limit **
   3  norm           .0000        8.0999       -.13471E-06** at limit **
   4  norm          .12933        .59331        .41405E-07** at limit **
   5  norm           .0000        5.3547       -.97459E-07** at limit **
   6  Prefactor      .0000        8.5000       -.91781E-07** at limit **
   7  Prefactor      .0000        22.984        .20923E-06** at limit **
   8  norm           .0000        1.1176        .93412E-08** at limit **
   9  norm           .0000        1.3965       -.12075E-07** at limit **
  10  Prefactor     1.6467        6.0864        .27964E-07   -.84810E-04
  11  norm           .0000        2.2453       -.36070E-09** at limit **
  12  Prefactor      .0000        2.0937       -.33014E-07** at limit **
  13  Prefactor      .0000        .71053        .13958E-07** at limit **
  14  Prefactor      .0000        13.192        .43938E-06** at limit **
  15  Normalizat    1.1475        .13922       -.46999E-06   -.17182E-04
  16  Prefactor     1.0222        .63485E-01    .25528E-06   -.60862E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 0.12933
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.64669
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14752
  Prefactor  = 1.02222
ource GAL_V02
Working on...
/lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits.....................!
real 87.07
user 85.16
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits', '/lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits', expMap='/lscratch/kocevski/32606999/expmap_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits', expCube='/lscratch/kocevski/32606999/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32606999/Model_4FGL_J1008.7-2909_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.7-2909'

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  3.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32606999/ft1_filtered_4FGL_J1008.7-2909_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32606999/ft2_4FGL_J1008.7-2909_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32606999/expmap_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32606999/ltcube_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32606999/Model_4FGL_J1008.7-2909_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) = 23154.063957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25401E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .12770E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .10247E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .12916       1.0000          .0000       .10000E+07
     5 'norm      '    .66257E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .30501E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49774E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .30226E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .21178E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6823       1.0000          .0000       .10000E+07
    11 'norm      '    .43315E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .57777E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23152.85     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      950 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5001       -.81019E-07** at limit **
   2  norm           .0000        1.3382        .49509E-07** at limit **
   3  norm           .0000        8.0999       -.13471E-06** at limit **
   4  norm          .12933        .59331        .41405E-07** at limit **
   5  norm           .0000        5.3547       -.97459E-07** at limit **
   6  Prefactor      .0000        8.5000       -.91781E-07** at limit **
   7  Prefactor      .0000        22.984        .20923E-06** at limit **
   8  norm           .0000        1.1176        .93412E-08** at limit **
   9  norm           .0000        1.3965       -.12075E-07** at limit **
  10  Prefactor     1.6467        6.0864        .27964E-07   -.84810E-04
  11  norm           .0000        2.2453       -.36070E-09** at limit **
  12  Prefactor      .0000        2.0937       -.33014E-07** at limit **
  13  Prefactor      .0000        .71053        .13958E-07** at limit **
  14  Prefactor      .0000        13.192        .43938E-06** at limit **
  15  Normalizat    1.1475        .13922       -.46999E-06   -.17182E-04
  16  Prefactor     1.0222        .63485E-01    .25528E-06   -.60862E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 0.12933
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.64669
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14752
  Prefactor  = 1.02222
 **********
 **   18 **HESSE 
 **********

 FCN=   23152.85     FROM HESSE     STATUS=OK           231 CALLS     1181 TOTAL
                     EDM=   .92E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.3323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        7.8335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .12933        .37306        .26381E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        5.3236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        8.4871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        22.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.1211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6467        6.1100        .81175E-03   -1.5682    
  11  norm           .0000        2.1721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.0981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .70879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1475        .12122        .76639E-01   -.88240    
  16  Prefactor     1.0222        .54686E-01    .41930E-01   -.91992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23814e-07
Minuit parameter uncertainties:
  1  4.77713e-08
  2  7.11503e-07
  3  5.32799e-06
  4  0.373064
  5  5.23107e-06
  6  6.69857e-07
  7  4.07704e-05
  8  7.59095e-07
  9  5.66558e-07
  10  6.11007
  11  6.91626e-08
  12  1.44276e-06
  13  4.21037e-07
  14  1.82081e-05
  15  0.121251
  16  0.0546889
 **********
 **   18 **HESSE 
 **********

 FCN=   23152.85     FROM HESSE     STATUS=OK           231 CALLS     1181 TOTAL
                     EDM=   .92E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.3323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        7.8335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .12933        .37306        .26381E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        5.3236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        8.4871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        22.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.1211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6467        6.1100        .81175E-03   -1.5682    
  11  norm           .0000        2.1721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.0981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .70879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1475        .12122        .76639E-01   -.88240    
  16  Prefactor     1.0222        .54686E-01    .41930E-01   -.91992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23814e-07
Minuit parameter uncertainties:
  1  4.77713e-08
  2  7.11503e-07
  3  5.32799e-06
  4  0.373064
  5  5.23107e-06
  6  6.69857e-07
  7  4.07704e-05
  8  7.59095e-07
  9  5.66558e-07
  10  6.11007
  11  6.91626e-08
  12  1.44276e-06
  13  4.21037e-07
  14  1.82081e-05
  15  0.121251
  16  0.0546889
Done.

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

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.699e-07  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.022e+00  5.469e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.148e+00  1.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 152.199 -29.156
Photon Flux Upper Limit: 3.87268054047e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300878478313 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32607005/likelihoodResults_805680001_806284801_4FGL_J1008.7-2909_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) = 23152.9125043
delta logL = -0.0592489869523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23152.8532553
delta logL = -2.26646079682e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72720E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.2044       1.0000          .0000       10.000    
     3 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2860        .42118E-03** at limit **
   2  Index         2.8773        1.5322        .22225E-04     .0000    
   3  Normalizat    1.1475        1.1276        .10469E-05   -.35208E-04
   4  Prefactor     1.0222        1.2332       -.10435E-05   -.88520E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.8773
  Normalizat = 1.14752
  Prefactor  = 1.02222
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93742        2.0652        .22225E-04   -.43845    
   3  Normalizat    1.1475        1.1276        .10469E-05   -.88240    
   4  Prefactor     1.0222        1.2332       -.10435E-05   -.91992    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07728e-12
Minuit parameter uncertainties:
  1  9.65226e-06
  2  1.56312
  3  1.15282
  4  1.27012
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) = 23152.8532553
delta logL = 0.0

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  9.652e-06  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.877e+00  1.563e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.022e+00  1.270e+00  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.148e+00  1.153e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 152.199 -29.156

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/32607005/cmap_HighResolution_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-03', job_status='DONE', photon_flux_upper_limit='3.87e-08', time_completed='2026-07-21 07:41:27.517234', job_id='32607005', GAL2='1.02', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1784644887.52', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='937' AND source_name='4FGL J1008.7-2909' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 07:41:27 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  6.699e-07  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.022e+00  5.469e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.148e+00  1.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 152.199 -29.156
Photon Flux Upper Limit: 3.87268054047e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00300878478313 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32606999/likelihoodResults_805680001_806284801_4FGL_J1008.7-2909_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) = 23152.9125043
delta logL = -0.0592489869523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23152.8532553
delta logL = -2.26646079682e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72720E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.2044       1.0000          .0000       10.000    
     3 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2860        .42118E-03** at limit **
   2  Index         2.8773        1.5322        .22225E-04     .0000    
   3  Normalizat    1.1475        1.1276        .10469E-05   -.35208E-04
   4  Prefactor     1.0222        1.2332       -.10435E-05   -.88520E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.8773
  Normalizat = 1.14752
  Prefactor  = 1.02222
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93742        2.0652        .22225E-04   -.43845    
   3  Normalizat    1.1475        1.1276        .10469E-05   -.88240    
   4  Prefactor     1.0222        1.2332       -.10435E-05   -.91992    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07728e-12
Minuit parameter uncertainties:
  1  9.65226e-06
  2  1.56312
  3  1.15282
  4  1.27012
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) = 23152.8532553
delta logL = 0.0

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  9.652e-06  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.877e+00  1.563e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.022e+00  1.270e+00  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.148e+00  1.153e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 152.199 -29.156

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/32606999/cmap_HighResolution_805680001_806284801_4FGL_J1008.7-2909_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-03', job_status='DONE', photon_flux_upper_limit='3.87e-08', time_completed='2026-07-21 07:41:48.015646', job_id='32606999', GAL2='1.02', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1784644908.02', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='937' AND source_name='4FGL J1008.7-2909' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 07:41:48 PDT 2026

