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


Performing analysis on: 4FGL_J1459.0+7140_weekly_bin942
RA = 224.753, Dec = 71.6733
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='35813165', job_status='RUN', time_executed='2026-08-25 11:37:17.214762', time_epoch_executed='1787683037.21' WHERE source_name='4FGL J1459.0+7140' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35813165

Creating custom pfile directory:
/lscratch/kocevski/35813165/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/35813165/ft1_4FGL_J1459.0+7140_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/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35813165/ft1_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813165/ft1_filteredMKT_4FGL_J1459.0+7140_weekly_bin942.fits ra=224.753 dec=71.6733 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.44
user 4.70
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_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/35813165/ft1_filteredMKT_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_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.73
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1816

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_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_J1459.0+7140_weekly_bin942
RA = 224.753, Dec = 71.6733
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='35813431', job_status='RUN', time_executed='2026-08-25 11:39:51.740704', time_epoch_executed='1787683191.74' WHERE source_name='4FGL J1459.0+7140' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35813431

Creating custom pfile directory:
/lscratch/kocevski/35813431/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/35813431/ft1_4FGL_J1459.0+7140_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/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35813431/ft1_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813431/ft1_filteredMKT_4FGL_J1459.0+7140_weekly_bin942.fits ra=224.753 dec=71.6733 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.78
user 4.87
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_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/35813431/ft1_filteredMKT_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_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.10
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1816

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_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_J1459.0+7140_weekly_bin942
RA = 224.753, Dec = 71.6733
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='35813349', job_status='RUN', time_executed='2026-08-25 11:39:30.788629', time_epoch_executed='1787683170.79' WHERE source_name='4FGL J1459.0+7140' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35813349

Creating custom pfile directory:
/lscratch/kocevski/35813349/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/35813349/ft1_4FGL_J1459.0+7140_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/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35813349/ft1_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813349/ft1_filteredMKT_4FGL_J1459.0+7140_weekly_bin942.fits ra=224.753 dec=71.6733 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.83
user 4.97
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_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/35813349/ft1_filteredMKT_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_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.69
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1816

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35813165/ltcube_808704001_809308801_4FGL_J1459.0+7140_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/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits
.....................!
real 19.15
user 18.32
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35813165/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813165/expmap_808704001_809308801_4FGL_J1459.0+7140_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/35813165/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
.....................!
real 73.54
user 67.73
sys 4.46

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

Setting source of interest to:
4FGL J1459.0+7140 @ 224.753 71.6733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits scfile=/lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813165/cmap_808704001_809308801_4FGL_J1459.0+7140_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.753 yref=71.6733 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.31
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits scfile=/lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813165/cmap_HighResolution_808704001_809308801_4FGL_J1459.0+7140_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.753 yref=71.6733 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.04
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35813165/Model_4FGL_J1459.0+7140_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/35813431/ltcube_808704001_809308801_4FGL_J1459.0+7140_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/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits
.....................!
real 19.88
user 19.04
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35813431/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813431/expmap_808704001_809308801_4FGL_J1459.0+7140_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/35813431/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
.....................!
real 75.77
user 70.37
sys 4.36

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

Setting source of interest to:
4FGL J1459.0+7140 @ 224.753 71.6733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits scfile=/lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813431/cmap_808704001_809308801_4FGL_J1459.0+7140_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.753 yref=71.6733 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.90
user 0.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits scfile=/lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813431/cmap_HighResolution_808704001_809308801_4FGL_J1459.0+7140_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.753 yref=71.6733 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35813431/Model_4FGL_J1459.0+7140_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/35813349/ltcube_808704001_809308801_4FGL_J1459.0+7140_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/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits
.....................!
real 20.36
user 19.53
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35813349/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813349/expmap_808704001_809308801_4FGL_J1459.0+7140_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/35813349/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
.....................!
real 77.83
user 71.53
sys 4.46

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

Setting source of interest to:
4FGL J1459.0+7140 @ 224.753 71.6733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits scfile=/lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813349/cmap_808704001_809308801_4FGL_J1459.0+7140_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.753 yref=71.6733 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.18
user 0.26
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits scfile=/lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits outfile=/lscratch/kocevski/35813349/cmap_HighResolution_808704001_809308801_4FGL_J1459.0+7140_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.753 yref=71.6733 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.25
user 0.27
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35813349/Model_4FGL_J1459.0+7140_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/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits.....................!
real 71.18
user 68.55
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits', '/lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits', expMap='/lscratch/kocevski/35813165/expmap_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits', expCube='/lscratch/kocevski/35813165/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35813165/Model_4FGL_J1459.0+7140_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1459.0+7140'

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  8.846e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35813165/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35813165/ft2_4FGL_J1459.0+7140_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35813165/expmap_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35813165/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35813165/Model_4FGL_J1459.0+7140_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) = 19434.7751179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29814E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15155E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .54742E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9701       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7858       1.0000          .0000       .10000E+07
     6 'Prefactor '    .67724E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.607       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11554E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .40634E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    34.030       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.037       1.0000          .0000       .10000E+07
    12 'Prefactor '    31.862       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.6970       1.0000          .0000       .10000E+07
    14 'norm      '    3.0026       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28652E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .20384E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13770E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4425       1.0000          .0000       .10000E+07
    19 'norm      '    .59306       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12301E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11139E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    55.730       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0925       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19434.75     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1597 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61601E-06    30.122       -.86304E-06** at limit **
   2  Prefactor     .16653E-09    9.6295       -.28382E-06** at limit **
   3  Prefactor     .44409E-09    7.4863       -.65152E-06** at limit **
   4  Prefactor     2.9714        2.4279       -.10625E-06   -.14108E-02
   5  Prefactor     3.7904        8.1855       -.24211E-06   -.13545E-02
   6  Prefactor      .0000        4.1141        .10034E-06** at limit **
   7  Prefactor     16.630        3.4883       -.10493E-05   -.22802E-01
   8  Prefactor     .14977E-06    177.26       -.38360E-05** at limit **
   9  Prefactor      .0000        4.4917       -.30111E-06** at limit **
  10  Prefactor     34.149        1.0466        .97631E-08    .20067E-01
  11  Prefactor     20.018        1.8556        .44226E-06    .33728E-02
  12  Prefactor     32.463        17.374       -.36180E-05    .11688    
  13  Prefactor     7.7040        1.5239       -.53510E-06   -.10049E-01
  14  norm          3.0032        1.6239       -.20418E-07    .46754E-02
  15  Prefactor     .38303E-08    14.094       -.25832E-06** at limit **
  16  norm          .11102E-09    2.5452        .24950E-06** at limit **
  17  Prefactor     .17619E-06    23.016       -.61956E-06** at limit **
  18  Prefactor     2.4446        4.6122       -.37473E-05   -.39307E-01
  19  norm          .59318        .34227       -.32908E-07    .49485E-03
  20  Prefactor      .0000        1.3656       -.78194E-07** at limit **
  21  Prefactor     .55511E-10    5.7863        .10634E-06** at limit **
  22  Prefactor     55.652        14.639       -.25017E-05   -.10128    
  23  Normalizat    1.0923        .11464        .11598E-05   -.84890E-04
  24  Prefactor     .96035        .10507        .31174E-05    .99743E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16007e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 2.97142
  Prefactor  = 3.7904
  Prefactor  = 0
  Prefactor  = 16.6303
  Prefactor  = 1.49769e-07
  Prefactor  = 0
  Prefactor  = 34.1491
  Prefactor  = 20.0183
  Prefactor  = 32.4626
  Prefactor  = 7.70402
  norm       = 3.00324
  Prefactor  = 3.83027e-09
  norm       = 1.11022e-10
  Prefactor  = 1.76192e-07
  Prefactor  = 2.44459
  norm       = 0.593182
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 55.6517
  Normalizat = 1.09234
  Prefactor  = 0.960346
 **********
 **   18 **HESSE 
 **********

 FCN=   19434.75     FROM HESSE     STATUS=OK           443 CALLS     2040 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61601E-06    31.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    9.6617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    7.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9714        2.4407        .58890E-03   -1.5673    
   5  Prefactor     3.7904        8.1785        .51857E-03   -1.5669    
   6  Prefactor      .0000        4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.630        16.539        .24550E-03   -1.5626    
   8  Prefactor     .14977E-06    176.69        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.4950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.149        17.810        .17144E-03   -1.5591    
  11  Prefactor     20.018        18.220        .22347E-03   -1.5618    
  12  Prefactor     32.463        31.140        .17718E-03   -1.5594    
  13  Prefactor     7.7040        12.639        .36121E-03   -1.5652    
  14  norm          3.0032        1.6246        .58552E-03   -1.5673    
  15  Prefactor     .38303E-08    14.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    2.5483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17619E-06    23.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4446        16.136        .65436E-03   -1.5677    
  19  norm          .59318        .35116        .69852E-03   -1.5693    
  20  Prefactor      .0000        1.3479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    5.7932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     55.652        19.004        .13396E-03   -1.5559    
  23  Normalizat    1.0923        .10063        .38312E-01   -.89998    
  24  Prefactor     .96035        .91048E-01    .45770E-01   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82481e-07
Minuit parameter uncertainties:
  1  0.00877016
  2  8.37613e-05
  3  0.000115255
  4  2.44065
  5  8.17855
  6  1.04587e-05
  7  16.5388
  8  0.0102888
  9  9.45731e-06
  10  17.8096
  11  18.2199
  12  31.1398
  13  12.6386
  14  1.62456
  15  0.00046689
  16  3.41658e-05
  17  0.00406572
  18  12.5611
  19  0.351164
  20  3.81167e-06
  21  3.5618e-05
  22  19.0045
  23  0.100651
  24  0.0910623
Done.

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

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  3.415e+01  1.781e+01  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.603e-01  9.106e-02  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.092e+00  1.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.13
Ra Dec: 224.753 71.673
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 3.59e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 5.44e-06

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) = 19434.2711555
delta logL = 0.482422052293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19434.2642657
delta logL = 0.489311862591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.631       1.0000          .0000       .10000E+07
     2 'Index     '    2.9771       1.0000          .0000       10.000    
     3 'Normalizat'    1.0750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97124       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   19434.26     FROM MIGRAD    STATUS=FAILED        85 CALLS      281 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.628        21.037        .84104E-05   -.84348E-03
   2  Index         2.9776        .62033        .75062E-02    .13458E-02
   3  Normalizat    1.0749        .11459        .24015E-03   -.66858E-03
   4  Prefactor     .97123        .10513        .23356E-03   -.65264E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   19434.26     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      358 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.628        21.037        .15531E-04   -1.5613    
   2  Index         2.9776        .62033        .53434E-03   -.41640    
   3  Normalizat    1.0749        .11459        .13599E-03   -.90561    
   4  Prefactor     .97123        .10513        .10561E-03   -.93695    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19434.26     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      386 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.628        18.297        .33642E-06   -.12217E-03
   2  Index         2.9776        .53938        .15012E-02    .56039E-05
   3  Normalizat    1.0749        .11456        .48031E-04   -.11361E-05
   4  Prefactor     .97123        .10508        .46712E-04   -.58411E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.6279
  Index      = 2.97763
  Normalizat = 1.07493
  Prefactor  = 0.971232
 **********
 **   18 **HESSE 
 **********

 FCN=   19434.26     FROM HESSE     STATUS=OK            23 CALLS      409 TOTAL
                     EDM=   .66E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.628        17.826        .37224E-06   -1.5613    
   2  Index         2.9776        .52541        .60050E-04   -.41640    
   3  Normalizat    1.0749        .11455        .96061E-05   -.90561    
   4  Prefactor     .97123        .10507        .93424E-05   -.93695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64035e-13
Minuit parameter uncertainties:
  1  17.8263
  2  0.526575
  3  0.114579
  4  0.105096
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) = 19434.2642646
delta logL = 0.489312944628

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  2.263e+01  1.783e+01  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.978e+00  5.266e-01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.712e-01  1.051e-01  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.075e+00  1.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.17
Ra Dec: 224.753 71.673
Photon Index (Free Index): 2.98 +/- 0.53
Photon Flux (Free Index): 4.75e-08 +/- 2.38e-08
Energy Flux (Free Index): 9.59e-06 +/- 4.63e-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/35813165/cmap_HighResolution_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.59e-08', energy_flux2='9.59e-06', photon_flux_error='1.87e-08', dlogl='4.89e-01', energy_flux='1.04e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2026-08-25 11:48:22.211921', photon_index_error2='0.53', photon_index2='2.98', ts='5.13', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.63e-06', EG='1.09', time_epoch_completed='1787683702.21', return_code='0', job_id='35813165', GAL2='0.97', EG2='1.07', return_code2='0', energy_flux_error='5.44e-06', photon_flux_error2='2.38e-08', ts2='6.17', photon_index='2.50' WHERE bin_id='942' AND source_name='4FGL J1459.0+7140' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 11:48:22 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits.....................!
real 75.44
user 72.79
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits', '/lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits', expMap='/lscratch/kocevski/35813431/expmap_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits', expCube='/lscratch/kocevski/35813431/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35813431/Model_4FGL_J1459.0+7140_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1459.0+7140'

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  8.846e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35813431/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35813431/ft2_4FGL_J1459.0+7140_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35813431/expmap_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35813431/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35813431/Model_4FGL_J1459.0+7140_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) = 19434.7751179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29814E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15155E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .54742E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9701       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7858       1.0000          .0000       .10000E+07
     6 'Prefactor '    .67724E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.607       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11554E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .40634E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    34.030       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.037       1.0000          .0000       .10000E+07
    12 'Prefactor '    31.862       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.6970       1.0000          .0000       .10000E+07
    14 'norm      '    3.0026       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28652E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .20384E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13770E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4425       1.0000          .0000       .10000E+07
    19 'norm      '    .59306       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12301E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11139E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    55.730       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0925       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19434.75     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1597 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61601E-06    30.122       -.86304E-06** at limit **
   2  Prefactor     .16653E-09    9.6295       -.28382E-06** at limit **
   3  Prefactor     .44409E-09    7.4863       -.65152E-06** at limit **
   4  Prefactor     2.9714        2.4279       -.10625E-06   -.14108E-02
   5  Prefactor     3.7904        8.1855       -.24211E-06   -.13545E-02
   6  Prefactor      .0000        4.1141        .10034E-06** at limit **
   7  Prefactor     16.630        3.4883       -.10493E-05   -.22802E-01
   8  Prefactor     .14977E-06    177.26       -.38360E-05** at limit **
   9  Prefactor      .0000        4.4917       -.30111E-06** at limit **
  10  Prefactor     34.149        1.0466        .97631E-08    .20067E-01
  11  Prefactor     20.018        1.8556        .44226E-06    .33728E-02
  12  Prefactor     32.463        17.374       -.36180E-05    .11688    
  13  Prefactor     7.7040        1.5239       -.53510E-06   -.10049E-01
  14  norm          3.0032        1.6239       -.20418E-07    .46754E-02
  15  Prefactor     .38303E-08    14.094       -.25832E-06** at limit **
  16  norm          .11102E-09    2.5452        .24950E-06** at limit **
  17  Prefactor     .17619E-06    23.016       -.61956E-06** at limit **
  18  Prefactor     2.4446        4.6122       -.37473E-05   -.39307E-01
  19  norm          .59318        .34227       -.32908E-07    .49485E-03
  20  Prefactor      .0000        1.3656       -.78194E-07** at limit **
  21  Prefactor     .55511E-10    5.7863        .10634E-06** at limit **
  22  Prefactor     55.652        14.639       -.25017E-05   -.10128    
  23  Normalizat    1.0923        .11464        .11598E-05   -.84890E-04
  24  Prefactor     .96035        .10507        .31174E-05    .99743E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16007e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 2.97142
  Prefactor  = 3.7904
  Prefactor  = 0
  Prefactor  = 16.6303
  Prefactor  = 1.49769e-07
  Prefactor  = 0
  Prefactor  = 34.1491
  Prefactor  = 20.0183
  Prefactor  = 32.4626
  Prefactor  = 7.70402
  norm       = 3.00324
  Prefactor  = 3.83027e-09
  norm       = 1.11022e-10
  Prefactor  = 1.76192e-07
  Prefactor  = 2.44459
  norm       = 0.593182
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 55.6517
  Normalizat = 1.09234
  Prefactor  = 0.960346
e GAL_V02
Working on...
/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits.....................!
real 77.17
user 73.97
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits', '/lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits', expMap='/lscratch/kocevski/35813349/expmap_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits', expCube='/lscratch/kocevski/35813349/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35813349/Model_4FGL_J1459.0+7140_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1459.0+7140'

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  8.846e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35813349/ft1_filtered_4FGL_J1459.0+7140_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35813349/ft2_4FGL_J1459.0+7140_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35813349/expmap_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35813349/ltcube_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35813349/Model_4FGL_J1459.0+7140_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) = 19434.7751179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29814E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15155E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .54742E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9701       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7858       1.0000          .0000       .10000E+07
     6 'Prefactor '    .67724E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.607       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11554E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .40634E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    34.030       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.037       1.0000          .0000       .10000E+07
    12 'Prefactor '    31.862       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.6970       1.0000          .0000       .10000E+07
    14 'norm      '    3.0026       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28652E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .20384E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13770E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4425       1.0000          .0000       .10000E+07
    19 'norm      '    .59306       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12301E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11139E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    55.730       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0925       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19434.75     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1597 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61601E-06    30.122       -.86304E-06** at limit **
   2  Prefactor     .16653E-09    9.6295       -.28382E-06** at limit **
   3  Prefactor     .44409E-09    7.4863       -.65152E-06** at limit **
   4  Prefactor     2.9714        2.4279       -.10625E-06   -.14108E-02
   5  Prefactor     3.7904        8.1855       -.24211E-06   -.13545E-02
   6  Prefactor      .0000        4.1141        .10034E-06** at limit **
   7  Prefactor     16.630        3.4883       -.10493E-05   -.22802E-01
   8  Prefactor     .14977E-06    177.26       -.38360E-05** at limit **
   9  Prefactor      .0000        4.4917       -.30111E-06** at limit **
  10  Prefactor     34.149        1.0466        .97631E-08    .20067E-01
  11  Prefactor     20.018        1.8556        .44226E-06    .33728E-02
  12  Prefactor     32.463        17.374       -.36180E-05    .11688    
  13  Prefactor     7.7040        1.5239       -.53510E-06   -.10049E-01
  14  norm          3.0032        1.6239       -.20418E-07    .46754E-02
  15  Prefactor     .38303E-08    14.094       -.25832E-06** at limit **
  16  norm          .11102E-09    2.5452        .24950E-06** at limit **
  17  Prefactor     .17619E-06    23.016       -.61956E-06** at limit **
  18  Prefactor     2.4446        4.6122       -.37473E-05   -.39307E-01
  19  norm          .59318        .34227       -.32908E-07    .49485E-03
  20  Prefactor      .0000        1.3656       -.78194E-07** at limit **
  21  Prefactor     .55511E-10    5.7863        .10634E-06** at limit **
  22  Prefactor     55.652        14.639       -.25017E-05   -.10128    
  23  Normalizat    1.0923        .11464        .11598E-05   -.84890E-04
  24  Prefactor     .96035        .10507        .31174E-05    .99743E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16007e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 2.97142
  Prefactor  = 3.7904
  Prefactor  = 0
  Prefactor  = 16.6303
  Prefactor  = 1.49769e-07
  Prefactor  = 0
  Prefactor  = 34.1491
  Prefactor  = 20.0183
  Prefactor  = 32.4626
  Prefactor  = 7.70402
  norm       = 3.00324
  Prefactor  = 3.83027e-09
  norm       = 1.11022e-10
  Prefactor  = 1.76192e-07
  Prefactor  = 2.44459
  norm       = 0.593182
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 55.6517
  Normalizat = 1.09234
  Prefactor  = 0.960346
 **********
 **   18 **HESSE 
 **********

 FCN=   19434.75     FROM HESSE     STATUS=OK           443 CALLS     2040 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61601E-06    31.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    9.6617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    7.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9714        2.4407        .58890E-03   -1.5673    
   5  Prefactor     3.7904        8.1785        .51857E-03   -1.5669    
   6  Prefactor      .0000        4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.630        16.539        .24550E-03   -1.5626    
   8  Prefactor     .14977E-06    176.69        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.4950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.149        17.810        .17144E-03   -1.5591    
  11  Prefactor     20.018        18.220        .22347E-03   -1.5618    
  12  Prefactor     32.463        31.140        .17718E-03   -1.5594    
  13  Prefactor     7.7040        12.639        .36121E-03   -1.5652    
  14  norm          3.0032        1.6246        .58552E-03   -1.5673    
  15  Prefactor     .38303E-08    14.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    2.5483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17619E-06    23.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4446        16.136        .65436E-03   -1.5677    
  19  norm          .59318        .35116        .69852E-03   -1.5693    
  20  Prefactor      .0000        1.3479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    5.7932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     55.652        19.004        .13396E-03   -1.5559    
  23  Normalizat    1.0923        .10063        .38312E-01   -.89998    
  24  Prefactor     .96035        .91048E-01    .45770E-01   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82481e-07
Minuit parameter uncertainties:
  1  0.00877016
  2  8.37613e-05
  3  0.000115255
  4  2.44065
  5  8.17855
  6  1.04587e-05
  7  16.5388
  8  0.0102888
  9  9.45731e-06
  10  17.8096
  11  18.2199
  12  31.1398
  13  12.6386
  14  1.62456
  15  0.00046689
  16  3.41658e-05
  17  0.00406572
  18  12.5611
  19  0.351164
  20  3.81167e-06
  21  3.5618e-05
  22  19.0045
  23  0.100651
  24  0.0910623
 **********
 **   18 **HESSE 
 **********

 FCN=   19434.75     FROM HESSE     STATUS=OK           443 CALLS     2040 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61601E-06    31.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    9.6617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    7.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9714        2.4407        .58890E-03   -1.5673    
   5  Prefactor     3.7904        8.1785        .51857E-03   -1.5669    
   6  Prefactor      .0000        4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.630        16.539        .24550E-03   -1.5626    
   8  Prefactor     .14977E-06    176.69        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.4950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.149        17.810        .17144E-03   -1.5591    
  11  Prefactor     20.018        18.220        .22347E-03   -1.5618    
  12  Prefactor     32.463        31.140        .17718E-03   -1.5594    
  13  Prefactor     7.7040        12.639        .36121E-03   -1.5652    
  14  norm          3.0032        1.6246        .58552E-03   -1.5673    
  15  Prefactor     .38303E-08    14.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    2.5483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17619E-06    23.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4446        16.136        .65436E-03   -1.5677    
  19  norm          .59318        .35116        .69852E-03   -1.5693    
  20  Prefactor      .0000        1.3479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    5.7932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     55.652        19.004        .13396E-03   -1.5559    
  23  Normalizat    1.0923        .10063        .38312E-01   -.89998    
  24  Prefactor     .96035        .91048E-01    .45770E-01   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82481e-07
Minuit parameter uncertainties:
  1  0.00877016
  2  8.37613e-05
  3  0.000115255
  4  2.44065
  5  8.17855
  6  1.04587e-05
  7  16.5388
  8  0.0102888
  9  9.45731e-06
  10  17.8096
  11  18.2199
  12  31.1398
  13  12.6386
  14  1.62456
  15  0.00046689
  16  3.41658e-05
  17  0.00406572
  18  12.5611
  19  0.351164
  20  3.81167e-06
  21  3.5618e-05
  22  19.0045
  23  0.100651
  24  0.0910623
Done.

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

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  3.415e+01  1.781e+01  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.603e-01  9.106e-02  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.092e+00  1.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.13
Ra Dec: 224.753 71.673
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 3.59e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 5.44e-06

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) = 19434.2711555
delta logL = 0.482422052293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19434.2642657
delta logL = 0.489311862591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.631       1.0000          .0000       .10000E+07
     2 'Index     '    2.9771       1.0000          .0000       10.000    
     3 'Normalizat'    1.0750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97124       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   19434.26     FROM MIGRAD    STATUS=FAILED        85 CALLS      281 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.628        21.037        .84104E-05   -.84348E-03
   2  Index         2.9776        .62033        .75062E-02    .13458E-02
   3  Normalizat    1.0749        .11459        .24015E-03   -.66858E-03
   4  Prefactor     .97123        .10513        .23356E-03   -.65264E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   19434.26     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      358 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.628        21.037        .15531E-04   -1.5613    
   2  Index         2.9776        .62033        .53434E-03   -.41640    
   3  Normalizat    1.0749        .11459        .13599E-03   -.90561    
   4  Prefactor     .97123        .10513        .10561E-03   -.93695    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19434.26     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      386 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.628        18.297        .33642E-06   -.12217E-03
   2  Index         2.9776        .53938        .15012E-02    .56039E-05
   3  Normalizat    1.0749        .11456        .48031E-04   -.11361E-05
   4  Prefactor     .97123        .10508        .46712E-04   -.58411E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.6279
  Index      = 2.97763
  Normalizat = 1.07493
  Prefactor  = 0.971232
 **********
 **   18 **HESSE 
 **********

 FCN=   19434.26     FROM HESSE     STATUS=OK            23 CALLS      409 TOTAL
                     EDM=   .66E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.628        17.826        .37224E-06   -1.5613    
   2  Index         2.9776        .52541        .60050E-04   -.41640    
   3  Normalizat    1.0749        .11455        .96061E-05   -.90561    
   4  Prefactor     .97123        .10507        .93424E-05   -.93695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64035e-13
Minuit parameter uncertainties:
  1  17.8263
  2  0.526575
  3  0.114579
  4  0.105096
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) = 19434.2642646
delta logL = 0.489312944628

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  2.263e+01  1.783e+01  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.978e+00  5.266e-01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.712e-01  1.051e-01  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.075e+00  1.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.17
Ra Dec: 224.753 71.673
Photon Index (Free Index): 2.98 +/- 0.53
Photon Flux (Free Index): 4.75e-08 +/- 2.38e-08
Energy Flux (Free Index): 9.59e-06 +/- 4.63e-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/35813431/cmap_HighResolution_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.59e-08', energy_flux2='9.59e-06', photon_flux_error='1.87e-08', dlogl='4.89e-01', energy_flux='1.04e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2026-08-25 11:51:05.780283', photon_index_error2='0.53', photon_index2='2.98', ts='5.13', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.63e-06', EG='1.09', time_epoch_completed='1787683865.78', return_code='0', job_id='35813431', GAL2='0.97', EG2='1.07', return_code2='0', energy_flux_error='5.44e-06', photon_flux_error2='2.38e-08', ts2='6.17', photon_index='2.50' WHERE bin_id='942' AND source_name='4FGL J1459.0+7140' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 11:51:05 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  3.415e+01  1.781e+01  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.603e-01  9.106e-02  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.092e+00  1.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.13
Ra Dec: 224.753 71.673
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 3.59e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 5.44e-06

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) = 19434.2711555
delta logL = 0.482422052293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19434.2642657
delta logL = 0.489311862591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.631       1.0000          .0000       .10000E+07
     2 'Index     '    2.9771       1.0000          .0000       10.000    
     3 'Normalizat'    1.0750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97124       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   19434.26     FROM MIGRAD    STATUS=FAILED        85 CALLS      281 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.628        21.037        .84104E-05   -.84348E-03
   2  Index         2.9776        .62033        .75062E-02    .13458E-02
   3  Normalizat    1.0749        .11459        .24015E-03   -.66858E-03
   4  Prefactor     .97123        .10513        .23356E-03   -.65264E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   19434.26     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      358 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.628        21.037        .15531E-04   -1.5613    
   2  Index         2.9776        .62033        .53434E-03   -.41640    
   3  Normalizat    1.0749        .11459        .13599E-03   -.90561    
   4  Prefactor     .97123        .10513        .10561E-03   -.93695    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19434.26     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      386 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.628        18.297        .33642E-06   -.12217E-03
   2  Index         2.9776        .53938        .15012E-02    .56039E-05
   3  Normalizat    1.0749        .11456        .48031E-04   -.11361E-05
   4  Prefactor     .97123        .10508        .46712E-04   -.58411E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.6279
  Index      = 2.97763
  Normalizat = 1.07493
  Prefactor  = 0.971232
 **********
 **   18 **HESSE 
 **********

 FCN=   19434.26     FROM HESSE     STATUS=OK            23 CALLS      409 TOTAL
                     EDM=   .66E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.628        17.826        .37224E-06   -1.5613    
   2  Index         2.9776        .52541        .60050E-04   -.41640    
   3  Normalizat    1.0749        .11455        .96061E-05   -.90561    
   4  Prefactor     .97123        .10507        .93424E-05   -.93695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64035e-13
Minuit parameter uncertainties:
  1  17.8263
  2  0.526575
  3  0.114579
  4  0.105096
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) = 19434.2642646
delta logL = 0.489312944628

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  2.263e+01  1.783e+01  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.978e+00  5.266e-01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  9.712e-01  1.051e-01  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.075e+00  1.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.17
Ra Dec: 224.753 71.673
Photon Index (Free Index): 2.98 +/- 0.53
Photon Flux (Free Index): 4.75e-08 +/- 2.38e-08
Energy Flux (Free Index): 9.59e-06 +/- 4.63e-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/35813349/cmap_HighResolution_808704001_809308801_4FGL_J1459.0+7140_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.59e-08', energy_flux2='9.59e-06', photon_flux_error='1.87e-08', dlogl='4.89e-01', energy_flux='1.04e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2026-08-25 11:51:47.641173', photon_index_error2='0.53', photon_index2='2.98', ts='5.13', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.63e-06', EG='1.09', time_epoch_completed='1787683907.64', return_code='0', job_id='35813349', GAL2='0.97', EG2='1.07', return_code2='0', energy_flux_error='5.44e-06', photon_flux_error2='2.38e-08', ts2='6.17', photon_index='2.50' WHERE bin_id='942' AND source_name='4FGL J1459.0+7140' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 11:51:47 PDT 2026

