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


Performing analysis on: 4FGL_J1031.6+6019_weekly_bin942
RA = 157.909, Dec = 60.3178
tmin = 808704001, tmax = 809308801
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='35788513', job_status='RUN', time_executed='2026-08-25 07:44:21.500227', time_epoch_executed='1787669061.5' WHERE source_name='4FGL J1031.6+6019' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35788513

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35788513/ft1_4FGL_J1031.6+6019_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35788513/ft1_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788513/ft1_filteredMKT_4FGL_J1031.6+6019_weekly_bin942.fits ra=157.909 dec=60.3178 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.48
user 4.93
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.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/35788513/ft1_filteredMKT_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.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.59
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 1827

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1031.6+6019_weekly_bin942
RA = 157.909, Dec = 60.3178
tmin = 808704001, tmax = 809308801
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='35788514', job_status='RUN', time_executed='2026-08-25 07:44:26.380887', time_epoch_executed='1787669066.38' WHERE source_name='4FGL J1031.6+6019' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35788514

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35788514/ft1_4FGL_J1031.6+6019_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35788514/ft1_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788514/ft1_filteredMKT_4FGL_J1031.6+6019_weekly_bin942.fits ra=157.909 dec=60.3178 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.01
user 4.55
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.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/35788514/ft1_filteredMKT_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1827

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA"
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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


Performing analysis on: 4FGL_J1031.6+6019_weekly_bin942
RA = 157.909, Dec = 60.3178
tmin = 808704001, tmax = 809308801
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='35788648', job_status='RUN', time_executed='2026-08-25 07:45:31.522208', time_epoch_executed='1787669131.52' WHERE source_name='4FGL J1031.6+6019' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35788648

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35788648/ft1_4FGL_J1031.6+6019_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35788648/ft1_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788648/ft1_filteredMKT_4FGL_J1031.6+6019_weekly_bin942.fits ra=157.909 dec=60.3178 rad=12.0 tmin=808704001.0 tmax=809308801.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.75
user 4.90
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.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/35788648/ft1_filteredMKT_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.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.66
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1827

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35788514/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits
.....................!
real 18.64
user 17.98
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35788514/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788514/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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/35788514/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
.....................!
real 71.56
user 66.71
sys 4.05

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 246 point sources and 0 extended sources

Setting source of interest to:
4FGL J1031.6+6019 @ 157.909 60.3178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits scfile=/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788514/cmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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=157.909 yref=60.3178 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.24
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits scfile=/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788514/cmap_HighResolution_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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=157.909 yref=60.3178 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.72
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35788514/Model_4FGL_J1031.6+6019_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35788513/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits
.....................!
real 19.67
user 18.95
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35788513/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788513/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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/35788513/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
.....................!
real 75.24
user 69.86
sys 4.40

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 246 point sources and 0 extended sources

Setting source of interest to:
4FGL J1031.6+6019 @ 157.909 60.3178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits scfile=/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788513/cmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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=157.909 yref=60.3178 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits scfile=/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788513/cmap_HighResolution_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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=157.909 yref=60.3178 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.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35788513/Model_4FGL_J1031.6+6019_weekly_bin942.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 outfile=/lscratch/kocevski/35788648/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits
.....................!
real 20.22
user 19.39
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35788648/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788648/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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/35788648/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
.....................!
real 76.01
user 70.45
sys 4.43

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 246 point sources and 0 extended sources

Setting source of interest to:
4FGL J1031.6+6019 @ 157.909 60.3178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits scfile=/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788648/cmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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=157.909 yref=60.3178 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.72
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits scfile=/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits outfile=/lscratch/kocevski/35788648/cmap_HighResolution_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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=157.909 yref=60.3178 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.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35788648/Model_4FGL_J1031.6+6019_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits.....................!
real 73.41
user 70.74
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits', '/lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits', expMap='/lscratch/kocevski/35788514/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits', expCube='/lscratch/kocevski/35788514/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35788514/Model_4FGL_J1031.6+6019_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1031.6+6019'

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  9.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35788514/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35788514/ft2_4FGL_J1031.6+6019_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35788514/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35788514/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35788514/Model_4FGL_J1031.6+6019_weekly_bin942.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) = 19278.5625341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50842       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.7830       1.0000          .0000       .10000E+07
     3 'Prefactor '    .60760E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .40996E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19663E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17028E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.286       1.0000          .0000       .10000E+07
     8 'norm      '    1.3204       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57139E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.5020       1.0000          .0000       .10000E+07
    11 'norm      '    5.0157       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59261E-05   1.0000          .0000       .10000E+07
    13 'norm      '    6.8314       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.2521       1.0000          .0000       .10000E+07
    15 'norm      '    .27213E-05   1.0000          .0000       .10000E+07
    16 'norm      '    1.0230       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74586E-05   1.0000          .0000       .10000E+07
    18 'norm      '    5.0136       1.0000          .0000       .10000E+07
    19 'norm      '    7.5305       1.0000          .0000       .10000E+07
    20 'Prefactor '    .14826       1.0000          .0000       .10000E+07
    21 'norm      '    1.9754       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.789       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19111E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    2.3276       1.0000          .0000       .10000E+07
    25 'Prefactor '    24.806       1.0000          .0000       .10000E+07
    26 'Prefactor '    17.596       1.0000          .0000       .10000E+07
    27 'Prefactor '    .43183E-05   1.0000         GAL_V02
Working on...
/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits.....................!
real 76.26
user 74.05
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits', '/lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits', expMap='/lscratch/kocevski/35788513/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits', expCube='/lscratch/kocevski/35788513/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35788513/Model_4FGL_J1031.6+6019_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1031.6+6019'

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  9.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35788513/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35788513/ft2_4FGL_J1031.6+6019_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35788513/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35788513/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35788513/Model_4FGL_J1031.6+6019_weekly_bin942.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) = 19278.5625341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50842       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.7830       1.0000          .0000       .10000E+07
     3 'Prefactor '    .60760E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .40996E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19663E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17028E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.286       1.0000          .0000       .10000E+07
     8 'norm      '    1.3204       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57139E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.5020       1.0000          .0000       .10000E+07
    11 'norm      '    5.0157       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59261E-05   1.0000          .0000       .10000E+07
    13 'norm      '    6.8314       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.2521       1.0000          .0000       .10000E+07
    15 'norm      '    .27213E-05   1.0000          .0000       .10000E+07
    16 'norm      '    1.0230       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74586E-05   1.0000          .0000       .10000E+07
    18 'norm      '    5.0136       1.0000          .0000       .10000E+07
    19 'norm      '    7.5305       1.0000          .0000       .10000E+07
    20 'Prefactor '    .14826       1.0000          .0000       .10000E+07
    21 'norm      '    1.9754       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.789       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19111E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    2.3276       1.0000          .0000       .10000E+07
    25 'Prefactor '    24.806       1.0000          .0000       .10000E+07
    26 'Prefactor '    17.596       1.0000          .0000       .10000E+07
    27 'Prefactor '    .43183E-05   1.0000           .0000       .10000E+07
    28 'norm      '    .71497E-04   1.0000          .0000       .10000E+07
    29 'norm      '    2.1825       1.0000          .0000       .10000E+07
    30 'Prefactor '    2.0762       1.0000          .0000       .10000E+07
    31 'Prefactor '    .43874E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0510       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19278.48     FROM MIGRAD    STATUS=CONVERGED    218 CALLS     2666 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50847        .36120       -.33895E-07   -.12659E-01
   2  Prefactor     5.7867        7.7528       -.85484E-07    .90356E-03
   3  Prefactor      .0000        1.1593       -.52759E-06** at limit **
   4  Prefactor     .12491E-05    143.51       -.56580E-06** at limit **
   5  Prefactor     .14549E-06    4.7699        .70857E-06** at limit **
   6  norm          .33307E-09    2.0299        .25305E-06** at limit **
   7  Prefactor     18.475        6.7576       -.61637E-06   -.21993E-01
   8  norm          1.3201        .31836       -.22349E-07   -.60446E-02
   9  Prefactor     .94907E-06    1.2368       -.46378E-06** at limit **
  10  norm          1.5021        .43512        .16337E-07   -.45182E-02
  11  norm          5.0155        1.8355       -.75705E-07   -.11991E-02
  12  Prefactor     .91038E-08    4.7867        .25583E-06** at limit **
  13  norm          6.7801        9.1906        .12641E-06   -.35043E-02
  14  Prefactor     9.2319        7.3643       -.72052E-08    .24715E-02
  15  norm          .16653E-09    1.7720       -.33029E-06** at limit **
  16  norm          1.0231        .85704       -.52949E-07   -.73704E-03
  17  Prefactor     .19484E-07    28.924       -.51860E-06** at limit **
  18  norm          5.0138        .72422       -.63114E-07   -.57543E-02
  19  norm          7.5315        1.8260        .16403E-06    .83324E-02
  20  Prefactor     .22262E-05    14.949        .16425E-05** at limit **
  21  norm          1.9748        1.2052        .31019E-07   -.15142E-02
  22  Prefactor     19.027        36.255       -.40602E-05    .10743E-01
  23  Prefactor     .58842E-08    17.571       -.73200E-06** at limit **
  24  Prefactor     2.3623        4.2008        .10525E-06    .68709E-03
  25  Prefactor     24.160        17.590       -.18181E-06    .32697E-02
  26  Prefactor     17.614        2.6074        .13876E-06    .12941    
  27  Prefactor     .33307E-09    2.1774        .63022E-07** at limit **
  28  norm          .38858E-09    2.2946        .21115E-06** at limit **
  29  norm          2.1997        2.5429        .56230E-07    .30044E-03
  30  Prefactor     2.0554        3.4704       -.62632E-06   -.11237E-03
  31  Prefactor     .17097E-07    5.3050        .14541E-06** at limit **
  32  Normalizat    1.0506        .11804        .65596E-05   -.29568E-03
  33  Prefactor     1.0682        .12525       -.39131E-05   -.24757E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.508465
  Prefactor  = 5.78672
  Prefactor  = 0
  Prefactor  = 1.24911e-06
  Prefactor  = 1.45495e-07
  norm       = 3.33067e-10
  Prefactor  = 18.4755
  norm       = 1.32014
  Prefactor  = 9.49074e-07
  norm       = 1.50213
  norm       = 5.01552
  Prefactor  = 9.10383e-09
  norm       = 6.78006
  Prefactor  = 9.23186
  norm       = 1.66533e-10
  norm       = 1.02308
  Prefactor  = 1.94844e-08
  norm       = 5.01375
  norm       = 7.53153
  Prefactor  = 2.22616e-06
  norm       = 1.97476
  Prefactor  = 19.0267
  Prefactor  = 5.88418e-09
  Prefactor  = 2.36226
  Prefactor  = 24.1598
  Prefactor  = 17.6136
  Prefactor  = 3.33067e-10
  norm       = 3.88578e-10
  norm       = 2.19974
  Prefactor  = 2.05536
  Prefactor  = 1.70974e-08
  Normalizat = 1.05058
  Prefactor  = 1.06817
 .0000       .10000E+07
    28 'norm      '    .71497E-04   1.0000          .0000       .10000E+07
    29 'norm      '    2.1825       1.0000          .0000       .10000E+07
    30 'Prefactor '    2.0762       1.0000          .0000       .10000E+07
    31 'Prefactor '    .43874E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0510       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19278.48     FROM MIGRAD    STATUS=CONVERGED    218 CALLS     2666 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50847        .36120       -.33895E-07   -.12659E-01
   2  Prefactor     5.7867        7.7528       -.85484E-07    .90356E-03
   3  Prefactor      .0000        1.1593       -.52759E-06** at limit **
   4  Prefactor     .12491E-05    143.51       -.56580E-06** at limit **
   5  Prefactor     .14549E-06    4.7699        .70857E-06** at limit **
   6  norm          .33307E-09    2.0299        .25305E-06** at limit **
   7  Prefactor     18.475        6.7576       -.61637E-06   -.21993E-01
   8  norm          1.3201        .31836       -.22349E-07   -.60446E-02
   9  Prefactor     .94907E-06    1.2368       -.46378E-06** at limit **
  10  norm          1.5021        .43512        .16337E-07   -.45182E-02
  11  norm          5.0155        1.8355       -.75705E-07   -.11991E-02
  12  Prefactor     .91038E-08    4.7867        .25583E-06** at limit **
  13  norm          6.7801        9.1906        .12641E-06   -.35043E-02
  14  Prefactor     9.2319        7.3643       -.72052E-08    .24715E-02
  15  norm          .16653E-09    1.7720       -.33029E-06** at limit **
  16  norm          1.0231        .85704       -.52949E-07   -.73704E-03
  17  Prefactor     .19484E-07    28.924       -.51860E-06** at limit **
  18  norm          5.0138        .72422       -.63114E-07   -.57543E-02
  19  norm          7.5315        1.8260        .16403E-06    .83324E-02
  20  Prefactor     .22262E-05    14.949        .16425E-05** at limit **
  21  norm          1.9748        1.2052        .31019E-07   -.15142E-02
  22  Prefactor     19.027        36.255       -.40602E-05    .10743E-01
  23  Prefactor     .58842E-08    17.571       -.73200E-06** at limit **
  24  Prefactor     2.3623        4.2008        .10525E-06    .68709E-03
  25  Prefactor     24.160        17.590       -.18181E-06    .32697E-02
  26  Prefactor     17.614        2.6074        .13876E-06    .12941    
  27  Prefactor     .33307E-09    2.1774        .63022E-07** at limit **
  28  norm          .38858E-09    2.2946        .21115E-06** at limit **
  29  norm          2.1997        2.5429        .56230E-07    .30044E-03
  30  Prefactor     2.0554        3.4704       -.62632E-06   -.11237E-03
  31  Prefactor     .17097E-07    5.3050        .14541E-06** at limit **
  32  Normalizat    1.0506        .11804        .65596E-05   -.29568E-03
  33  Prefactor     1.0682        .12525       -.39131E-05   -.24757E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.508465
  Prefactor  = 5.78672
  Prefactor  = 0
  Prefactor  = 1.24911e-06
  Prefactor  = 1.45495e-07
  norm       = 3.33067e-10
  Prefactor  = 18.4755
  norm       = 1.32014
  Prefactor  = 9.49074e-07
  norm       = 1.50213
  norm       = 5.01552
  Prefactor  = 9.10383e-09
  norm       = 6.78006
  Prefactor  = 9.23186
  norm       = 1.66533e-10
  norm       = 1.02308
  Prefactor  = 1.94844e-08
  norm       = 5.01375
  norm       = 7.53153
  Prefactor  = 2.22616e-06
  norm       = 1.97476
  Prefactor  = 19.0267
  Prefactor  = 5.88418e-09
  Prefactor  = 2.36226
  Prefactor  = 24.1598
  Prefactor  = 17.6136
  Prefactor  = 3.33067e-10
  norm       = 3.88578e-10
  norm       = 2.19974
  Prefactor  = 2.05536
  Prefactor  = 1.70974e-08
  Normalizat = 1.05058
  Prefactor  = 1.06817
e GAL_V02
Working on...
/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits.....................!
real 77.09
user 74.36
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits', '/lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits', expMap='/lscratch/kocevski/35788648/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits', expCube='/lscratch/kocevski/35788648/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35788648/Model_4FGL_J1031.6+6019_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1031.6+6019'

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  9.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35788648/ft1_filtered_4FGL_J1031.6+6019_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35788648/ft2_4FGL_J1031.6+6019_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35788648/expmap_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35788648/ltcube_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35788648/Model_4FGL_J1031.6+6019_weekly_bin942.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) = 19278.5625341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50842       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.7830       1.0000          .0000       .10000E+07
     3 'Prefactor '    .60760E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .40996E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19663E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17028E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.286       1.0000          .0000       .10000E+07
     8 'norm      '    1.3204       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57139E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.5020       1.0000          .0000       .10000E+07
    11 'norm      '    5.0157       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59261E-05   1.0000          .0000       .10000E+07
    13 'norm      '    6.8314       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.2521       1.0000          .0000       .10000E+07
    15 'norm      '    .27213E-05   1.0000          .0000       .10000E+07
    16 'norm      '    1.0230       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74586E-05   1.0000          .0000       .10000E+07
    18 'norm      '    5.0136       1.0000          .0000       .10000E+07
    19 'norm      '    7.5305       1.0000          .0000       .10000E+07
    20 'Prefactor '    .14826       1.0000          .0000       .10000E+07
    21 'norm      '    1.9754       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.789       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19111E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    2.3276       1.0000          .0000       .10000E+07
    25 'Prefactor '    24.806       1.0000          .0000       .10000E+07
    26 'Prefactor '    17.596       1.0000          .0000       .10000E+07
    27 'Prefactor '    .43183E-05   1.0000          .0000       .10000E+07
    28 'norm      '    .71497E-04   1.0000          .0000       .10000E+07
    29 'norm      '    2.1825       1.0000          .0000       .10000E+07
    30 'Prefactor '    2.0762       1.0000          .0000       .10000E+07
    31 'Prefactor '    .43874E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0510       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19278.48     FROM MIGRAD    STATUS=CONVERGED    218 CALLS     2666 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50847        .36120       -.33895E-07   -.12659E-01
   2  Prefactor     5.7867        7.7528       -.85484E-07    .90356E-03
   3  Prefactor      .0000        1.1593       -.52759E-06** at limit **
   4  Prefactor     .12491E-05    143.51       -.56580E-06** at limit **
   5  Prefactor     .14549E-06    4.7699        .70857E-06** at limit **
   6  norm          .33307E-09    2.0299        .25305E-06** at limit **
   7  Prefactor     18.475        6.7576       -.61637E-06   -.21993E-01
   8  norm          1.3201        .31836       -.22349E-07   -.60446E-02
   9  Prefactor     .94907E-06    1.2368       -.46378E-06** at limit **
  10  norm          1.5021        .43512        .16337E-07   -.45182E-02
  11  norm          5.0155        1.8355       -.75705E-07   -.11991E-02
  12  Prefactor     .91038E-08    4.7867        .25583E-06** at limit **
  13  norm          6.7801        9.1906        .12641E-06   -.35043E-02
  14  Prefactor     9.2319        7.3643       -.72052E-08    .24715E-02
  15  norm          .16653E-09    1.7720       -.33029E-06** at limit **
  16  norm          1.0231        .85704       -.52949E-07   -.73704E-03
  17  Prefactor     .19484E-07    28.924       -.51860E-06** at limit **
  18  norm          5.0138        .72422       -.63114E-07   -.57543E-02
  19  norm          7.5315        1.8260        .16403E-06    .83324E-02
  20  Prefactor     .22262E-05    14.949        .16425E-05** at limit **
  21  norm          1.9748        1.2052        .31019E-07   -.15142E-02
  22  Prefactor     19.027        36.255       -.40602E-05    .10743E-01
  23  Prefactor     .58842E-08    17.571       -.73200E-06** at limit **
  24  Prefactor     2.3623        4.2008        .10525E-06    .68709E-03
  25  Prefactor     24.160        17.590       -.18181E-06    .32697E-02
  26  Prefactor     17.614        2.6074        .13876E-06    .12941    
  27  Prefactor     .33307E-09    2.1774        .63022E-07** at limit **
  28  norm          .38858E-09    2.2946        .21115E-06** at limit **
  29  norm          2.1997        2.5429        .56230E-07    .30044E-03
  30  Prefactor     2.0554        3.4704       -.62632E-06   -.11237E-03
  31  Prefactor     .17097E-07    5.3050        .14541E-06** at limit **
  32  Normalizat    1.0506        .11804        .65596E-05   -.29568E-03
  33  Prefactor     1.0682        .12525       -.39131E-05   -.24757E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.508465
  Prefactor  = 5.78672
  Prefactor  = 0
  Prefactor  = 1.24911e-06
  Prefactor  = 1.45495e-07
  norm       = 3.33067e-10
  Prefactor  = 18.4755
  norm       = 1.32014
  Prefactor  = 9.49074e-07
  norm       = 1.50213
  norm       = 5.01552
  Prefactor  = 9.10383e-09
  norm       = 6.78006
  Prefactor  = 9.23186
  norm       = 1.66533e-10
  norm       = 1.02308
  Prefactor  = 1.94844e-08
  norm       = 5.01375
  norm       = 7.53153
  Prefactor  = 2.22616e-06
  norm       = 1.97476
  Prefactor  = 19.0267
  Prefactor  = 5.88418e-09
  Prefactor  = 2.36226
  Prefactor  = 24.1598
  Prefactor  = 17.6136
  Prefactor  = 3.33067e-10
  norm       = 3.88578e-10
  norm       = 2.19974
  Prefactor  = 2.05536
  Prefactor  = 1.70974e-08
  Normalizat = 1.05058
  Prefactor  = 1.06817
 **********
 **   18 **HESSE 
 **********

 FCN=   19278.48     FROM HESSE     STATUS=OK           785 CALLS     3451 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50847        .37109        .77867E-03   -1.5694    
   2  Prefactor     5.7867        7.7435        .41742E-03   -1.5660    
   3  Prefactor      .0000        1.1569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12491E-05    2.5536        .59521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14549E-06    6.1809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33307E-09    2.0312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.475        24.085        .23394E-03   -1.5622    
   8  norm          1.3201        .32066        .84349E-03   -1.5685    
   9  Prefactor     .94907E-06    .81256        .66089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5021        .43922        .87326E-03   -1.5683    
  11  norm          5.0155        1.8398        .44877E-03   -1.5663    
  12  Prefactor     .91038E-08    4.8351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.7801        9.2073        .38364E-03   -1.5656    
  14  Prefactor     9.2319        8.1752        .32925E-03   -1.5647    
  15  norm          .16653E-09    .42263        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0231        .98436        .26586E-02   -1.5688    
  17  Prefactor     .19484E-07    29.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.0138        .72263        .44887E-03   -1.5663    
  19  norm          7.5315        1.8209        .36522E-03   -1.5653    
  20  Prefactor     .22262E-05    54.808        .12780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9748        1.2118        .73731E-03   -1.5680    
  22  Prefactor     19.027        37.028        .23719E-03   -1.5621    
  23  Prefactor     .58842E-08    18.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.3623        4.2446        .67195E-03   -1.5677    
  25  Prefactor     24.160        17.897        .20082E-03   -1.5610    
  26  Prefactor     17.614        11.206        .23849E-03   -1.5624    
  27  Prefactor     .33307E-09    2.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .38858E-09    2.2966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          2.1997        2.5891        .69653E-03   -1.5678    
  30  Prefactor     2.0554        3.5384        .71652E-03   -1.5679    
  31  Prefactor     .17097E-07    5.4160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0506        .10674        .40491E-01   -.91355    
  33  Prefactor     1.0682        .10958        .63192E-01   -.90490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74801e-07
Minuit parameter uncertainties:
  1  0.371093
  2  7.74355
  3  1.10063e-05
  4  0.00357192
  5  0.0018966
  6  5.114e-05
  7  24.0848
  8  0.320662
  9  0.00175636
  10  0.439218
  11  1.83983
  12  0.000419744
  13  9.20732
  14  8.17525
  15  1.71071e-05
  16  0.984363
  17  0.0015149
  18  0.722631
  19  1.82087
  20  0.022092
  21  1.21184
  22  37.0284
  23  0.00065049
  24  4.24464
  25  17.8969
  26  11.2065
  27  5.33291e-05
  28  5.92719e-05
  29  2.58914
  30  3.53841
  31  0.000609005
  32  0.106764
  33  0.109604
 **********
 **   18 **HESSE 
 **********

 FCN=   19278.48     FROM HESSE     STATUS=OK           785 CALLS     3451 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50847        .37109        .77867E-03   -1.5694    
   2  Prefactor     5.7867        7.7435        .41742E-03   -1.5660    
   3  Prefactor      .0000        1.1569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12491E-05    2.5536        .59521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14549E-06    6.1809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33307E-09    2.0312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.475        24.085        .23394E-03   -1.5622    
   8  norm          1.3201        .32066        .84349E-03   -1.5685    
   9  Prefactor     .94907E-06    .81256        .66089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5021        .43922        .87326E-03   -1.5683    
  11  norm          5.0155        1.8398        .44877E-03   -1.5663    
  12  Prefactor     .91038E-08    4.8351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.7801        9.2073        .38364E-03   -1.5656    
  14  Prefactor     9.2319        8.1752        .32925E-03   -1.5647    
  15  norm          .16653E-09    .42263        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0231        .98436        .26586E-02   -1.5688    
  17  Prefactor     .19484E-07    29.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.0138        .72263        .44887E-03   -1.5663    
  19  norm          7.5315        1.8209        .36522E-03   -1.5653    
  20  Prefactor     .22262E-05    54.808        .12780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9748        1.2118        .73731E-03   -1.5680    
  22  Prefactor     19.027        37.028        .23719E-03   -1.5621    
  23  Prefactor     .58842E-08    18.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.3623        4.2446        .67195E-03   -1.5677    
  25  Prefactor     24.160        17.897        .20082E-03   -1.5610    
  26  Prefactor     17.614        11.206        .23849E-03   -1.5624    
  27  Prefactor     .33307E-09    2.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .38858E-09    2.2966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          2.1997        2.5891        .69653E-03   -1.5678    
  30  Prefactor     2.0554        3.5384        .71652E-03   -1.5679    
  31  Prefactor     .17097E-07    5.4160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0506        .10674        .40491E-01   -.91355    
  33  Prefactor     1.0682        .10958        .63192E-01   -.90490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74801e-07
Minuit parameter uncertainties:
  1  0.371093
  2  7.74355
  3  1.10063e-05
  4  0.00357192
  5  0.0018966
  6  5.114e-05
  7  24.0848
  8  0.320662
  9  0.00175636
  10  0.439218
  11  1.83983
  12  0.000419744
  13  9.20732
  14  8.17525
  15  1.71071e-05
  16  0.984363
  17  0.0015149
  18  0.722631
  19  1.82087
  20  0.022092
  21  1.21184
  22  37.0284
  23  0.00065049
  24  4.24464
  25  17.8969
  26  11.2065
  27  5.33291e-05
  28  5.92719e-05
  29  2.58914
  30  3.53841
  31  0.000609005
  32  0.106764
  33  0.109604
 **********
 **   18 **HESSE 
 **********

 FCN=   19278.48     FROM HESSE     STATUS=OK           785 CALLS     3451 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50847        .37109        .77867E-03   -1.5694    
   2  Prefactor     5.7867        7.7435        .41742E-03   -1.5660    
   3  Prefactor      .0000        1.1569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12491E-05    2.5536        .59521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14549E-06    6.1809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33307E-09    2.0312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.475        24.085        .23394E-03   -1.5622    
   8  norm          1.3201        .32066        .84349E-03   -1.5685    
   9  Prefactor     .94907E-06    .81256        .66089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5021        .43922        .87326E-03   -1.5683    
  11  norm          5.0155        1.8398        .44877E-03   -1.5663    
  12  Prefactor     .91038E-08    4.8351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.7801        9.2073        .38364E-03   -1.5656    
  14  Prefactor     9.2319        8.1752        .32925E-03   -1.5647    
  15  norm          .16653E-09    .42263        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0231        .98436        .26586E-02   -1.5688    
  17  Prefactor     .19484E-07    29.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.0138        .72263        .44887E-03   -1.5663    
  19  norm          7.5315        1.8209        .36522E-03   -1.5653    
  20  Prefactor     .22262E-05    54.808        .12780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9748        1.2118        .73731E-03   -1.5680    
  22  Prefactor     19.027        37.028        .23719E-03   -1.5621    
  23  Prefactor     .58842E-08    18.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.3623        4.2446        .67195E-03   -1.5677    
  25  Prefactor     24.160        17.897        .20082E-03   -1.5610    
  26  Prefactor     17.614        11.206        .23849E-03   -1.5624    
  27  Prefactor     .33307E-09    2.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .38858E-09    2.2966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          2.1997        2.5891        .69653E-03   -1.5678    
  30  Prefactor     2.0554        3.5384        .71652E-03   -1.5679    
  31  Prefactor     .17097E-07    5.4160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0506        .10674        .40491E-01   -.91355    
  33  Prefactor     1.0682        .10958        .63192E-01   -.90490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74801e-07
Minuit parameter uncertainties:
  1  0.371093
  2  7.74355
  3  1.10063e-05
  4  0.00357192
  5  0.0018966
  6  5.114e-05
  7  24.0848
  8  0.320662
  9  0.00175636
  10  0.439218
  11  1.83983
  12  0.000419744
  13  9.20732
  14  8.17525
  15  1.71071e-05
  16  0.984363
  17  0.0015149
  18  0.722631
  19  1.82087
  20  0.022092
  21  1.21184
  22  37.0284
  23  0.00065049
  24  4.24464
  25  17.8969
  26  11.2065
  27  5.33291e-05
  28  5.92719e-05
  29  2.58914
  30  3.53841
  31  0.000609005
  32  0.106764
  33  0.109604
Done.

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

Extracting fit parameters...

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  9.232e+00  8.175e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.068e+00  1.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  1.051e+00  1.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.51
Ra Dec: 157.909 60.318
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 4.91e-06

TS (Fixed Index): 2.51
Ra Dec: 157.909 60.318
Photon Flux Upper Limit: 5.75293488335e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450591052501 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35788514/likelihoodResults_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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) = 19278.253415
delta logL = 0.226246627783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19278.2432648
delta logL = 0.236396794924

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19278.24     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      284 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        10.293        .11273E-04   -.14903E-01
   2  Index         2.1498        .62657        .13752E-01   -.42334E-03
   3  Normalizat    1.0611        .10854        .25268E-03    .62607E-03
   4  Prefactor     1.0606        .11970        .28030E-03    .58875E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6106
  Index      = 2.14979
  Normalizat = 1.06115
  Prefactor  = 1.06057
 **********
 **   18 **HESSE 
 **********

 FCN=   19278.24     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        10.183        .22547E-05   -1.5637    
   2  Index         2.1498        .61968        .55009E-03   -.60656    
   3  Normalizat    1.0611        .10855        .50537E-04   -.91009    
   4  Prefactor     1.0606        .11975        .11212E-04   -.90737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63882e-09
Minuit parameter uncertainties:
  1  10.1834
  2  0.622057
  3  0.108576
  4  0.119782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19278.2432644
delta logL = 0.236397202076

Extracting fit parameters...

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  1.261e+01  1.018e+01  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.150e+00  6.221e-01  0.000e+00  1.000e+01 (-1.000e+00)
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.061e+00  1.198e-01  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  1.061e+00  1.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 157.909 60.318
Photon Index (Free Index): 2.15 +/- 0.62
Photon Flux (Free Index): 1.43e-08 +/- 1.57e-08
Energy Flux (Free Index): 7.10e-06 +/- 6.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35788514/cmap_HighResolution_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='7.10e-06', photon_flux_error='1.90e-08', dlogl='2.36e-01', energy_flux='5.55e-06', photon_flux2='1.43e-08', job_status='DONE', time_completed='2026-08-25 08:01:19.526514', photon_index_error2='0.62', photon_index2='2.15', ts='2.51', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='5.75e-08', energy_flux_error2='6.68e-06', EG='1.05', time_epoch_completed='1787670079.53', return_code='0', job_id='35788514', GAL2='1.06', EG2='1.06', return_code2='0', energy_flux_error='4.91e-06', photon_flux_error2='1.57e-08', ts2='2.96', photon_index='2.61' WHERE bin_id='942' AND source_name='4FGL J1031.6+6019' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 08:01:19 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  9.232e+00  8.175e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.068e+00  1.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  1.051e+00  1.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.51
Ra Dec: 157.909 60.318
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 4.91e-06

TS (Fixed Index): 2.51
Ra Dec: 157.909 60.318
Photon Flux Upper Limit: 5.75293488335e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450591052501 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35788513/likelihoodResults_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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) = 19278.253415
delta logL = 0.226246627783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19278.2432648
delta logL = 0.236396794924

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19278.24     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      284 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        10.293        .11273E-04   -.14903E-01
   2  Index         2.1498        .62657        .13752E-01   -.42334E-03
   3  Normalizat    1.0611        .10854        .25268E-03    .62607E-03
   4  Prefactor     1.0606        .11970        .28030E-03    .58875E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6106
  Index      = 2.14979
  Normalizat = 1.06115
  Prefactor  = 1.06057
 **********
 **   18 **HESSE 
 **********

 FCN=   19278.24     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        10.183        .22547E-05   -1.5637    
   2  Index         2.1498        .61968        .55009E-03   -.60656    
   3  Normalizat    1.0611        .10855        .50537E-04   -.91009    
   4  Prefactor     1.0606        .11975        .11212E-04   -.90737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63882e-09
Minuit parameter uncertainties:
  1  10.1834
  2  0.622057
  3  0.108576
  4  0.119782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19278.2432644
delta logL = 0.236397202076

Extracting fit parameters...

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  1.261e+01  1.018e+01  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.150e+00  6.221e-01  0.000e+00  1.000e+01 (-1.000e+00)
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.061e+00  1.198e-01  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  1.061e+00  1.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 157.909 60.318
Photon Index (Free Index): 2.15 +/- 0.62
Photon Flux (Free Index): 1.43e-08 +/- 1.57e-08
Energy Flux (Free Index): 7.10e-06 +/- 6.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35788513/cmap_HighResolution_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='7.10e-06', photon_flux_error='1.90e-08', dlogl='2.36e-01', energy_flux='5.55e-06', photon_flux2='1.43e-08', job_status='DONE', time_completed='2026-08-25 08:02:09.968785', photon_index_error2='0.62', photon_index2='2.15', ts='2.51', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='5.75e-08', energy_flux_error2='6.68e-06', EG='1.05', time_epoch_completed='1787670129.97', return_code='0', job_id='35788513', GAL2='1.06', EG2='1.06', return_code2='0', energy_flux_error='4.91e-06', photon_flux_error2='1.57e-08', ts2='2.96', photon_index='2.61' WHERE bin_id='942' AND source_name='4FGL J1031.6+6019' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 08:02:10 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  9.232e+00  8.175e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.068e+00  1.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  1.051e+00  1.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.51
Ra Dec: 157.909 60.318
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 4.91e-06

TS (Fixed Index): 2.51
Ra Dec: 157.909 60.318
Photon Flux Upper Limit: 5.75293488335e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00450591052501 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35788648/likelihoodResults_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.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) = 19278.253415
delta logL = 0.226246627783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19278.2432648
delta logL = 0.236396794924

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19278.24     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      284 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.611        10.293        .11273E-04   -.14903E-01
   2  Index         2.1498        .62657        .13752E-01   -.42334E-03
   3  Normalizat    1.0611        .10854        .25268E-03    .62607E-03
   4  Prefactor     1.0606        .11970        .28030E-03    .58875E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6106
  Index      = 2.14979
  Normalizat = 1.06115
  Prefactor  = 1.06057
 **********
 **   18 **HESSE 
 **********

 FCN=   19278.24     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.611        10.183        .22547E-05   -1.5637    
   2  Index         2.1498        .61968        .55009E-03   -.60656    
   3  Normalizat    1.0611        .10855        .50537E-04   -.91009    
   4  Prefactor     1.0606        .11975        .11212E-04   -.90737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63882e-09
Minuit parameter uncertainties:
  1  10.1834
  2  0.622057
  3  0.108576
  4  0.119782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19278.2432644
delta logL = 0.236397202076

Extracting fit parameters...

4FGL J1031.6+6019
   Spectrum: PowerLaw
418    Prefactor:  1.261e+01  1.018e+01  0.000e+00  1.000e+06 ( 1.000e-13)
419        Index:  2.150e+00  6.221e-01  0.000e+00  1.000e+01 (-1.000e+00)
420        Scale:  9.651e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.061e+00  1.198e-01  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  1.061e+00  1.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 157.909 60.318
Photon Index (Free Index): 2.15 +/- 0.62
Photon Flux (Free Index): 1.43e-08 +/- 1.57e-08
Energy Flux (Free Index): 7.10e-06 +/- 6.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35788648/cmap_HighResolution_808704001_809308801_4FGL_J1031.6+6019_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='7.10e-06', photon_flux_error='1.90e-08', dlogl='2.36e-01', energy_flux='5.55e-06', photon_flux2='1.43e-08', job_status='DONE', time_completed='2026-08-25 08:03:17.363218', photon_index_error2='0.62', photon_index2='2.15', ts='2.51', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='5.75e-08', energy_flux_error2='6.68e-06', EG='1.05', time_epoch_completed='1787670197.36', return_code='0', job_id='35788648', GAL2='1.06', EG2='1.06', return_code2='0', energy_flux_error='4.91e-06', photon_flux_error2='1.57e-08', ts2='2.96', photon_index='2.61' WHERE bin_id='942' AND source_name='4FGL J1031.6+6019' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 08:03:17 PDT 2026

