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


Performing analysis on: 4FGL_J1458.6+3722_weekly_bin942
RA = 224.673, Dec = 37.3726
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='35813103', job_status='RUN', time_executed='2026-08-25 11:36:27.438963', time_epoch_executed='1787682987.44' WHERE source_name='4FGL J1458.6+3722' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35813103

Creating custom pfile directory:
/lscratch/kocevski/35813103/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/35813103/ft1_4FGL_J1458.6+3722_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/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35813103/ft1_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813103/ft1_filteredMKT_4FGL_J1458.6+3722_weekly_bin942.fits ra=224.673 dec=37.3726 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 6.16
user 5.02
sys 0.37

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_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/35813103/ft1_filteredMKT_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35813103/ft1_filtered_4FGL_J1458.6+3722_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 1.00
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 1584

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35813103/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_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)

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_J1458.6+3722_weekly_bin942
RA = 224.673, Dec = 37.3726
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='35813281', job_status='RUN', time_executed='2026-08-25 11:38:44.383705', time_epoch_executed='1787683124.38' WHERE source_name='4FGL J1458.6+3722' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35813281

Creating custom pfile directory:
/lscratch/kocevski/35813281/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/35813281/ft1_4FGL_J1458.6+3722_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/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35813281/ft1_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813281/ft1_filteredMKT_4FGL_J1458.6+3722_weekly_bin942.fits ra=224.673 dec=37.3726 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 6.15
user 4.81
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_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/35813281/ft1_filteredMKT_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_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 1.03
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1584

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA"number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1458.6+3722_weekly_bin942
RA = 224.673, Dec = 37.3726
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='35813344', job_status='RUN', time_executed='2026-08-25 11:39:15.913939', time_epoch_executed='1787683155.91' WHERE source_name='4FGL J1458.6+3722' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35813344

Creating custom pfile directory:
/lscratch/kocevski/35813344/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/35813344/ft1_4FGL_J1458.6+3722_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/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35813344/ft1_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813344/ft1_filteredMKT_4FGL_J1458.6+3722_weekly_bin942.fits ra=224.673 dec=37.3726 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 6.34
user 5.01
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_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/35813344/ft1_filteredMKT_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_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 1.45
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1584

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35813103/ltcube_808704001_809308801_4FGL_J1458.6+3722_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/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits
.....................!
real 41.06
user 39.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35813103/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35813103/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813103/expmap_808704001_809308801_4FGL_J1458.6+3722_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/35813103/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
.....................!
real 76.15
user 70.72
sys 4.47

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

Setting source of interest to:
4FGL J1458.6+3722 @ 224.673 37.3726

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

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

This is gtbin version HEAD
real 0.86
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35813103/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits scfile=/lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813103/cmap_HighResolution_808704001_809308801_4FGL_J1458.6+3722_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=224.673 yref=37.3726 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.31
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35813103/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35813103/Model_4FGL_J1458.6+3722_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 sourc outfile=/lscratch/kocevski/35813281/ltcube_808704001_809308801_4FGL_J1458.6+3722_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/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits
.....................!
real 20.05
user 18.66
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35813281/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813281/expmap_808704001_809308801_4FGL_J1458.6+3722_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/35813281/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
.....................!
real 74.21
user 67.83
sys 4.38

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

Setting source of interest to:
4FGL J1458.6+3722 @ 224.673 37.3726

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits scfile=/lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813281/cmap_808704001_809308801_4FGL_J1458.6+3722_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=224.673 yref=37.3726 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.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits scfile=/lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813281/cmap_HighResolution_808704001_809308801_4FGL_J1458.6+3722_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=224.673 yref=37.3726 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35813281/Model_4FGL_J1458.6+3722_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 sourc outfile=/lscratch/kocevski/35813344/ltcube_808704001_809308801_4FGL_J1458.6+3722_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/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits
.....................!
real 21.52
user 19.53
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35813344/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813344/expmap_808704001_809308801_4FGL_J1458.6+3722_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/35813344/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
.....................!
real 78.81
user 71.01
sys 4.42

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

Setting source of interest to:
4FGL J1458.6+3722 @ 224.673 37.3726

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

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

This is gtbin version HEAD
real 1.05
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits scfile=/lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits outfile=/lscratch/kocevski/35813344/cmap_HighResolution_808704001_809308801_4FGL_J1458.6+3722_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=224.673 yref=37.3726 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.82
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35813344/Model_4FGL_J1458.6+3722_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/35813103/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits.....................!
real 54.83
user 53.01
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35813103/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits', '/lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits', expMap='/lscratch/kocevski/35813103/expmap_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits', expCube='/lscratch/kocevski/35813103/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35813103/Model_4FGL_J1458.6+3722_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1458.6+3722'

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  1.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35813103/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35813103/ft2_4FGL_J1458.6+3722_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35813103/expmap_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35813103/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35813103/Model_4FGL_J1458.6+3722_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) = 17427.0447539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.186       1.0000          .0000       .10000E+07
     2 'Prefactor '    .40612E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    .53346E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.639       1.0000          .0000       .10000E+07
     6 'Prefactor '    116.76       1.0000          .0000       .10000E+07
     7 'norm      '    4.5550       1.0000          .0000       .10000E+07
     8 'norm      '    2.6982       1.0000          .0000       .10000E+07
     9 'Prefactor '    .83546E-03   1.0000          .0000       .10000E+07
    10 'norm      '    5.8670       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6020       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8193       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2715       1.0000          .0000       .10000E+07
    14 'norm      '    .60234E-01   1.0000          .0000       .10000E+07
    15 'norm      '    1.5610       1.0000          .0000       .10000E+07
    16 'Prefactor '    .44408E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    14.231       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.1716       1.0000          .0000       .10000E+07
    19 'Prefactor '    .38324E-05   1.0000          .0000       .10000E+07
    20 'norm      '    2.5714       1.0000          .0000       .10000E+07
    21 'Prefactor '    9.8846       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18516E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .15848E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .71415E-06   1.0000          .0000       .10000E+07
    25 'Normalizat'    .81211       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17426.96     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1906 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.188        5.5695       -.92692E-08   -.13616    
   2  Prefactor     .17086E-06    5.0139        .15907E-06** at limit **
   3  norm           .0000        .57431        .42142E-07** at limit **
   4  Prefactor     .15399E-06    7.4464       -.51355E-07** at limit **
   5  Prefactor     14.636        3.8604       -.83677E-07    .19807E-01
   6  Prefactor     116.82        7.5521        .61675E-07   -.39925E-01
   7  norm          4.5148        6.6070       -.24271E-08    .16965E-02
   8  norm          2.7002        3.8443        .30249E-07   -.28200E-03
   9  Prefactor     .11062E-05    9.2944        .11680E-06** at limit **
  10  norm          5.8718        4.9617        .41129E-07   -.61414E-02
  11  Prefactor     7.5347        6.8331        .48433E-07    .79644E-01
  12  Prefactor     3.8204        3.9445       -.83736E-09   -.26797E-02
  13  Prefactor     6.2606        4.2392       -.56243E-07   -.19232E-02
  14  norm          .60948E-01    2.4597        .19743E-07** at limit **
  15  norm          1.5621        1.6647        .89081E-07    .53427E-02
  16  Prefactor     .68279E-08    4.0225       -.22388E-06** at limit **
  17  Prefactor     14.395        1.2468        .43432E-08   -.38465E-02
  18  Prefactor     2.1551        19.193       -.59142E-06    .81624E-02
  19  Prefactor     .15171E-06    3.5764        .75931E-07** at limit **
  20  norm          2.5720        1.0110       -.24172E-07   -.79164E-02
  21  Prefactor     9.8749        6.8003        .32410E-07    .12715E-01
  22  Prefactor     .11158E-07    52.183       -.46215E-06** at limit **
  23  norm          .79153E-06    17.560        .41150E-08** at limit **
  24  Prefactor     .37748E-08    4.3914        .22679E-06** at limit **
  25  Normalizat    .81216        .14705       -.23025E-05   -.79840E-04
  26  Prefactor     1.2727        .14632        .17932E-05    .36143E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1877
  Prefactor  = 1.70863e-07
  norm       = 0
  Prefactor  = 1.53988e-07
  Prefactor  = 14.6358
  Prefactor  = 116.816
  norm       = 4.51478
  norm       = 2.70018
  Prefactor  = 1.10617e-06
  norm       = 5.87184
  Prefactor  = 7.53473
  Prefactor  = 3.82041
  Prefactor  = 6.26062
  norm       = 0.0609475
  norm       = 1.56209
  Prefactor  = 6.82787e-09
  Prefactor  = 14.3946
  Prefactor  = 2.15512
  Prefactor  = 1.51712e-07
  norm       = 2.57201
  Prefactor  = 9.87488
  Prefactor  = 1.11577e-08
  norm       = 7.91534e-07
  Prefactor  = 3.77476e-09
  Normalizat = 0.812158
  Prefactor  = 1.27274
e GAL_V02
Working on...
/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits.....................!
real 49.46
user 47.10
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits', '/lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits', expMap='/lscratch/kocevski/35813281/expmap_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits', expCube='/lscratch/kocevski/35813281/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35813281/Model_4FGL_J1458.6+3722_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1458.6+3722'

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  1.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35813281/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35813281/ft2_4FGL_J1458.6+3722_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35813281/expmap_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35813281/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35813281/Model_4FGL_J1458.6+3722_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) = 17427.0447539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.186       1.0000          .0000       .10000E+07
     2 'Prefactor '    .40612E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    .53346E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.639       1.0000          .0000       .10000E+07
     6 'Prefactor '    116.76       1.0000          .0000       .10000E+07
     7 'norm      '    4.5550       1.0000          .0000       .10000E+07
     8 'norm      '    2.6982       1.0000          .0000       .10000E+07
     9 'Prefactor '    .83546E-03   1.0000          .0000       .10000E+07
    10 'norm      '    5.8670       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6020       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8193       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2715       1.0000          .0000       .10000E+07
    14 'norm      '    .60234E-01   1.0000          .0000       .10000E+07
    15 'norm      '    1.5610       1.0000          .0000       .10000E+07
    16 'Prefactor '    .44408E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    14.231       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.1716       1.0000          .0000       .10000E+07
    19 'Prefactor '    .38324E-05   1.0000          .0000       .10000E+07
    20 'norm      '    2.5714       1.0000          .0000       .10000E+07
    21 'Prefactor '    9.8846       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18516E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .15848E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .71415E-06   1.0000          .0000       .10000E+07
    25 'Normalizat'    .81211       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ***** **********
 **   18 **HESSE 
 **********

 FCN=   17426.96     FROM HESSE     STATUS=OK           522 CALLS     2428 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.188        9.6348        .31372E-03   -1.5644    
   2  Prefactor     .17086E-06    12.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .57748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15399E-06    10.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.636        9.9511        .26152E-03   -1.5631    
   6  Prefactor     116.82        7.5632        .92553E-04   -1.5492    
   7  norm          4.5148        6.8144        .47144E-03   -1.5665    
   8  norm          2.7002        3.8728        .61992E-03   -1.5675    
   9  Prefactor     .11062E-05    14.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8718        4.9803        .41437E-03   -1.5659    
  11  Prefactor     7.5347        7.4758        .36348E-03   -1.5653    
  12  Prefactor     3.8204        3.9678        .51621E-03   -1.5669    
  13  Prefactor     6.2606        4.2473        .40060E-03   -1.5658    
  14  norm          .60948E-01    .35747        .39453E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5621        1.6797        .85130E-03   -1.5683    
  16  Prefactor     .68279E-08    4.3596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.395        39.416        .26525E-03   -1.5632    
  18  Prefactor     2.1551        20.942        .69850E-03   -1.5679    
  19  Prefactor     .15171E-06    12.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.5720        1.0127        .63626E-03   -1.5676    
  21  Prefactor     9.8749        6.7936        .31848E-03   -1.5645    
  22  Prefactor     .11158E-07    52.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .79153E-06    19.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .37748E-08    4.6428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .81216        .12391        .71603E-01   -.99619    
  26  Prefactor     1.2727        .12116        .60077E-01   -.84121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.21498e-07
Minuit parameter uncertainties:
  1  9.63478
  2  0.00290232
  3  4.46449e-06
  4  0.00254323
  5  9.95115
  6  7.5632
  7  6.81442
  8  3.87278
  9  0.00790612
  10  4.98031
  11  7.47585
  12  3.96783
  13  4.24727
  14  0.295209
  15  1.67969
  16  0.00034554
  17  39.4164
  18  13.4363
  19  0.00270126
  20  1.01271
  21  6.79358
  22  0.00152428
  23  0.00789083
  24  0.000265433
  25  0.123953
  26  0.121188
*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17426.96     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1906 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.188        5.5695       -.92692E-08   -.13616    
   2  Prefactor     .17086E-06    5.0139        .15907E-06** at limit **
   3  norm           .0000        .57431        .42142E-07** at limit **
   4  Prefactor     .15399E-06    7.4464       -.51355E-07** at limit **
   5  Prefactor     14.636        3.8604       -.83677E-07    .19807E-01
   6  Prefactor     116.82        7.5521        .61675E-07   -.39925E-01
   7  norm          4.5148        6.6070       -.24271E-08    .16965E-02
   8  norm          2.7002        3.8443        .30249E-07   -.28200E-03
   9  Prefactor     .11062E-05    9.2944        .11680E-06** at limit **
  10  norm          5.8718        4.9617        .41129E-07   -.61414E-02
  11  Prefactor     7.5347        6.8331        .48433E-07    .79644E-01
  12  Prefactor     3.8204        3.9445       -.83736E-09   -.26797E-02
  13  Prefactor     6.2606        4.2392       -.56243E-07   -.19232E-02
  14  norm          .60948E-01    2.4597        .19743E-07** at limit **
  15  norm          1.5621        1.6647        .89081E-07    .53427E-02
  16  Prefactor     .68279E-08    4.0225       -.22388E-06** at limit **
  17  Prefactor     14.395        1.2468        .43432E-08   -.38465E-02
  18  Prefactor     2.1551        19.193       -.59142E-06    .81624E-02
  19  Prefactor     .15171E-06    3.5764        .75931E-07** at limit **
  20  norm          2.5720        1.0110       -.24172E-07   -.79164E-02
  21  Prefactor     9.8749        6.8003        .32410E-07    .12715E-01
  22  Prefactor     .11158E-07    52.183       -.46215E-06** at limit **
  23  norm          .79153E-06    17.560        .41150E-08** at limit **
  24  Prefactor     .37748E-08    4.3914        .22679E-06** at limit **
  25  Normalizat    .81216        .14705       -.23025E-05   -.79840E-04
  26  Prefactor     1.2727        .14632        .17932E-05    .36143E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1877
  Prefactor  = 1.70863e-07
  norm       = 0
  Prefactor  = 1.53988e-07
  Prefactor  = 14.6358
  Prefactor  = 116.816
  norm       = 4.51478
  norm       = 2.70018
  Prefactor  = 1.10617e-06
  norm       = 5.87184
  Prefactor  = 7.53473
  Prefactor  = 3.82041
  Prefactor  = 6.26062
  norm       = 0.0609475
  norm       = 1.56209
  Prefactor  = 6.82787e-09
  Prefactor  = 14.3946
  Prefactor  = 2.15512
  Prefactor  = 1.51712e-07
  norm       = 2.57201
  Prefactor  = 9.87488
  Prefactor  = 1.11577e-08
  norm       = 7.91534e-07
  Prefactor  = 3.77476e-09
  Normalizat = 0.812158
  Prefactor  = 1.27274
e GAL_V02
Working on...
/lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits.....................!
real 52.85
user 49.12
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits', '/lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits', expMap='/lscratch/kocevski/35813344/expmap_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits', expCube='/lscratch/kocevski/35813344/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35813344/Model_4FGL_J1458.6+3722_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1458.6+3722'

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  1.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35813344/ft1_filtered_4FGL_J1458.6+3722_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35813344/ft2_4FGL_J1458.6+3722_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35813344/expmap_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35813344/ltcube_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35813344/Model_4FGL_J1458.6+3722_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) = 17427.0447539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.186       1.0000          .0000       .10000E+07
     2 'Prefactor '    .40612E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     4 'Prefactor '    .53346E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.639       1.0000          .0000       .10000E+07
     6 'Prefactor '    116.76       1.0000          .0000       .10000E+07
     7 'norm      '    4.5550       1.0000          .0000       .10000E+07
     8 'norm      '    2.6982       1.0000          .0000       .10000E+07
     9 'Prefactor '    .83546E-03   1.0000          .0000       .10000E+07
    10 'norm      '    5.8670       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6020       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8193       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2715       1.0000          .0000       .10000E+07
    14 'norm      '    .60234E-01   1.0000          .0000       .10000E+07
    15 'norm      '    1.5610       1.0000          .0000       .10000E+07
    16 'Prefactor '    .44408E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    14.231       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.1716       1.0000          .0000       .10000E+07
    19 'Prefactor '    .38324E-05   1.0000          .0000       .10000E+07
    20 'norm      '    2.5714       1.0000          .0000       .10000E+07
    21 'Prefactor '    9.8846       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18516E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .15848E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .71415E-06   1.0000          .0000       .10000E+07
    25 'Normalizat'    .81211       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ***** **********
 **   18 **HESSE 
 **********

 FCN=   17426.96     FROM HESSE     STATUS=OK           522 CALLS     2428 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.188        9.6348        .31372E-03   -1.5644    
   2  Prefactor     .17086E-06    12.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .57748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15399E-06    10.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.636        9.9511        .26152E-03   -1.5631    
   6  Prefactor     116.82        7.5632        .92553E-04   -1.5492    
   7  norm          4.5148        6.8144        .47144E-03   -1.5665    
   8  norm          2.7002        3.8728        .61992E-03   -1.5675    
   9  Prefactor     .11062E-05    14.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8718        4.9803        .41437E-03   -1.5659    
  11  Prefactor     7.5347        7.4758        .36348E-03   -1.5653    
  12  Prefactor     3.8204        3.9678        .51621E-03   -1.5669    
  13  Prefactor     6.2606        4.2473        .40060E-03   -1.5658    
  14  norm          .60948E-01    .35747        .39453E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5621        1.6797        .85130E-03   -1.5683    
  16  Prefactor     .68279E-08    4.3596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.395        39.416        .26525E-03   -1.5632    
  18  Prefactor     2.1551        20.942        .69850E-03   -1.5679    
  19  Prefactor     .15171E-06    12.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.5720        1.0127        .63626E-03   -1.5676    
  21  Prefactor     9.8749        6.7936        .31848E-03   -1.5645    
  22  Prefactor     .11158E-07    52.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .79153E-06    19.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .37748E-08    4.6428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .81216        .12391        .71603E-01   -.99619    
  26  Prefactor     1.2727        .12116        .60077E-01   -.84121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.21498e-07
Minuit parameter uncertainties:
  1  9.63478
  2  0.00290232
  3  4.46449e-06
  4  0.00254323
  5  9.95115
  6  7.5632
  7  6.81442
  8  3.87278
  9  0.00790612
  10  4.98031
  11  7.47585
  12  3.96783
  13  4.24727
  14  0.295209
  15  1.67969
  16  0.00034554
  17  39.4164
  18  13.4363
  19  0.00270126
  20  1.01271
  21  6.79358
  22  0.00152428
  23  0.00789083
  24  0.000265433
  25  0.123953
  26  0.121188
*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17426.96     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1906 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.188        5.5695       -.92692E-08   -.13616    
   2  Prefactor     .17086E-06    5.0139        .15907E-06** at limit **
   3  norm           .0000        .57431        .42142E-07** at limit **
   4  Prefactor     .15399E-06    7.4464       -.51355E-07** at limit **
   5  Prefactor     14.636        3.8604       -.83677E-07    .19807E-01
   6  Prefactor     116.82        7.5521        .61675E-07   -.39925E-01
   7  norm          4.5148        6.6070       -.24271E-08    .16965E-02
   8  norm          2.7002        3.8443        .30249E-07   -.28200E-03
   9  Prefactor     .11062E-05    9.2944        .11680E-06** at limit **
  10  norm          5.8718        4.9617        .41129E-07   -.61414E-02
  11  Prefactor     7.5347        6.8331        .48433E-07    .79644E-01
  12  Prefactor     3.8204        3.9445       -.83736E-09   -.26797E-02
  13  Prefactor     6.2606        4.2392       -.56243E-07   -.19232E-02
  14  norm          .60948E-01    2.4597        .19743E-07** at limit **
  15  norm          1.5621        1.6647        .89081E-07    .53427E-02
  16  Prefactor     .68279E-08    4.0225       -.22388E-06** at limit **
  17  Prefactor     14.395        1.2468        .43432E-08   -.38465E-02
  18  Prefactor     2.1551        19.193       -.59142E-06    .81624E-02
  19  Prefactor     .15171E-06    3.5764        .75931E-07** at limit **
  20  norm          2.5720        1.0110       -.24172E-07   -.79164E-02
  21  Prefactor     9.8749        6.8003        .32410E-07    .12715E-01
  22  Prefactor     .11158E-07    52.183       -.46215E-06** at limit **
  23  norm          .79153E-06    17.560        .41150E-08** at limit **
  24  Prefactor     .37748E-08    4.3914        .22679E-06** at limit **
  25  Normalizat    .81216        .14705       -.23025E-05   -.79840E-04
  26  Prefactor     1.2727        .14632        .17932E-05    .36143E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1877
  Prefactor  = 1.70863e-07
  norm       = 0
  Prefactor  = 1.53988e-07
  Prefactor  = 14.6358
  Prefactor  = 116.816
  norm       = 4.51478
  norm       = 2.70018
  Prefactor  = 1.10617e-06
  norm       = 5.87184
  Prefactor  = 7.53473
  Prefactor  = 3.82041
  Prefactor  = 6.26062
  norm       = 0.0609475
  norm       = 1.56209
  Prefactor  = 6.82787e-09
  Prefactor  = 14.3946
  Prefactor  = 2.15512
  Prefactor  = 1.51712e-07
  norm       = 2.57201
  Prefactor  = 9.87488
  Prefactor  = 1.11577e-08
  norm       = 7.91534e-07
  Prefactor  = 3.77476e-09
  Normalizat = 0.812158
  Prefactor  = 1.27274
Done.

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

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  3.820e+00  3.968e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.273e+00  1.212e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.122e-01  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 224.673 37.373
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.45e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 6.70e-06 +/- 6.95e-06

TS (Fixed Index): 1.85
Ra Dec: 224.673 37.373
Photon Flux Upper Limit: 5.04798955986e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00384170733144 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35813103/likelihoodResults_808704001_809308801_4FGL_J1458.6+3722_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) = 17426.9617814
delta logL = 2.41750676651e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17426.9617745
delta logL = 3.10393770633e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8355       1.0000          .0000       .10000E+07
     2 'Index     '    2.1786       1.0000          .0000       10.000    
     3 'Normalizat'    .81237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+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=   17426.96     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      264 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8359        4.4938        .20603E-04   -.27170E-02
   2  Index         2.1787        .78657        .11644E-01   -.36927E-04
   3  Normalizat    .81230        .14214        .31685E-03    .50534E-03
   4  Prefactor     1.2727        .14537        .26567E-03    .60843E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.83593
  Index      = 2.17874
  Normalizat = 0.812297
  Prefactor  = 1.27266
 **********
 **   18 **HESSE 
 **********

 FCN=   17426.96     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8359        4.3083        .82413E-06   -1.5669    
   2  Index         2.1787        .75385        .46574E-03   -.59953    
   3  Normalizat    .81230        .14210        .12674E-04   -.99614    
   4  Prefactor     1.2727        .14543        .53135E-04   -.84124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81619e-10
Minuit parameter uncertainties:
  1  4.30832
  2  0.758106
  3  0.142167
  4  0.145478
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) = 17426.9617742
delta logL = 3.13613854814e-05

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  3.836e+00  4.308e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.179e+00  7.581e-01  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.273e+00  1.455e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.123e-01  1.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 224.673 37.373
Photon Index (Free Index): 2.18 +/- 0.76
Photon Flux (Free Index): 1.44e-08 +/- 2.00e-08
Energy Flux (Free Index): 6.72e-06 +/- 7.47e-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/35813103/cmap_HighResolution_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', comment='SUCCESS', photon_flux='1.45e-08', energy_flux2='6.72e-06', photon_flux_error='1.50e-08', dlogl='3.14e-05', energy_flux='6.70e-06', photon_flux2='1.44e-08', job_status='DONE', time_completed='2026-08-25 11:49:07.589655', photon_index_error2='0.76', photon_index2='2.18', ts='1.85', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='5.05e-08', energy_flux_error2='7.47e-06', EG='0.81', time_epoch_completed='1787683747.59', return_code='0', job_id='35813103', GAL2='1.27', EG2='0.81', return_code2='0', energy_flux_error='6.95e-06', photon_flux_error2='2.00e-08', ts2='1.85', photon_index='2.18' WHERE bin_id='942' AND source_name='4FGL J1458.6+3722' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 11:49:07 PDT 2026

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

 FCN=   17426.96     FROM HESSE     STATUS=OK           522 CALLS     2428 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.188        9.6348        .31372E-03   -1.5644    
   2  Prefactor     .17086E-06    12.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .57748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15399E-06    10.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.636        9.9511        .26152E-03   -1.5631    
   6  Prefactor     116.82        7.5632        .92553E-04   -1.5492    
   7  norm          4.5148        6.8144        .47144E-03   -1.5665    
   8  norm          2.7002        3.8728        .61992E-03   -1.5675    
   9  Prefactor     .11062E-05    14.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8718        4.9803        .41437E-03   -1.5659    
  11  Prefactor     7.5347        7.4758        .36348E-03   -1.5653    
  12  Prefactor     3.8204        3.9678        .51621E-03   -1.5669    
  13  Prefactor     6.2606        4.2473        .40060E-03   -1.5658    
  14  norm          .60948E-01    .35747        .39453E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5621        1.6797        .85130E-03   -1.5683    
  16  Prefactor     .68279E-08    4.3596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.395        39.416        .26525E-03   -1.5632    
  18  Prefactor     2.1551        20.942        .69850E-03   -1.5679    
  19  Prefactor     .15171E-06    12.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.5720        1.0127        .63626E-03   -1.5676    
  21  Prefactor     9.8749        6.7936        .31848E-03   -1.5645    
  22  Prefactor     .11158E-07    52.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .79153E-06    19.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .37748E-08    4.6428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .81216        .12391        .71603E-01   -.99619    
  26  Prefactor     1.2727        .12116        .60077E-01   -.84121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.21498e-07
Minuit parameter uncertainties:
  1  9.63478
  2  0.00290232
  3  4.46449e-06
  4  0.00254323
  5  9.95115
  6  7.5632
  7  6.81442
  8  3.87278
  9  0.00790612
  10  4.98031
  11  7.47585
  12  3.96783
  13  4.24727
  14  0.295209
  15  1.67969
  16  0.00034554
  17  39.4164
  18  13.4363
  19  0.00270126
  20  1.01271
  21  6.79358
  22  0.00152428
  23  0.00789083
  24  0.000265433
  25  0.123953
  26  0.121188
Done.

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

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  3.820e+00  3.968e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.273e+00  1.212e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.122e-01  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 224.673 37.373
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.45e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 6.70e-06 +/- 6.95e-06

TS (Fixed Index): 1.85
Ra Dec: 224.673 37.373
Photon Flux Upper Limit: 5.04798955986e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00384170733144 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35813281/likelihoodResults_808704001_809308801_4FGL_J1458.6+3722_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) = 17426.9617814
delta logL = 2.41750676651e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17426.9617745
delta logL = 3.10393770633e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8355       1.0000          .0000       .10000E+07
     2 'Index     '    2.1786       1.0000          .0000       10.000    
     3 'Normalizat'    .81237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+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=   17426.96     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      264 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8359        4.4938        .20603E-04   -.27170E-02
   2  Index         2.1787        .78657        .11644E-01   -.36927E-04
   3  Normalizat    .81230        .14214        .31685E-03    .50534E-03
   4  Prefactor     1.2727        .14537        .26567E-03    .60843E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.83593
  Index      = 2.17874
  Normalizat = 0.812297
  Prefactor  = 1.27266
 **********
 **   18 **HESSE 
 **********

 FCN=   17426.96     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8359        4.3083        .82413E-06   -1.5669    
   2  Index         2.1787        .75385        .46574E-03   -.59953    
   3  Normalizat    .81230        .14210        .12674E-04   -.99614    
   4  Prefactor     1.2727        .14543        .53135E-04   -.84124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81619e-10
Minuit parameter uncertainties:
  1  4.30832
  2  0.758106
  3  0.142167
  4  0.145478
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) = 17426.9617742
delta logL = 3.13613854814e-05

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  3.836e+00  4.308e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.179e+00  7.581e-01  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.273e+00  1.455e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.123e-01  1.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 224.673 37.373
Photon Index (Free Index): 2.18 +/- 0.76
Photon Flux (Free Index): 1.44e-08 +/- 2.00e-08
Energy Flux (Free Index): 6.72e-06 +/- 7.47e-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/35813281/cmap_HighResolution_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', comment='SUCCESS', photon_flux='1.45e-08', energy_flux2='6.72e-06', photon_flux_error='1.50e-08', dlogl='3.14e-05', energy_flux='6.70e-06', photon_flux2='1.44e-08', job_status='DONE', time_completed='2026-08-25 11:49:41.087204', photon_index_error2='0.76', photon_index2='2.18', ts='1.85', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='5.05e-08', energy_flux_error2='7.47e-06', EG='0.81', time_epoch_completed='1787683781.09', return_code='0', job_id='35813281', GAL2='1.27', EG2='0.81', return_code2='0', energy_flux_error='6.95e-06', photon_flux_error2='2.00e-08', ts2='1.85', photon_index='2.18' WHERE bin_id='942' AND source_name='4FGL J1458.6+3722' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 11:49:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  3.820e+00  3.968e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.273e+00  1.212e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.122e-01  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 224.673 37.373
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.45e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 6.70e-06 +/- 6.95e-06

TS (Fixed Index): 1.85
Ra Dec: 224.673 37.373
Photon Flux Upper Limit: 5.04798955986e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00384170733144 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35813344/likelihoodResults_808704001_809308801_4FGL_J1458.6+3722_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) = 17426.9617814
delta logL = 2.41750676651e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17426.9617745
delta logL = 3.10393770633e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8355       1.0000          .0000       .10000E+07
     2 'Index     '    2.1786       1.0000          .0000       10.000    
     3 'Normalizat'    .81237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+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=   17426.96     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      264 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8359        4.4938        .20603E-04   -.27170E-02
   2  Index         2.1787        .78657        .11644E-01   -.36927E-04
   3  Normalizat    .81230        .14214        .31685E-03    .50534E-03
   4  Prefactor     1.2727        .14537        .26567E-03    .60843E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.83593
  Index      = 2.17874
  Normalizat = 0.812297
  Prefactor  = 1.27266
 **********
 **   18 **HESSE 
 **********

 FCN=   17426.96     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8359        4.3083        .82413E-06   -1.5669    
   2  Index         2.1787        .75385        .46574E-03   -.59953    
   3  Normalizat    .81230        .14210        .12674E-04   -.99614    
   4  Prefactor     1.2727        .14543        .53135E-04   -.84124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81619e-10
Minuit parameter uncertainties:
  1  4.30832
  2  0.758106
  3  0.142167
  4  0.145478
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) = 17426.9617742
delta logL = 3.13613854814e-05

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  3.836e+00  4.308e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.179e+00  7.581e-01  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.273e+00  1.455e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.123e-01  1.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 224.673 37.373
Photon Index (Free Index): 2.18 +/- 0.76
Photon Flux (Free Index): 1.44e-08 +/- 2.00e-08
Energy Flux (Free Index): 6.72e-06 +/- 7.47e-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/35813344/cmap_HighResolution_808704001_809308801_4FGL_J1458.6+3722_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', comment='SUCCESS', photon_flux='1.45e-08', energy_flux2='6.72e-06', photon_flux_error='1.50e-08', dlogl='3.14e-05', energy_flux='6.70e-06', photon_flux2='1.44e-08', job_status='DONE', time_completed='2026-08-25 11:50:53.754902', photon_index_error2='0.76', photon_index2='2.18', ts='1.85', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='5.05e-08', energy_flux_error2='7.47e-06', EG='0.81', time_epoch_completed='1787683853.75', return_code='0', job_id='35813344', GAL2='1.27', EG2='0.81', return_code2='0', energy_flux_error='6.95e-06', photon_flux_error2='2.00e-08', ts2='1.85', photon_index='2.18' WHERE bin_id='942' AND source_name='4FGL J1458.6+3722' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 11:50:53 PDT 2026

