number of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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).

Done.


Performing analysis on: 4FGL_J1510.8+7959_weekly_bin948
RA = 227.705, Dec = 79.991
tmin = 812332801, tmax = 812937601
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='40036548', job_status='RUN', time_executed='2026-10-06 12:05:42.208944', time_epoch_executed='1791313542.21' WHERE source_name='4FGL J1510.8+7959' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40036548

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40036548/ft1_4FGL_J1510.8+7959_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40036548/ft1_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036548/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits ra=227.705 dec=79.991 rad=12.0 tmin=812332801.0 tmax=812937601.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.06
user 5.39
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.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/40036548/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.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.72
user 0.24
sys 0.14

Number of photons that the gtmktime cut: 2189

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" o/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 = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1510.8+7959_weekly_bin948
RA = 227.705, Dec = 79.991
tmin = 812332801, tmax = 812937601
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='40036530', job_status='RUN', time_executed='2026-10-06 12:05:40.586204', time_epoch_executed='1791313540.59' WHERE source_name='4FGL J1510.8+7959' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40036530

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40036530/ft1_4FGL_J1510.8+7959_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40036530/ft1_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036530/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits ra=227.705 dec=79.991 rad=12.0 tmin=812332801.0 tmax=812937601.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.07
user 5.42
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.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/40036530/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.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.82
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 2189

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" onumber of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1510.8+7959_weekly_bin948
RA = 227.705, Dec = 79.991
tmin = 812332801, tmax = 812937601
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='40036664', job_status='RUN', time_executed='2026-10-06 12:07:00.911459', time_epoch_executed='1791313620.91' WHERE source_name='4FGL J1510.8+7959' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40036664

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40036664/ft1_4FGL_J1510.8+7959_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40036664/ft1_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036664/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits ra=227.705 dec=79.991 rad=12.0 tmin=812332801.0 tmax=812937601.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.50
user 5.77
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.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/40036664/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.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.71
user 0.26
sys 0.12

Number of photons that the gtmktime cut: 2189

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" outfile=/lscratch/kocevski/40036342/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036342/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 20.35
user 19.51
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40036342/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036342/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40036342/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036342/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036342/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 72.71
user 67.77
sys 4.05

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

Setting source of interest to:
4FGL J1510.8+7959 @ 227.705 79.991

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40036342/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036342/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036342/cmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.77
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40036342/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036342/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036342/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40036342/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036342/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40036342/Model_4FGL_J1510.8+7959_weekly_bin948.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 GALnumber of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1510.8+7959_weekly_bin948
RA = 227.705, Dec = 79.991
tmin = 812332801, tmax = 812937601
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='40037115', job_status='RUN', time_executed='2026-10-06 12:11:39.298711', time_epoch_executed='1791313899.3' WHERE source_name='4FGL J1510.8+7959' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40037115

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40037115/ft1_4FGL_J1510.8+7959_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40037115/ft1_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40037115/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits ra=227.705 dec=79.991 rad=12.0 tmin=812332801.0 tmax=812937601.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.76
user 5.35
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.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/40037115/ft1_filteredMKT_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.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.47
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2189

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" ouutfile=/lscratch/kocevski/40036548/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 19.17
user 18.34
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40036548/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036548/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036548/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 70.08
user 65.01
sys 4.12

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

Setting source of interest to:
4FGL J1510.8+7959 @ 227.705 79.991

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036548/cmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.67
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036548/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.69
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40036548/Model_4FGL_J1510.8+7959_weekly_bin948.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 GALutfile=/lscratch/kocevski/40036530/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 19.67
user 18.98
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40036530/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036530/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036530/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 73.16
user 68.47
sys 4.05

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

Setting source of interest to:
4FGL J1510.8+7959 @ 227.705 79.991

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036530/cmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.66
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036530/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.65
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40036530/Model_4FGL_J1510.8+7959_weekly_bin948.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 GALutfile=/lscratch/kocevski/40036664/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 20.24
user 19.41
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40036664/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036664/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40036664/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 76.22
user 71.01
sys 4.37

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

Setting source of interest to:
4FGL J1510.8+7959 @ 227.705 79.991

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036664/cmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.60
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40036664/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.69
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40036664/Model_4FGL_J1510.8+7959_weekly_bin948.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/40036342/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits.....................!
real 104.17
user 102.10
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40036342/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits', '/lscratch/kocevski/40036342/ft2_4FGL_J1510.8+7959_weekly_bin948.fits', expMap='/lscratch/kocevski/40036342/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', expCube='/lscratch/kocevski/40036342/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40036342/Model_4FGL_J1510.8+7959_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8+7959'

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.990e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40036342/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40036342/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40036342/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40036342/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40036342/Model_4FGL_J1510.8+7959_weekly_bin948.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) = 23114.7307144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75591E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36165E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.1311       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13898E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18192E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    49.883       1.0000          .0000       .10000E+07
     7 'norm      '    .64282E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31689E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13794E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19753E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91227E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .78304E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.557       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60868E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.7554       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4168       1.0000          .0000       .10000E+07
    17 'norm      '    22.606       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.287       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28733E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .34481E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.5618       1.0000          .0000       .10000E+07
    22 'norm      '    4.7517       1.0000          .0000       .10000E+07
    23 'Normalizat'    .92054       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23114.73     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1949 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21022E-06    6.9778       -.67634E-06** at limit **
   2  Prefactor     .11102E-09    2.8086       -.34270E-06** at limit **
   3  norm          3.1352        2.2924       -.35323E-06   -.86278E-03
   4  Prefactor     .99920E-09    1.7527        .19112E-06** at limit **
   5  Prefactor     .22760E-08    2.1647        .15142E-06** at limit **
   6  Prefactor     49.901        2.5630       -.29276E-07    .16283E-02
   7  norm           .0000        .34349       -.78293E-07** at limit **
   8  Prefactor     .19151E-06    1.5357        .52784E-06** at limit **
   9  Prefactor     .55511E-10    1.5073        .41928E-06** at limit **
  10  Prefactor     .31747E-06    3.8596       -.31954E-08** at limit **
  11  Prefactor      .0000        22.176        .44065E-07** at limit **
  12  Prefactor     .17242E-06    2.0151        .45201E-06** at limit **
  13  Prefactor     24.485        14.061       -.25442E-06    .19111E-01
  14  Prefactor     .22371E-07    8.9865       -.53042E-06** at limit **
  15  Prefactor     7.7596        1.2090       -.19731E-07   -.45724E-02
  16  Prefactor     4.3190        24.692       -.84655E-06   -.10114E-01
  17  norm          22.576        1.6955       -.11033E-07   -.21507E-01
  18  Prefactor     23.254        9.6228       -.20508E-06    .10969    
  19  Prefactor      .0000        1.1702       -.19116E-06** at limit **
  20  Prefactor     .23814E-06    2.3848        .32069E-06** at limit **
  21  Prefactor     3.5731        9.7613       -.41537E-06   -.11807E-01
  22  norm          4.7518        .59655       -.57639E-08    .79978E-03
  23  Normalizat    .92072        .99148E-01    .81676E-05    .15996E-03
  24  Prefactor     .99497        .66846E-01   -.24313E-05    .13102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10221e-07
  Prefactor  = 1.11022e-10
  norm       = 3.13519
  Prefactor  = 9.99201e-10
  Prefactor  = 2.27596e-09
  Prefactor  = 49.9012
  norm       = 0
  Prefactor  = 1.91513e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.17468e-07
  Prefactor  = 0
  Prefactor  = 1.72418e-07
  Prefactor  = 24.4849
  Prefactor  = 2.2371e-08
  Prefactor  = 7.75958
  Prefactor  = 4.31897
  norm       = 22.5759
  Prefactor  = 23.2536
  Prefactor  = 0
  Prefactor  = 2.38143e-07
  Prefactor  = 3.57307
  norm       = 4.75181
  Normalizat = 0.920721
  Prefactor  = 0.994968
tfile=/lscratch/kocevski/40037115/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 18.70
user 18.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40037115/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40037115/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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/40037115/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
.....................!
real 72.06
user 67.36
sys 4.15

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

Setting source of interest to:
4FGL J1510.8+7959 @ 227.705 79.991

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40037115/cmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.62
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits scfile=/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits outfile=/lscratch/kocevski/40037115/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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=227.705 yref=79.991 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.62
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40037115/Model_4FGL_J1510.8+7959_weekly_bin948.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_ **********
 **   18 **HESSE 
 **********

 FCN=   23114.73     FROM HESSE     STATUS=OK           443 CALLS     2392 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21022E-06    8.2662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    2.8068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1352        2.3050        .57268E-03   -1.5673    
   4  Prefactor     .99920E-09    3.8155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22760E-08    3.8714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.901        25.256        .14160E-03   -1.5567    
   7  norm           .0000        .34332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19151E-06    4.7899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    4.7327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31747E-06    5.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.1450        .14171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17242E-06    5.1700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.485        29.612        .20184E-03   -1.5609    
  14  Prefactor     .22371E-07    9.1662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7596        12.052        .35984E-03   -1.5652    
  16  Prefactor     4.3190        43.035        .47894E-03   -1.5666    
  17  norm          22.576        10.531        .21038E-03   -1.5613    
  18  Prefactor     23.254        65.758        .20728E-03   -1.5612    
  19  Prefactor      .0000        1.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23814E-06    4.5559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.5731        44.694        .53528E-03   -1.5670    
  22  norm          4.7518        .59683        .46134E-03   -1.5664    
  23  Normalizat    .92072        .90549E-01    .45164E-01   -.95736    
  24  Prefactor     .99497        .60416E-01    .46205E-01   -.92897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49568e-06
Minuit parameter uncertainties:
  1  0.00263655
  2  3.45078e-05
  3  2.30498
  4  0.00012358
  5  0.000188711
  6  25.2564
  7  5.95434e-07
  8  0.00191553
  9  2.56253e-05
  10  0.00265753
  11  1.24399e-05
  12  0.00188837
  13  29.6125
  14  0.000905492
  15  12.0518
  16  27.2669
  17  10.5311
  18  65.7597
  19  6.93189e-06
  20  0.00208317
  21  25.2743
  22  0.596829
  23  0.0905644
  24  0.0604201
_V02
Working on...
/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits.....................!
real 100.84
user 98.88
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits', '/lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits', expMap='/lscratch/kocevski/40036548/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', expCube='/lscratch/kocevski/40036548/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40036548/Model_4FGL_J1510.8+7959_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8+7959'

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.990e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40036548/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40036548/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40036548/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40036548/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40036548/Model_4FGL_J1510.8+7959_weekly_bin948.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) = 23114.7307144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75591E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36165E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.1311       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13898E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18192E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    49.883       1.0000          .0000       .10000E+07
     7 'norm      '    .64282E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31689E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13794E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19753E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91227E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .78304E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.557       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60868E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.7554       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4168       1.0000          .0000       .10000E+07
    17 'norm      '    22.606       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.287       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28733E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .34481E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.5618       1.0000          .0000       .10000E+07
    22 'norm      '    4.7517       1.0000          .0000       .10000E+07
    23 'Normalizat'    .92054       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23114.73     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1949 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21022E-06    6.9778       -.67634E-06** at limit **
   2  Prefactor     .11102E-09    2.8086       -.34270E-06** at limit **
   3  norm          3.1352        2.2924       -.35323E-06   -.86278E-03
   4  Prefactor     .99920E-09    1.7527        .19112E-06** at limit **
   5  Prefactor     .22760E-08    2.1647        .15142E-06** at limit **
   6  Prefactor     49.901        2.5630       -.29276E-07    .16283E-02
   7  norm           .0000        .34349       -.78293E-07** at limit **
   8  Prefactor     .19151E-06    1.5357        .52784E-06** at limit **
   9  Prefactor     .55511E-10    1.5073        .41928E-06** at limit **
  10  Prefactor     .31747E-06    3.8596       -.31954E-08** at limit **
  11  Prefactor      .0000        22.176        .44065E-07** at limit **
  12  Prefactor     .17242E-06    2.0151        .45201E-06** at limit **
  13  Prefactor     24.485        14.061       -.25442E-06    .19111E-01
  14  Prefactor     .22371E-07    8.9865       -.53042E-06** at limit **
  15  Prefactor     7.7596        1.2090       -.19731E-07   -.45724E-02
  16  Prefactor     4.3190        24.692       -.84655E-06   -.10114E-01
  17  norm          22.576        1.6955       -.11033E-07   -.21507E-01
  18  Prefactor     23.254        9.6228       -.20508E-06    .10969    
  19  Prefactor      .0000        1.1702       -.19116E-06** at limit **
  20  Prefactor     .23814E-06    2.3848        .32069E-06** at limit **
  21  Prefactor     3.5731        9.7613       -.41537E-06   -.11807E-01
  22  norm          4.7518        .59655       -.57639E-08    .79978E-03
  23  Normalizat    .92072        .99148E-01    .81676E-05    .15996E-03
  24  Prefactor     .99497        .66846E-01   -.24313E-05    .13102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10221e-07
  Prefactor  = 1.11022e-10
  norm       = 3.13519
  Prefactor  = 9.99201e-10
  Prefactor  = 2.27596e-09
  Prefactor  = 49.9012
  norm       = 0
  Prefactor  = 1.91513e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.17468e-07
  Prefactor  = 0
  Prefactor  = 1.72418e-07
  Prefactor  = 24.4849
  Prefactor  = 2.2371e-08
  Prefactor  = 7.75958
  Prefactor  = 4.31897
  norm       = 22.5759
  Prefactor  = 23.2536
  Prefactor  = 0
  Prefactor  = 2.38143e-07
  Prefactor  = 3.57307
  norm       = 4.75181
  Normalizat = 0.920721
  Prefactor  = 0.994968
_V02
Working on...
/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits.....................!
real 100.12
user 98.68
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits', '/lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits', expMap='/lscratch/kocevski/40036530/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', expCube='/lscratch/kocevski/40036530/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40036530/Model_4FGL_J1510.8+7959_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8+7959'

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.990e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40036530/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40036530/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40036530/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40036530/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40036530/Model_4FGL_J1510.8+7959_weekly_bin948.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) = 23114.7307144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75591E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36165E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.1311       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13898E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18192E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    49.883       1.0000          .0000       .10000E+07
     7 'norm      '    .64282E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31689E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13794E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19753E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91227E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .78304E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.557       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60868E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.7554       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4168       1.0000          .0000       .10000E+07
    17 'norm      '    22.606       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.287       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28733E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .34481E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.5618       1.0000          .0000       .10000E+07
    22 'norm      '    4.7517       1.0000          .0000       .10000E+07
    23 'Normalizat'    .92054       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23114.73     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1949 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21022E-06    6.9778       -.67634E-06** at limit **
   2  Prefactor     .11102E-09    2.8086       -.34270E-06** at limit **
   3  norm          3.1352        2.2924       -.35323E-06   -.86278E-03
   4  Prefactor     .99920E-09    1.7527        .19112E-06** at limit **
   5  Prefactor     .22760E-08    2.1647        .15142E-06** at limit **
   6  Prefactor     49.901        2.5630       -.29276E-07    .16283E-02
   7  norm           .0000        .34349       -.78293E-07** at limit **
   8  Prefactor     .19151E-06    1.5357        .52784E-06** at limit **
   9  Prefactor     .55511E-10    1.5073        .41928E-06** at limit **
  10  Prefactor     .31747E-06    3.8596       -.31954E-08** at limit **
  11  Prefactor      .0000        22.176        .44065E-07** at limit **
  12  Prefactor     .17242E-06    2.0151        .45201E-06** at limit **
  13  Prefactor     24.485        14.061       -.25442E-06    .19111E-01
  14  Prefactor     .22371E-07    8.9865       -.53042E-06** at limit **
  15  Prefactor     7.7596        1.2090       -.19731E-07   -.45724E-02
  16  Prefactor     4.3190        24.692       -.84655E-06   -.10114E-01
  17  norm          22.576        1.6955       -.11033E-07   -.21507E-01
  18  Prefactor     23.254        9.6228       -.20508E-06    .10969    
  19  Prefactor      .0000        1.1702       -.19116E-06** at limit **
  20  Prefactor     .23814E-06    2.3848        .32069E-06** at limit **
  21  Prefactor     3.5731        9.7613       -.41537E-06   -.11807E-01
  22  norm          4.7518        .59655       -.57639E-08    .79978E-03
  23  Normalizat    .92072        .99148E-01    .81676E-05    .15996E-03
  24  Prefactor     .99497        .66846E-01   -.24313E-05    .13102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10221e-07
  Prefactor  = 1.11022e-10
  norm       = 3.13519
  Prefactor  = 9.99201e-10
  Prefactor  = 2.27596e-09
  Prefactor  = 49.9012
  norm       = 0
  Prefactor  = 1.91513e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.17468e-07
  Prefactor  = 0
  Prefactor  = 1.72418e-07
  Prefactor  = 24.4849
  Prefactor  = 2.2371e-08
  Prefactor  = 7.75958
  Prefactor  = 4.31897
  norm       = 22.5759
  Prefactor  = 23.2536
  Prefactor  = 0
  Prefactor  = 2.38143e-07
  Prefactor  = 3.57307
  norm       = 4.75181
  Normalizat = 0.920721
  Prefactor  = 0.994968
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  4.319e+00  2.727e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  9.950e-01  6.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  9.207e-01  9.056e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 3.2407653917e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00247250201797 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40036342/likelihoodResults_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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): 102
logL (Free Index) = 23114.4856417
delta logL = 0.243662803972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562328
delta logL = 0.473071692304

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23114.26     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      304 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19793E-01    .14013        .49392E-03** at limit **
   2  Index         5.4334        1.3134        .12952        .54286E-03
   3  Normalizat    .89425        .13189E-01    .64974E-01    .70020E-04
   4  Prefactor     1.0055        .90126E-02    .44115E-01    .47796E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0197927
  Index      = 5.43343
  Normalizat = 0.894255
  Prefactor  = 1.00546
 **********
 **   18 **HESSE 
 **********

 FCN=   23114.26     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19793E-01    1.0994        .21312E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4334        7.3783        .75957E-02    .86795E-01
   3  Normalizat    .89425        .75573E-01    .28740E-03   -.96662    
   4  Prefactor     1.0055        .50641E-01    .18534E-03   -.92548    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.55808e-09
Minuit parameter uncertainties:
  1  0.295027
  2  5.63481
  3  0.0755818
  4  0.0506436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562183
delta logL = 0.473086280464

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.979e-02  2.950e-01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  5.433e+00  5.635e+00  0.000e+00  1.000e+01 (-1.000e+00)
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.005e+00  5.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  8.943e-01  7.558e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 227.705 79.991
Photon Index (Free Index): 5.43 +/- 5.63
Photon Flux (Free Index): 2.17e-08 +/- 2.18e-08
Energy Flux (Free Index): 2.79e-06 +/- 3.17e-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/40036342/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', comment='SUCCESS', energy_flux2='2.79e-06', dlogl='4.73e-01', photon_flux2='2.17e-08', job_status='DONE', time_completed='2026-10-06 12:21:01.783754', photon_index_error2='5.63', photon_index2='5.43', ts='0.03', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='3.24e-08', energy_flux_error2='3.17e-06', EG='0.92', time_epoch_completed='1791314461.78', return_code='0', job_id='40036342', GAL2='1.01', EG2='0.89', return_code2='102', photon_flux_error2='2.18e-08', ts2='1.04', photon_index='2.22' WHERE bin_id='948' AND source_name='4FGL J1510.8+7959' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 12:21:01 PDT 2026

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

 FCN=   23114.73     FROM HESSE     STATUS=OK           443 CALLS     2392 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21022E-06    8.2662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    2.8068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1352        2.3050        .57268E-03   -1.5673    
   4  Prefactor     .99920E-09    3.8155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22760E-08    3.8714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.901        25.256        .14160E-03   -1.5567    
   7  norm           .0000        .34332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19151E-06    4.7899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    4.7327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31747E-06    5.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.1450        .14171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17242E-06    5.1700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.485        29.612        .20184E-03   -1.5609    
  14  Prefactor     .22371E-07    9.1662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7596        12.052        .35984E-03   -1.5652    
  16  Prefactor     4.3190        43.035        .47894E-03   -1.5666    
  17  norm          22.576        10.531        .21038E-03   -1.5613    
  18  Prefactor     23.254        65.758        .20728E-03   -1.5612    
  19  Prefactor      .0000        1.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23814E-06    4.5559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.5731        44.694        .53528E-03   -1.5670    
  22  norm          4.7518        .59683        .46134E-03   -1.5664    
  23  Normalizat    .92072        .90549E-01    .45164E-01   -.95736    
  24  Prefactor     .99497        .60416E-01    .46205E-01   -.92897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49568e-06
Minuit parameter uncertainties:
  1  0.00263655
  2  3.45078e-05
  3  2.30498
  4  0.00012358
  5  0.000188711
  6  25.2564
  7  5.95434e-07
  8  0.00191553
  9  2.56253e-05
  10  0.00265753
  11  1.24399e-05
  12  0.00188837
  13  29.6125
  14  0.000905492
  15  12.0518
  16  27.2669
  17  10.5311
  18  65.7597
  19  6.93189e-06
  20  0.00208317
  21  25.2743
  22  0.596829
  23  0.0905644
  24  0.0604201
_V02
Working on...
/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits.....................!
real 108.81
user 106.40
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits', '/lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits', expMap='/lscratch/kocevski/40036664/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', expCube='/lscratch/kocevski/40036664/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40036664/Model_4FGL_J1510.8+7959_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8+7959'

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.990e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40036664/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40036664/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40036664/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40036664/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40036664/Model_4FGL_J1510.8+7959_weekly_bin948.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) = 23114.7307144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75591E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36165E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.1311       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13898E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18192E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    49.883       1.0000          .0000       .10000E+07
     7 'norm      '    .64282E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31689E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13794E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19753E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91227E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .78304E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.557       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60868E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.7554       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4168       1.0000          .0000       .10000E+07
    17 'norm      '    22.606       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.287       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28733E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .34481E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.5618       1.0000          .0000       .10000E+07
    22 'norm      '    4.7517       1.0000          .0000       .10000E+07
    23 'Normalizat'    .92054       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23114.73     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1949 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21022E-06    6.9778       -.67634E-06** at limit **
   2  Prefactor     .11102E-09    2.8086       -.34270E-06** at limit **
   3  norm          3.1352        2.2924       -.35323E-06   -.86278E-03
   4  Prefactor     .99920E-09    1.7527        .19112E-06** at limit **
   5  Prefactor     .22760E-08    2.1647        .15142E-06** at limit **
   6  Prefactor     49.901        2.5630       -.29276E-07    .16283E-02
   7  norm           .0000        .34349       -.78293E-07** at limit **
   8  Prefactor     .19151E-06    1.5357        .52784E-06** at limit **
   9  Prefactor     .55511E-10    1.5073        .41928E-06** at limit **
  10  Prefactor     .31747E-06    3.8596       -.31954E-08** at limit **
  11  Prefactor      .0000        22.176        .44065E-07** at limit **
  12  Prefactor     .17242E-06    2.0151        .45201E-06** at limit **
  13  Prefactor     24.485        14.061       -.25442E-06    .19111E-01
  14  Prefactor     .22371E-07    8.9865       -.53042E-06** at limit **
  15  Prefactor     7.7596        1.2090       -.19731E-07   -.45724E-02
  16  Prefactor     4.3190        24.692       -.84655E-06   -.10114E-01
  17  norm          22.576        1.6955       -.11033E-07   -.21507E-01
  18  Prefactor     23.254        9.6228       -.20508E-06    .10969    
  19  Prefactor      .0000        1.1702       -.19116E-06** at limit **
  20  Prefactor     .23814E-06    2.3848        .32069E-06** at limit **
  21  Prefactor     3.5731        9.7613       -.41537E-06   -.11807E-01
  22  norm          4.7518        .59655       -.57639E-08    .79978E-03
  23  Normalizat    .92072        .99148E-01    .81676E-05    .15996E-03
  24  Prefactor     .99497        .66846E-01   -.24313E-05    .13102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10221e-07
  Prefactor  = 1.11022e-10
  norm       = 3.13519
  Prefactor  = 9.99201e-10
  Prefactor  = 2.27596e-09
  Prefactor  = 49.9012
  norm       = 0
  Prefactor  = 1.91513e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.17468e-07
  Prefactor  = 0
  Prefactor  = 1.72418e-07
  Prefactor  = 24.4849
  Prefactor  = 2.2371e-08
  Prefactor  = 7.75958
  Prefactor  = 4.31897
  norm       = 22.5759
  Prefactor  = 23.2536
  Prefactor  = 0
  Prefactor  = 2.38143e-07
  Prefactor  = 3.57307
  norm       = 4.75181
  Normalizat = 0.920721
  Prefactor  = 0.994968
 **********
 **   18 **HESSE 
 **********

 FCN=   23114.73     FROM HESSE     STATUS=OK           443 CALLS     2392 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21022E-06    8.2662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    2.8068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1352        2.3050        .57268E-03   -1.5673    
   4  Prefactor     .99920E-09    3.8155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22760E-08    3.8714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.901        25.256        .14160E-03   -1.5567    
   7  norm           .0000        .34332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19151E-06    4.7899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    4.7327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31747E-06    5.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.1450        .14171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17242E-06    5.1700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.485        29.612        .20184E-03   -1.5609    
  14  Prefactor     .22371E-07    9.1662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7596        12.052        .35984E-03   -1.5652    
  16  Prefactor     4.3190        43.035        .47894E-03   -1.5666    
  17  norm          22.576        10.531        .21038E-03   -1.5613    
  18  Prefactor     23.254        65.758        .20728E-03   -1.5612    
  19  Prefactor      .0000        1.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23814E-06    4.5559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.5731        44.694        .53528E-03   -1.5670    
  22  norm          4.7518        .59683        .46134E-03   -1.5664    
  23  Normalizat    .92072        .90549E-01    .45164E-01   -.95736    
  24  Prefactor     .99497        .60416E-01    .46205E-01   -.92897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49568e-06
Minuit parameter uncertainties:
  1  0.00263655
  2  3.45078e-05
  3  2.30498
  4  0.00012358
  5  0.000188711
  6  25.2564
  7  5.95434e-07
  8  0.00191553
  9  2.56253e-05
  10  0.00265753
  11  1.24399e-05
  12  0.00188837
  13  29.6125
  14  0.000905492
  15  12.0518
  16  27.2669
  17  10.5311
  18  65.7597
  19  6.93189e-06
  20  0.00208317
  21  25.2743
  22  0.596829
  23  0.0905644
  24  0.0604201
 **********
 **   18 **HESSE 
 **********

 FCN=   23114.73     FROM HESSE     STATUS=OK           443 CALLS     2392 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21022E-06    8.2662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    2.8068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1352        2.3050        .57268E-03   -1.5673    
   4  Prefactor     .99920E-09    3.8155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22760E-08    3.8714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.901        25.256        .14160E-03   -1.5567    
   7  norm           .0000        .34332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19151E-06    4.7899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    4.7327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31747E-06    5.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.1450        .14171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17242E-06    5.1700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.485        29.612        .20184E-03   -1.5609    
  14  Prefactor     .22371E-07    9.1662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7596        12.052        .35984E-03   -1.5652    
  16  Prefactor     4.3190        43.035        .47894E-03   -1.5666    
  17  norm          22.576        10.531        .21038E-03   -1.5613    
  18  Prefactor     23.254        65.758        .20728E-03   -1.5612    
  19  Prefactor      .0000        1.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23814E-06    4.5559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.5731        44.694        .53528E-03   -1.5670    
  22  norm          4.7518        .59683        .46134E-03   -1.5664    
  23  Normalizat    .92072        .90549E-01    .45164E-01   -.95736    
  24  Prefactor     .99497        .60416E-01    .46205E-01   -.92897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49568e-06
Minuit parameter uncertainties:
  1  0.00263655
  2  3.45078e-05
  3  2.30498
  4  0.00012358
  5  0.000188711
  6  25.2564
  7  5.95434e-07
  8  0.00191553
  9  2.56253e-05
  10  0.00265753
  11  1.24399e-05
  12  0.00188837
  13  29.6125
  14  0.000905492
  15  12.0518
  16  27.2669
  17  10.5311
  18  65.7597
  19  6.93189e-06
  20  0.00208317
  21  25.2743
  22  0.596829
  23  0.0905644
  24  0.0604201
V02
Working on...
/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits.....................!
real 101.91
user 100.21
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits', '/lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits', expMap='/lscratch/kocevski/40037115/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', expCube='/lscratch/kocevski/40037115/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40037115/Model_4FGL_J1510.8+7959_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8+7959'

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.990e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40037115/ft1_filtered_4FGL_J1510.8+7959_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40037115/ft2_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40037115/expmap_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40037115/ltcube_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40037115/Model_4FGL_J1510.8+7959_weekly_bin948.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) = 23114.7307144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75591E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36165E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.1311       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13898E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18192E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    49.883       1.0000          .0000       .10000E+07
     7 'norm      '    .64282E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31689E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13794E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19753E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91227E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .78304E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.557       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60868E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.7554       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4168       1.0000          .0000       .10000E+07
    17 'norm      '    22.606       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.287       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28733E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .34481E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.5618       1.0000          .0000       .10000E+07
    22 'norm      '    4.7517       1.0000          .0000       .10000E+07
    23 'Normalizat'    .92054       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23114.73     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1949 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21022E-06    6.9778       -.67634E-06** at limit **
   2  Prefactor     .11102E-09    2.8086       -.34270E-06** at limit **
   3  norm          3.1352        2.2924       -.35323E-06   -.86278E-03
   4  Prefactor     .99920E-09    1.7527        .19112E-06** at limit **
   5  Prefactor     .22760E-08    2.1647        .15142E-06** at limit **
   6  Prefactor     49.901        2.5630       -.29276E-07    .16283E-02
   7  norm           .0000        .34349       -.78293E-07** at limit **
   8  Prefactor     .19151E-06    1.5357        .52784E-06** at limit **
   9  Prefactor     .55511E-10    1.5073        .41928E-06** at limit **
  10  Prefactor     .31747E-06    3.8596       -.31954E-08** at limit **
  11  Prefactor      .0000        22.176        .44065E-07** at limit **
  12  Prefactor     .17242E-06    2.0151        .45201E-06** at limit **
  13  Prefactor     24.485        14.061       -.25442E-06    .19111E-01
  14  Prefactor     .22371E-07    8.9865       -.53042E-06** at limit **
  15  Prefactor     7.7596        1.2090       -.19731E-07   -.45724E-02
  16  Prefactor     4.3190        24.692       -.84655E-06   -.10114E-01
  17  norm          22.576        1.6955       -.11033E-07   -.21507E-01
  18  Prefactor     23.254        9.6228       -.20508E-06    .10969    
  19  Prefactor      .0000        1.1702       -.19116E-06** at limit **
  20  Prefactor     .23814E-06    2.3848        .32069E-06** at limit **
  21  Prefactor     3.5731        9.7613       -.41537E-06   -.11807E-01
  22  norm          4.7518        .59655       -.57639E-08    .79978E-03
  23  Normalizat    .92072        .99148E-01    .81676E-05    .15996E-03
  24  Prefactor     .99497        .66846E-01   -.24313E-05    .13102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10221e-07
  Prefactor  = 1.11022e-10
  norm       = 3.13519
  Prefactor  = 9.99201e-10
  Prefactor  = 2.27596e-09
  Prefactor  = 49.9012
  norm       = 0
  Prefactor  = 1.91513e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.17468e-07
  Prefactor  = 0
  Prefactor  = 1.72418e-07
  Prefactor  = 24.4849
  Prefactor  = 2.2371e-08
  Prefactor  = 7.75958
  Prefactor  = 4.31897
  norm       = 22.5759
  Prefactor  = 23.2536
  Prefactor  = 0
  Prefactor  = 2.38143e-07
  Prefactor  = 3.57307
  norm       = 4.75181
  Normalizat = 0.920721
  Prefactor  = 0.994968
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  4.319e+00  2.727e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  9.950e-01  6.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  9.207e-01  9.056e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 3.2407653917e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00247250201797 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40036530/likelihoodResults_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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): 102
logL (Free Index) = 23114.4856417
delta logL = 0.243662803972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562328
delta logL = 0.473071692304

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23114.26     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      304 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19793E-01    .14013        .49392E-03** at limit **
   2  Index         5.4334        1.3134        .12952        .54286E-03
   3  Normalizat    .89425        .13189E-01    .64974E-01    .70020E-04
   4  Prefactor     1.0055        .90126E-02    .44115E-01    .47796E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0197927
  Index      = 5.43343
  Normalizat = 0.894255
  Prefactor  = 1.00546
 **********
 **   18 **HESSE 
 **********

 FCN=   23114.26     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19793E-01    1.0994        .21312E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4334        7.3783        .75957E-02    .86795E-01
   3  Normalizat    .89425        .75573E-01    .28740E-03   -.96662    
   4  Prefactor     1.0055        .50641E-01    .18534E-03   -.92548    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.55808e-09
Minuit parameter uncertainties:
  1  0.295027
  2  5.63481
  3  0.0755818
  4  0.0506436
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  4.319e+00  2.727e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  9.950e-01  6.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  9.207e-01  9.056e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 3.2407653917e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00247250201797 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40036548/likelihoodResults_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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): 102
logL (Free Index) = 23114.4856417
delta logL = 0.243662803972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562328
delta logL = 0.473071692304

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23114.26     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      304 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19793E-01    .14013        .49392E-03** at limit **
   2  Index         5.4334        1.3134        .12952        .54286E-03
   3  Normalizat    .89425        .13189E-01    .64974E-01    .70020E-04
   4  Prefactor     1.0055        .90126E-02    .44115E-01    .47796E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0197927
  Index      = 5.43343
  Normalizat = 0.894255
  Prefactor  = 1.00546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562183
delta logL = 0.473086280464

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.979e-02  2.950e-01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  5.433e+00  5.635e+00  0.000e+00  1.000e+01 (-1.000e+00)
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.005e+00  5.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  8.943e-01  7.558e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 227.705 79.991
Photon Index (Free Index): 5.43 +/- 5.63
Photon Flux (Free Index): 2.17e-08 +/- 2.18e-08
Energy Flux (Free Index): 2.79e-06 +/- 3.17e-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/40036530/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', comment='SUCCESS', energy_flux2='2.79e-06', dlogl='4.73e-01', photon_flux2='2.17e-08', job_status='DONE', time_completed='2026-10-06 12:23:33.956181', photon_index_error2='5.63', photon_index2='5.43', ts='0.03', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='3.24e-08', energy_flux_error2='3.17e-06', EG='0.92', time_epoch_completed='1791314613.96', return_code='0', job_id='40036530', GAL2='1.01', EG2='0.89', return_code2='102', photon_flux_error2='2.18e-08', ts2='1.04', photon_index='2.22' WHERE bin_id='948' AND source_name='4FGL J1510.8+7959' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 12:23:34 PDT 2026

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

 FCN=   23114.26     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19793E-01    1.0994        .21312E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4334        7.3783        .75957E-02    .86795E-01
   3  Normalizat    .89425        .75573E-01    .28740E-03   -.96662    
   4  Prefactor     1.0055        .50641E-01    .18534E-03   -.92548    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.55808e-09
Minuit parameter uncertainties:
  1  0.295027
  2  5.63481
  3  0.0755818
  4  0.0506436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562183
delta logL = 0.473086280464

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.979e-02  2.950e-01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  5.433e+00  5.635e+00  0.000e+00  1.000e+01 (-1.000e+00)
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.005e+00  5.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  8.943e-01  7.558e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 227.705 79.991
Photon Index (Free Index): 5.43 +/- 5.63
Photon Flux (Free Index): 2.17e-08 +/- 2.18e-08
Energy Flux (Free Index): 2.79e-06 +/- 3.17e-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/40036548/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', comment='SUCCESS', energy_flux2='2.79e-06', dlogl='4.73e-01', photon_flux2='2.17e-08', job_status='DONE', time_completed='2026-10-06 12:23:39.640756', photon_index_error2='5.63', photon_index2='5.43', ts='0.03', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='3.24e-08', energy_flux_error2='3.17e-06', EG='0.92', time_epoch_completed='1791314619.64', return_code='0', job_id='40036548', GAL2='1.01', EG2='0.89', return_code2='102', photon_flux_error2='2.18e-08', ts2='1.04', photon_index='2.22' WHERE bin_id='948' AND source_name='4FGL J1510.8+7959' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 12:23:39 PDT 2026

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

 FCN=   23114.73     FROM HESSE     STATUS=OK           443 CALLS     2392 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21022E-06    8.2662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    2.8068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1352        2.3050        .57268E-03   -1.5673    
   4  Prefactor     .99920E-09    3.8155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22760E-08    3.8714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.901        25.256        .14160E-03   -1.5567    
   7  norm           .0000        .34332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19151E-06    4.7899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    4.7327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31747E-06    5.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.1450        .14171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17242E-06    5.1700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.485        29.612        .20184E-03   -1.5609    
  14  Prefactor     .22371E-07    9.1662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7596        12.052        .35984E-03   -1.5652    
  16  Prefactor     4.3190        43.035        .47894E-03   -1.5666    
  17  norm          22.576        10.531        .21038E-03   -1.5613    
  18  Prefactor     23.254        65.758        .20728E-03   -1.5612    
  19  Prefactor      .0000        1.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23814E-06    4.5559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.5731        44.694        .53528E-03   -1.5670    
  22  norm          4.7518        .59683        .46134E-03   -1.5664    
  23  Normalizat    .92072        .90549E-01    .45164E-01   -.95736    
  24  Prefactor     .99497        .60416E-01    .46205E-01   -.92897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49568e-06
Minuit parameter uncertainties:
  1  0.00263655
  2  3.45078e-05
  3  2.30498
  4  0.00012358
  5  0.000188711
  6  25.2564
  7  5.95434e-07
  8  0.00191553
  9  2.56253e-05
  10  0.00265753
  11  1.24399e-05
  12  0.00188837
  13  29.6125
  14  0.000905492
  15  12.0518
  16  27.2669
  17  10.5311
  18  65.7597
  19  6.93189e-06
  20  0.00208317
  21  25.2743
  22  0.596829
  23  0.0905644
  24  0.0604201
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  4.319e+00  2.727e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  9.950e-01  6.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  9.207e-01  9.056e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 3.2407653917e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00247250201797 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40036664/likelihoodResults_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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): 102
logL (Free Index) = 23114.4856417
delta logL = 0.243662803972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562328
delta logL = 0.473071692304

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23114.26     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      304 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19793E-01    .14013        .49392E-03** at limit **
   2  Index         5.4334        1.3134        .12952        .54286E-03
   3  Normalizat    .89425        .13189E-01    .64974E-01    .70020E-04
   4  Prefactor     1.0055        .90126E-02    .44115E-01    .47796E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0197927
  Index      = 5.43343
  Normalizat = 0.894255
  Prefactor  = 1.00546
 **********
 **   18 **HESSE 
 **********

 FCN=   23114.26     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19793E-01    1.0994        .21312E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4334        7.3783        .75957E-02    .86795E-01
   3  Normalizat    .89425        .75573E-01    .28740E-03   -.96662    
   4  Prefactor     1.0055        .50641E-01    .18534E-03   -.92548    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.55808e-09
Minuit parameter uncertainties:
  1  0.295027
  2  5.63481
  3  0.0755818
  4  0.0506436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562183
delta logL = 0.473086280464

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.979e-02  2.950e-01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  5.433e+00  5.635e+00  0.000e+00  1.000e+01 (-1.000e+00)
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.005e+00  5.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  8.943e-01  7.558e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 227.705 79.991
Photon Index (Free Index): 5.43 +/- 5.63
Photon Flux (Free Index): 2.17e-08 +/- 2.18e-08
Energy Flux (Free Index): 2.79e-06 +/- 3.17e-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/40036664/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', comment='SUCCESS', energy_flux2='2.79e-06', dlogl='4.73e-01', photon_flux2='2.17e-08', job_status='DONE', time_completed='2026-10-06 12:24:37.801344', photon_index_error2='5.63', photon_index2='5.43', ts='0.03', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='3.24e-08', energy_flux_error2='3.17e-06', EG='0.92', time_epoch_completed='1791314677.8', return_code='0', job_id='40036664', GAL2='1.01', EG2='0.89', return_code2='102', photon_flux_error2='2.18e-08', ts2='1.04', photon_index='2.22' WHERE bin_id='948' AND source_name='4FGL J1510.8+7959' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 12:24:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  4.319e+00  2.727e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  9.950e-01  6.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  9.207e-01  9.056e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 3.2407653917e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00247250201797 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40037115/likelihoodResults_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.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): 102
logL (Free Index) = 23114.4856417
delta logL = 0.243662803972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562328
delta logL = 0.473071692304

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23114.26     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      304 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19793E-01    .14013        .49392E-03** at limit **
   2  Index         5.4334        1.3134        .12952        .54286E-03
   3  Normalizat    .89425        .13189E-01    .64974E-01    .70020E-04
   4  Prefactor     1.0055        .90126E-02    .44115E-01    .47796E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0197927
  Index      = 5.43343
  Normalizat = 0.894255
  Prefactor  = 1.00546
 **********
 **   18 **HESSE 
 **********

 FCN=   23114.26     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19793E-01    1.0994        .21312E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.4334        7.3783        .75957E-02    .86795E-01
   3  Normalizat    .89425        .75573E-01    .28740E-03   -.96662    
   4  Prefactor     1.0055        .50641E-01    .18534E-03   -.92548    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.55808e-09
Minuit parameter uncertainties:
  1  0.295027
  2  5.63481
  3  0.0755818
  4  0.0506436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23114.2562183
delta logL = 0.473086280464

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.979e-02  2.950e-01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  5.433e+00  5.635e+00  0.000e+00  1.000e+01 (-1.000e+00)
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.005e+00  5.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  8.943e-01  7.558e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 227.705 79.991
Photon Index (Free Index): 5.43 +/- 5.63
Photon Flux (Free Index): 2.17e-08 +/- 2.18e-08
Energy Flux (Free Index): 2.79e-06 +/- 3.17e-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/40037115/cmap_HighResolution_812332801_812937601_4FGL_J1510.8+7959_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', comment='SUCCESS', energy_flux2='2.79e-06', dlogl='4.73e-01', photon_flux2='2.17e-08', job_status='DONE', time_completed='2026-10-06 12:26:02.126485', photon_index_error2='5.63', photon_index2='5.43', ts='0.03', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='3.24e-08', energy_flux_error2='3.17e-06', EG='0.92', time_epoch_completed='1791314762.13', return_code='0', job_id='40037115', GAL2='1.01', EG2='0.89', return_code2='102', photon_flux_error2='2.18e-08', ts2='1.04', photon_index='2.22' WHERE bin_id='948' AND source_name='4FGL J1510.8+7959' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 12:26:02 PDT 2026

