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


Performing analysis on: 4FGL_J1517.7+6525_weekly_bin929
RA = 229.436, Dec = 65.424
tmin = 800841601, tmax = 801446401
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='27248866', job_status='RUN', time_executed='2026-05-26 11:49:41.120787', time_epoch_executed='1779821381.12' WHERE source_name='4FGL J1517.7+6525' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27248866

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27248866/ft1_4FGL_J1517.7+6525_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27248866/ft1_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248866/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits ra=229.436 dec=65.424 rad=12.0 tmin=800841601.0 tmax=801446401.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.05
user 4.55
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.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/27248866/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.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.57
user 0.20
sys 0.11

Number of photons that the gtmktime cut: 1515

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

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1517.7+6525_weekly_bin929
RA = 229.436, Dec = 65.424
tmin = 800841601, tmax = 801446401
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='27248895', job_status='RUN', time_executed='2026-05-26 11:50:42.042122', time_epoch_executed='1779821442.04' WHERE source_name='4FGL J1517.7+6525' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27248895

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27248895/ft1_4FGL_J1517.7+6525_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27248895/ft1_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248895/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits ra=229.436 dec=65.424 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.60
user 4.20
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.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/27248895/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.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.54
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1515

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27248828/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248828/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 16.61
user 16.16
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27248828/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248828/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27248828/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248828/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248828/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 63.56
user 59.55
sys 3.60

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

Setting source of interest to:
4FGL J1517.7+6525 @ 229.436 65.424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27248828/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248828/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248828/cmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.51
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27248828/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248828/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248828/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.53
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27248828/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248828/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27248828/Model_4FGL_J1517.7+6525_weekly_bin929.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 = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1517.7+6525_weekly_bin929
RA = 229.436, Dec = 65.424
tmin = 800841601, tmax = 801446401
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='27248910', job_status='RUN', time_executed='2026-05-26 11:50:42.204224', time_epoch_executed='1779821442.2' WHERE source_name='4FGL J1517.7+6525' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27248910

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27248910/ft1_4FGL_J1517.7+6525_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27248910/ft1_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248910/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits ra=229.436 dec=65.424 rad=12.0 tmin=800841601.0 tmax=801446401.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.19
user 4.72
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.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/27248910/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.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.55
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1515

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" ouutfile=/lscratch/kocevski/27248838/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248838/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 16.61
user 16.18
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27248838/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248838/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27248838/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248838/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248838/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 63.64
user 59.31
sys 3.89

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

Setting source of interest to:
4FGL J1517.7+6525 @ 229.436 65.424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27248838/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248838/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248838/cmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.55
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27248838/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248838/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248838/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.56
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27248838/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248838/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27248838/Model_4FGL_J1517.7+6525_weekly_bin929.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/27248866/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 18.38
user 17.71
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27248866/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248866/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248866/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 70.41
user 65.39
sys 4.33

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

Setting source of interest to:
4FGL J1517.7+6525 @ 229.436 65.424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248866/cmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.61
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248866/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.26
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27248866/Model_4FGL_J1517.7+6525_weekly_bin929.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 = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1517.7+6525_weekly_bin929
RA = 229.436, Dec = 65.424
tmin = 800841601, tmax = 801446401
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='27248977', job_status='RUN', time_executed='2026-05-26 11:51:45.419854', time_epoch_executed='1779821505.42' WHERE source_name='4FGL J1517.7+6525' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27248977

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27248977/ft1_4FGL_J1517.7+6525_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27248977/ft1_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248977/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits ra=229.436 dec=65.424 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.92
user 4.31
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.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/27248977/ft1_filteredMKT_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.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.21
sys 0.13

Number of photons that the gtmktime cut: 1515

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/27248787/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits.....................!
real 46.61
user 45.23
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27248787/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits', '/lscratch/kocevski/27248787/ft2_4FGL_J1517.7+6525_weekly_bin929.fits', expMap='/lscratch/kocevski/27248787/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', expCube='/lscratch/kocevski/27248787/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27248787/Model_4FGL_J1517.7+6525_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27248787/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27248787/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27248787/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27248787/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27248787/Model_4FGL_J1517.7+6525_weekly_bin929.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) = 16368.6322688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35211E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30418       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36647       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3978       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16522E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11800E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.845       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18584E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5939       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1934       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.6575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34265E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3881       1.0000          .0000       .10000E+07
    17 'norm      '    .23960E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7992       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46336E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.173       1.0000          .0000       .10000E+07
    21 'norm      '    .72660E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1893       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91906       1.0000          .0000       .10000E+07
    24 'Prefactor '    18.951       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********utfile=/lscratch/kocevski/27248895/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 17.09
user 16.58
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27248895/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248895/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248895/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 64.75
user 60.61
sys 3.68

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

Setting source of interest to:
4FGL J1517.7+6525 @ 229.436 65.424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248895/cmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248895/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.59
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27248895/Model_4FGL_J1517.7+6525_weekly_bin929.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
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1798 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49016E-07    10.450        .41243E-07** at limit **
   2  Prefactor     .43821E-06    104.19       -.62891E-06** at limit **
   3  Prefactor     .36794        1.2789        .77986E-07   -.28378E-03
   4  Prefactor     2.4210        6.3981        .44676E-07    .25985E-04
   5  Prefactor     32.797        5.5920       -.28085E-07   -.13070E-01
   6  Prefactor     .12212E-08    85.215       -.71240E-06** at limit **
   7  Prefactor     .51514E-07    10.002        .41305E-08** at limit **
   8  Prefactor      .0000        2.8286        .20160E-07** at limit **
   9  Prefactor     36.820        2.5069        .54146E-08    .15262E-01
  10  Prefactor      .0000        4.8185       -.10877E-06** at limit **
  11  Prefactor     8.7092        2.0687        .19632E-07   -.11659E-02
  12  Prefactor     4.1948        4.2080       -.12189E-07   -.27853E-04
  13  Prefactor     .55511E-10    5.9314       -.14935E-06** at limit **
  14  norm          1.6568        1.2487        .24113E-08    .16339E-03
  15  Prefactor     .49960E-08    15.823       -.69880E-07** at limit **
  16  Prefactor     3.3881        2.8556        .19852E-06   -.19075E-02
  17  norm          .18874E-08    6.7906       -.13081E-06** at limit **
  18  Prefactor     2.7921        10.126        .65581E-07   -.78544E-03
  19  Prefactor     .43854E-08    120.52       -.72073E-06** at limit **
  20  Prefactor     18.179        1.2891       -.11180E-08    .94727E-02
  21  norm          .66613E-09    5.6406       -.38221E-06** at limit **
  22  norm          1.1915        .45720        .16672E-07   -.96296E-03
  23  Prefactor     .92464        4.7091       -.43183E-07   -.39940E-02
  24  Prefactor     18.775        7.3188       -.18033E-08    .56521E-01
  25  Normalizat    .88802        .11244       -.82820E-06    .28884E-06
  26  Prefactor     1.0083        .11632        .64015E-06   -.23244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90163e-08
  Prefactor  = 4.38205e-07
  Prefactor  = 0.367936
  Prefactor  = 2.42095
  Prefactor  = 32.7972
  Prefactor  = 1.22125e-09
  Prefactor  = 5.15143e-08
  Prefactor  = 0
  Prefactor  = 36.8203
  Prefactor  = 0
  Prefactor  = 8.70917
  Prefactor  = 4.19481
  Prefactor  = 5.55112e-11
  norm       = 1.65675
  Prefactor  = 4.996e-09
  Prefactor  = 3.38811
  norm       = 1.88738e-09
  Prefactor  = 2.79209
  Prefactor  = 4.38538e-09
  Prefactor  = 18.1791
  norm       = 6.66134e-10
  norm       = 1.19153
  Prefactor  = 0.92464
  Prefactor  = 18.7755
  Normalizat = 0.888017
  Prefactor  = 1.00832
tfile=/lscratch/kocevski/27248910/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 19.23
user 18.60
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27248910/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248910/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248910/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 73.30
user 68.44
sys 4.24

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

Setting source of interest to:
4FGL J1517.7+6525 @ 229.436 65.424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248910/cmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.63
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248910/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.58
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27248910/Model_4FGL_J1517.7+6525_weekly_bin929.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/27248828/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits.....................!
real 45.36
user 43.91
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27248828/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits', '/lscratch/kocevski/27248828/ft2_4FGL_J1517.7+6525_weekly_bin929.fits', expMap='/lscratch/kocevski/27248828/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', expCube='/lscratch/kocevski/27248828/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27248828/Model_4FGL_J1517.7+6525_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27248828/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27248828/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27248828/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27248828/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27248828/Model_4FGL_J1517.7+6525_weekly_bin929.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) = 16368.6322688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35211E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30418       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36647       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3978       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16522E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11800E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.845       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18584E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5939       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1934       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.6575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34265E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3881       1.0000          .0000       .10000E+07
    17 'norm      '    .23960E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7992       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46336E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.173       1.0000          .0000       .10000E+07
    21 'norm      '    .72660E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1893       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91906       1.0000          .0000       .10000E+07
    24 'Prefactor '    18.951       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   16368.60     FROM HESSE     STATUS=OK           516 CALLS     2314 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49016E-07    11.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43821E-06    6.0083        .16412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36794        1.3125        .93479E-03   -1.5696    
   4  Prefactor     2.4210        6.5865        .66103E-03   -1.5677    
   5  Prefactor     32.797        20.297        .17432E-03   -1.5593    
   6  Prefactor     .12212E-08    85.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51514E-07    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.820        17.722        .16476E-03   -1.5587    
  10  Prefactor      .0000        4.7771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7092        22.157        .34170E-03   -1.5649    
  12  Prefactor     4.1948        4.2099        .49189E-03   -1.5667    
  13  Prefactor     .55511E-10    5.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6568        1.2481        .81933E-03   -1.5682    
  15  Prefactor     .49960E-08    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3881        2.8632        .54943E-03   -1.5671    
  17  norm          .18874E-08    6.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7921        10.156        .60781E-03   -1.5675    
  19  Prefactor     .43854E-08    120.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.179        14.118        .23467E-03   -1.5623    
  21  norm          .66613E-09    5.6356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1915        .48656        .10445E-02   -1.5686    
  23  Prefactor     .92464        4.9669        .44451E-03   -1.5689    
  24  Prefactor     18.775        13.981        .22979E-03   -1.5621    
  25  Normalizat    .88802        .96136E-01    .44748E-01   -.96882    
  26  Prefactor     1.0083        .98783E-01    .43604E-01   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99825e-07
Minuit parameter uncertainties:
  1  0.0015181
  2  0.00324516
  3  1.31253
  4  6.58651
  5  20.2967
  6  0.00064155
  7  0.00152501
  8  5.43672e-06
  9  17.7217
  10  2.18903e-05
  11  22.1569
  12  4.20994
  13  3.72764e-05
  14  1.24808
  15  0.000564164
  16  2.86316
  17  0.000223956
  18  10.1563
  19  0.00144977
  20  14.1177
  21  0.000125002
  22  0.486564
  23  4.28608
  24  13.9814
  25  0.0961549
  26  0.0988011

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1798 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49016E-07    10.450        .41243E-07** at limit **
   2  Prefactor     .43821E-06    104.19       -.62891E-06** at limit **
   3  Prefactor     .36794        1.2789        .77986E-07   -.28378E-03
   4  Prefactor     2.4210        6.3981        .44676E-07    .25985E-04
   5  Prefactor     32.797        5.5920       -.28085E-07   -.13070E-01
   6  Prefactor     .12212E-08    85.215       -.71240E-06** at limit **
   7  Prefactor     .51514E-07    10.002        .41305E-08** at limit **
   8  Prefactor      .0000        2.8286        .20160E-07** at limit **
   9  Prefactor     36.820        2.5069        .54146E-08    .15262E-01
  10  Prefactor      .0000        4.8185       -.10877E-06** at limit **
  11  Prefactor     8.7092        2.0687        .19632E-07   -.11659E-02
  12  Prefactor     4.1948        4.2080       -.12189E-07   -.27853E-04
  13  Prefactor     .55511E-10    5.9314       -.14935E-06** at limit **
  14  norm          1.6568        1.2487        .24113E-08    .16339E-03
  15  Prefactor     .49960E-08    15.823       -.69880E-07** at limit **
  16  Prefactor     3.3881        2.8556        .19852E-06   -.19075E-02
  17  norm          .18874E-08    6.7906       -.13081E-06** at limit **
  18  Prefactor     2.7921        10.126        .65581E-07   -.78544E-03
  19  Prefactor     .43854E-08    120.52       -.72073E-06** at limit **
  20  Prefactor     18.179        1.2891       -.11180E-08    .94727E-02
  21  norm          .66613E-09    5.6406       -.38221E-06** at limit **
  22  norm          1.1915        .45720        .16672E-07   -.96296E-03
  23  Prefactor     .92464        4.7091       -.43183E-07   -.39940E-02
  24  Prefactor     18.775        7.3188       -.18033E-08    .56521E-01
  25  Normalizat    .88802        .11244       -.82820E-06    .28884E-06
  26  Prefactor     1.0083        .11632        .64015E-06   -.23244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90163e-08
  Prefactor  = 4.38205e-07
  Prefactor  = 0.367936
  Prefactor  = 2.42095
  Prefactor  = 32.7972
  Prefactor  = 1.22125e-09
  Prefactor  = 5.15143e-08
  Prefactor  = 0
  Prefactor  = 36.8203
  Prefactor  = 0
  Prefactor  = 8.70917
  Prefactor  = 4.19481
  Prefactor  = 5.55112e-11
  norm       = 1.65675
  Prefactor  = 4.996e-09
  Prefactor  = 3.38811
  norm       = 1.88738e-09
  Prefactor  = 2.79209
  Prefactor  = 4.38538e-09
  Prefactor  = 18.1791
  norm       = 6.66134e-10
  norm       = 1.19153
  Prefactor  = 0.92464
  Prefactor  = 18.7755
  Normalizat = 0.888017
  Prefactor  = 1.00832
utfile=/lscratch/kocevski/27248977/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 17.91
user 17.25
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27248977/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248977/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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/27248977/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
.....................!
real 66.99
user 62.32
sys 4.03

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

Setting source of interest to:
4FGL J1517.7+6525 @ 229.436 65.424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248977/cmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.56
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits scfile=/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits outfile=/lscratch/kocevski/27248977/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.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=229.436 yref=65.424 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.52
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27248977/Model_4FGL_J1517.7+6525_weekly_bin929.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/27248838/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits.....................!
real 46.59
user 45.14
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27248838/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits', '/lscratch/kocevski/27248838/ft2_4FGL_J1517.7+6525_weekly_bin929.fits', expMap='/lscratch/kocevski/27248838/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', expCube='/lscratch/kocevski/27248838/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27248838/Model_4FGL_J1517.7+6525_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27248838/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27248838/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27248838/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27248838/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27248838/Model_4FGL_J1517.7+6525_weekly_bin929.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) = 16368.6322688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35211E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30418       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36647       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3978       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16522E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11800E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.845       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18584E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5939       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1934       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.6575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34265E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3881       1.0000          .0000       .10000E+07
    17 'norm      '    .23960E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7992       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46336E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.173       1.0000          .0000       .10000E+07
    21 'norm      '    .72660E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1893       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91906       1.0000          .0000       .10000E+07
    24 'Prefactor '    18.951       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   16368.60     FROM HESSE     STATUS=OK           516 CALLS     2314 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49016E-07    11.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43821E-06    6.0083        .16412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36794        1.3125        .93479E-03   -1.5696    
   4  Prefactor     2.4210        6.5865        .66103E-03   -1.5677    
   5  Prefactor     32.797        20.297        .17432E-03   -1.5593    
   6  Prefactor     .12212E-08    85.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51514E-07    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.820        17.722        .16476E-03   -1.5587    
  10  Prefactor      .0000        4.7771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7092        22.157        .34170E-03   -1.5649    
  12  Prefactor     4.1948        4.2099        .49189E-03   -1.5667    
  13  Prefactor     .55511E-10    5.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6568        1.2481        .81933E-03   -1.5682    
  15  Prefactor     .49960E-08    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3881        2.8632        .54943E-03   -1.5671    
  17  norm          .18874E-08    6.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7921        10.156        .60781E-03   -1.5675    
  19  Prefactor     .43854E-08    120.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.179        14.118        .23467E-03   -1.5623    
  21  norm          .66613E-09    5.6356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1915        .48656        .10445E-02   -1.5686    
  23  Prefactor     .92464        4.9669        .44451E-03   -1.5689    
  24  Prefactor     18.775        13.981        .22979E-03   -1.5621    
  25  Normalizat    .88802        .96136E-01    .44748E-01   -.96882    
  26  Prefactor     1.0083        .98783E-01    .43604E-01   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99825e-07
Minuit parameter uncertainties:
  1  0.0015181
  2  0.00324516
  3  1.31253
  4  6.58651
  5  20.2967
  6  0.00064155
  7  0.00152501
  8  5.43672e-06
  9  17.7217
  10  2.18903e-05
  11  22.1569
  12  4.20994
  13  3.72764e-05
  14  1.24808
  15  0.000564164
  16  2.86316
  17  0.000223956
  18  10.1563
  19  0.00144977
  20  14.1177
  21  0.000125002
  22  0.486564
  23  4.28608
  24  13.9814
  25  0.0961549
  26  0.0988011

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1798 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49016E-07    10.450        .41243E-07** at limit **
   2  Prefactor     .43821E-06    104.19       -.62891E-06** at limit **
   3  Prefactor     .36794        1.2789        .77986E-07   -.28378E-03
   4  Prefactor     2.4210        6.3981        .44676E-07    .25985E-04
   5  Prefactor     32.797        5.5920       -.28085E-07   -.13070E-01
   6  Prefactor     .12212E-08    85.215       -.71240E-06** at limit **
   7  Prefactor     .51514E-07    10.002        .41305E-08** at limit **
   8  Prefactor      .0000        2.8286        .20160E-07** at limit **
   9  Prefactor     36.820        2.5069        .54146E-08    .15262E-01
  10  Prefactor      .0000        4.8185       -.10877E-06** at limit **
  11  Prefactor     8.7092        2.0687        .19632E-07   -.11659E-02
  12  Prefactor     4.1948        4.2080       -.12189E-07   -.27853E-04
  13  Prefactor     .55511E-10    5.9314       -.14935E-06** at limit **
  14  norm          1.6568        1.2487        .24113E-08    .16339E-03
  15  Prefactor     .49960E-08    15.823       -.69880E-07** at limit **
  16  Prefactor     3.3881        2.8556        .19852E-06   -.19075E-02
  17  norm          .18874E-08    6.7906       -.13081E-06** at limit **
  18  Prefactor     2.7921        10.126        .65581E-07   -.78544E-03
  19  Prefactor     .43854E-08    120.52       -.72073E-06** at limit **
  20  Prefactor     18.179        1.2891       -.11180E-08    .94727E-02
  21  norm          .66613E-09    5.6406       -.38221E-06** at limit **
  22  norm          1.1915        .45720        .16672E-07   -.96296E-03
  23  Prefactor     .92464        4.7091       -.43183E-07   -.39940E-02
  24  Prefactor     18.775        7.3188       -.18033E-08    .56521E-01
  25  Normalizat    .88802        .11244       -.82820E-06    .28884E-06
  26  Prefactor     1.0083        .11632        .64015E-06   -.23244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90163e-08
  Prefactor  = 4.38205e-07
  Prefactor  = 0.367936
  Prefactor  = 2.42095
  Prefactor  = 32.7972
  Prefactor  = 1.22125e-09
  Prefactor  = 5.15143e-08
  Prefactor  = 0
  Prefactor  = 36.8203
  Prefactor  = 0
  Prefactor  = 8.70917
  Prefactor  = 4.19481
  Prefactor  = 5.55112e-11
  norm       = 1.65675
  Prefactor  = 4.996e-09
  Prefactor  = 3.38811
  norm       = 1.88738e-09
  Prefactor  = 2.79209
  Prefactor  = 4.38538e-09
  Prefactor  = 18.1791
  norm       = 6.66134e-10
  norm       = 1.19153
  Prefactor  = 0.92464
  Prefactor  = 18.7755
  Normalizat = 0.888017
  Prefactor  = 1.00832
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.728e-05  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  9.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  9.615e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 1.56201598841e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00115269231608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27248787/likelihoodResults_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16368.6856576
delta logL = -0.0811850454411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16368.6044771
delta logL = -4.51718005934e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      195 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2846        .81560E-06** at limit **
   2  Index         2.0913        2.7728       -.49261E-04     .0000    
   3  Normalizat    .88802        .10720       -.39739E-05   -.25762E-04
   4  Prefactor     1.0083        .11447        .62837E-05    .24980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.0913
  Normalizat = 0.888017
  Prefactor  = 1.00832
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16368.60     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47609        1.8587       -.49261E-04   -.62087    
   3  Normalizat    .88802        1.2238       -.39739E-05   -.96882    
   4  Prefactor     1.0083        1.2697        .62837E-05   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93782e-12
Minuit parameter uncertainties:
  1  2.87691e-06
  2  1.67587
  3  1.2656
  4  1.31068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16368.6044725
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  2.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  2.091e+00  1.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/27248787/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2026-05-26 11:57:23.317016', job_id='27248787', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1779821843.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J1517.7+6525' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 11:57:23 PDT 2026

_V02
Working on...
/lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits.....................!
real 49.40
user 47.87
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits', '/lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits', expMap='/lscratch/kocevski/27248866/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', expCube='/lscratch/kocevski/27248866/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27248866/Model_4FGL_J1517.7+6525_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27248866/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27248866/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27248866/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27248866/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27248866/Model_4FGL_J1517.7+6525_weekly_bin929.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) = 16368.6322688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35211E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30418       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36647       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3978       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16522E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11800E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.845       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18584E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5939       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1934       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.6575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34265E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3881       1.0000          .0000       .10000E+07
    17 'norm      '    .23960E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7992       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46336E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.173       1.0000          .0000       .10000E+07
    21 'norm      '    .72660E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1893       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91906       1.0000          .0000       .10000E+07
    24 'Prefactor '    18.951       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1798 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49016E-07    10.450        .41243E-07** at limit **
   2  Prefactor     .43821E-06    104.19       -.62891E-06** at limit **
   3  Prefactor     .36794        1.2789        .77986E-07   -.28378E-03
   4  Prefactor     2.4210        6.3981        .44676E-07    .25985E-04
   5  Prefactor     32.797        5.5920       -.28085E-07   -.13070E-01
   6  Prefactor     .12212E-08    85.215       -.71240E-06** at limit **
   7  Prefactor     .51514E-07    10.002        .41305E-08** at limit **
   8  Prefactor      .0000        2.8286        .20160E-07** at limit **
   9  Prefactor     36.820        2.5069        .54146E-08    .15262E-01
  10  Prefactor      .0000        4.8185       -.10877E-06** at limit **
  11  Prefactor     8.7092        2.0687        .19632E-07   -.11659E-02
  12  Prefactor     4.1948        4.2080       -.12189E-07   -.27853E-04
  13  Prefactor     .55511E-10    5.9314       -.14935E-06** at limit **
  14  norm          1.6568        1.2487        .24113E-08    .16339E-03
  15  Prefactor     .49960E-08    15.823       -.69880E-07** at limit **
  16  Prefactor     3.3881        2.8556        .19852E-06   -.19075E-02
  17  norm          .18874E-08    6.7906       -.13081E-06** at limit **
  18  Prefactor     2.7921        10.126        .65581E-07   -.78544E-03
  19  Prefactor     .43854E-08    120.52       -.72073E-06** at limit **
  20  Prefactor     18.179        1.2891       -.11180E-08    .94727E-02
  21  norm          .66613E-09    5.6406       -.38221E-06** at limit **
  22  norm          1.1915        .45720        .16672E-07   -.96296E-03
  23  Prefactor     .92464        4.7091       -.43183E-07   -.39940E-02
  24  Prefactor     18.775        7.3188       -.18033E-08    .56521E-01
  25  Normalizat    .88802        .11244       -.82820E-06    .28884E-06
  26  Prefactor     1.0083        .11632        .64015E-06   -.23244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90163e-08
  Prefactor  = 4.38205e-07
  Prefactor  = 0.367936
  Prefactor  = 2.42095
  Prefactor  = 32.7972
  Prefactor  = 1.22125e-09
  Prefactor  = 5.15143e-08
  Prefactor  = 0
  Prefactor  = 36.8203
  Prefactor  = 0
  Prefactor  = 8.70917
  Prefactor  = 4.19481
  Prefactor  = 5.55112e-11
  norm       = 1.65675
  Prefactor  = 4.996e-09
  Prefactor  = 3.38811
  norm       = 1.88738e-09
  Prefactor  = 2.79209
  Prefactor  = 4.38538e-09
  Prefactor  = 18.1791
  norm       = 6.66134e-10
  norm       = 1.19153
  Prefactor  = 0.92464
  Prefactor  = 18.7755
  Normalizat = 0.888017
  Prefactor  = 1.00832
_V02
Working on...
/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits.....................!
real 46.70
user 45.17
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits', '/lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits', expMap='/lscratch/kocevski/27248895/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', expCube='/lscratch/kocevski/27248895/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27248895/Model_4FGL_J1517.7+6525_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27248895/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27248895/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27248895/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27248895/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27248895/Model_4FGL_J1517.7+6525_weekly_bin929.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) = 16368.6322688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35211E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30418       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36647       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3978       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16522E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11800E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.845       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18584E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5939       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1934       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.6575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34265E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3881       1.0000          .0000       .10000E+07
    17 'norm      '    .23960E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7992       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46336E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.173       1.0000          .0000       .10000E+07
    21 'norm      '    .72660E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1893       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91906       1.0000          .0000       .10000E+07
    24 'Prefactor '    18.951       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   16368.60     FROM HESSE     STATUS=OK           516 CALLS     2314 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49016E-07    11.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43821E-06    6.0083        .16412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36794        1.3125        .93479E-03   -1.5696    
   4  Prefactor     2.4210        6.5865        .66103E-03   -1.5677    
   5  Prefactor     32.797        20.297        .17432E-03   -1.5593    
   6  Prefactor     .12212E-08    85.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51514E-07    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.820        17.722        .16476E-03   -1.5587    
  10  Prefactor      .0000        4.7771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7092        22.157        .34170E-03   -1.5649    
  12  Prefactor     4.1948        4.2099        .49189E-03   -1.5667    
  13  Prefactor     .55511E-10    5.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6568        1.2481        .81933E-03   -1.5682    
  15  Prefactor     .49960E-08    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3881        2.8632        .54943E-03   -1.5671    
  17  norm          .18874E-08    6.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7921        10.156        .60781E-03   -1.5675    
  19  Prefactor     .43854E-08    120.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.179        14.118        .23467E-03   -1.5623    
  21  norm          .66613E-09    5.6356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1915        .48656        .10445E-02   -1.5686    
  23  Prefactor     .92464        4.9669        .44451E-03   -1.5689    
  24  Prefactor     18.775        13.981        .22979E-03   -1.5621    
  25  Normalizat    .88802        .96136E-01    .44748E-01   -.96882    
  26  Prefactor     1.0083        .98783E-01    .43604E-01   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99825e-07
Minuit parameter uncertainties:
  1  0.0015181
  2  0.00324516
  3  1.31253
  4  6.58651
  5  20.2967
  6  0.00064155
  7  0.00152501
  8  5.43672e-06
  9  17.7217
  10  2.18903e-05
  11  22.1569
  12  4.20994
  13  3.72764e-05
  14  1.24808
  15  0.000564164
  16  2.86316
  17  0.000223956
  18  10.1563
  19  0.00144977
  20  14.1177
  21  0.000125002
  22  0.486564
  23  4.28608
  24  13.9814
  25  0.0961549
  26  0.0988011

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1798 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49016E-07    10.450        .41243E-07** at limit **
   2  Prefactor     .43821E-06    104.19       -.62891E-06** at limit **
   3  Prefactor     .36794        1.2789        .77986E-07   -.28378E-03
   4  Prefactor     2.4210        6.3981        .44676E-07    .25985E-04
   5  Prefactor     32.797        5.5920       -.28085E-07   -.13070E-01
   6  Prefactor     .12212E-08    85.215       -.71240E-06** at limit **
   7  Prefactor     .51514E-07    10.002        .41305E-08** at limit **
   8  Prefactor      .0000        2.8286        .20160E-07** at limit **
   9  Prefactor     36.820        2.5069        .54146E-08    .15262E-01
  10  Prefactor      .0000        4.8185       -.10877E-06** at limit **
  11  Prefactor     8.7092        2.0687        .19632E-07   -.11659E-02
  12  Prefactor     4.1948        4.2080       -.12189E-07   -.27853E-04
  13  Prefactor     .55511E-10    5.9314       -.14935E-06** at limit **
  14  norm          1.6568        1.2487        .24113E-08    .16339E-03
  15  Prefactor     .49960E-08    15.823       -.69880E-07** at limit **
  16  Prefactor     3.3881        2.8556        .19852E-06   -.19075E-02
  17  norm          .18874E-08    6.7906       -.13081E-06** at limit **
  18  Prefactor     2.7921        10.126        .65581E-07   -.78544E-03
  19  Prefactor     .43854E-08    120.52       -.72073E-06** at limit **
  20  Prefactor     18.179        1.2891       -.11180E-08    .94727E-02
  21  norm          .66613E-09    5.6406       -.38221E-06** at limit **
  22  norm          1.1915        .45720        .16672E-07   -.96296E-03
  23  Prefactor     .92464        4.7091       -.43183E-07   -.39940E-02
  24  Prefactor     18.775        7.3188       -.18033E-08    .56521E-01
  25  Normalizat    .88802        .11244       -.82820E-06    .28884E-06
  26  Prefactor     1.0083        .11632        .64015E-06   -.23244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90163e-08
  Prefactor  = 4.38205e-07
  Prefactor  = 0.367936
  Prefactor  = 2.42095
  Prefactor  = 32.7972
  Prefactor  = 1.22125e-09
  Prefactor  = 5.15143e-08
  Prefactor  = 0
  Prefactor  = 36.8203
  Prefactor  = 0
  Prefactor  = 8.70917
  Prefactor  = 4.19481
  Prefactor  = 5.55112e-11
  norm       = 1.65675
  Prefactor  = 4.996e-09
  Prefactor  = 3.38811
  norm       = 1.88738e-09
  Prefactor  = 2.79209
  Prefactor  = 4.38538e-09
  Prefactor  = 18.1791
  norm       = 6.66134e-10
  norm       = 1.19153
  Prefactor  = 0.92464
  Prefactor  = 18.7755
  Normalizat = 0.888017
  Prefactor  = 1.00832
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.728e-05  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  9.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  9.615e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 1.56201598841e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00115269231608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27248828/likelihoodResults_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16368.6856576
delta logL = -0.0811850454411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16368.6044771
delta logL = -4.51718005934e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      195 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2846        .81560E-06** at limit **
   2  Index         2.0913        2.7728       -.49261E-04     .0000    
   3  Normalizat    .88802        .10720       -.39739E-05   -.25762E-04
   4  Prefactor     1.0083        .11447        .62837E-05    .24980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.0913
  Normalizat = 0.888017
  Prefactor  = 1.00832
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16368.60     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47609        1.8587       -.49261E-04   -.62087    
   3  Normalizat    .88802        1.2238       -.39739E-05   -.96882    
   4  Prefactor     1.0083        1.2697        .62837E-05   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93782e-12
Minuit parameter uncertainties:
  1  2.87691e-06
  2  1.67587
  3  1.2656
  4  1.31068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16368.6044725
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  2.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  2.091e+00  1.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/27248828/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2026-05-26 11:58:38.798287', job_id='27248828', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1779821918.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J1517.7+6525' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 11:58:38 PDT 2026

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

 FCN=   16368.60     FROM HESSE     STATUS=OK           516 CALLS     2314 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49016E-07    11.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43821E-06    6.0083        .16412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36794        1.3125        .93479E-03   -1.5696    
   4  Prefactor     2.4210        6.5865        .66103E-03   -1.5677    
   5  Prefactor     32.797        20.297        .17432E-03   -1.5593    
   6  Prefactor     .12212E-08    85.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51514E-07    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.820        17.722        .16476E-03   -1.5587    
  10  Prefactor      .0000        4.7771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7092        22.157        .34170E-03   -1.5649    
  12  Prefactor     4.1948        4.2099        .49189E-03   -1.5667    
  13  Prefactor     .55511E-10    5.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6568        1.2481        .81933E-03   -1.5682    
  15  Prefactor     .49960E-08    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3881        2.8632        .54943E-03   -1.5671    
  17  norm          .18874E-08    6.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7921        10.156        .60781E-03   -1.5675    
  19  Prefactor     .43854E-08    120.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.179        14.118        .23467E-03   -1.5623    
  21  norm          .66613E-09    5.6356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1915        .48656        .10445E-02   -1.5686    
  23  Prefactor     .92464        4.9669        .44451E-03   -1.5689    
  24  Prefactor     18.775        13.981        .22979E-03   -1.5621    
  25  Normalizat    .88802        .96136E-01    .44748E-01   -.96882    
  26  Prefactor     1.0083        .98783E-01    .43604E-01   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99825e-07
Minuit parameter uncertainties:
  1  0.0015181
  2  0.00324516
  3  1.31253
  4  6.58651
  5  20.2967
  6  0.00064155
  7  0.00152501
  8  5.43672e-06
  9  17.7217
  10  2.18903e-05
  11  22.1569
  12  4.20994
  13  3.72764e-05
  14  1.24808
  15  0.000564164
  16  2.86316
  17  0.000223956
  18  10.1563
  19  0.00144977
  20  14.1177
  21  0.000125002
  22  0.486564
  23  4.28608
  24  13.9814
  25  0.0961549
  26  0.0988011
V02
Working on...
/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits.....................!
real 52.46
user 50.89
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits', '/lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits', expMap='/lscratch/kocevski/27248910/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', expCube='/lscratch/kocevski/27248910/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27248910/Model_4FGL_J1517.7+6525_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27248910/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27248910/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27248910/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27248910/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27248910/Model_4FGL_J1517.7+6525_weekly_bin929.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) = 16368.6322688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35211E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30418       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36647       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3978       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16522E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11800E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.845       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18584E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5939       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1934       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.6575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34265E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3881       1.0000          .0000       .10000E+07
    17 'norm      '    .23960E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7992       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46336E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.173       1.0000          .0000       .10000E+07
    21 'norm      '    .72660E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1893       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91906       1.0000          .0000       .10000E+07
    24 'Prefactor '    18.951       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   18 **HESSE 
 **********

 FCN=   16368.60     FROM HESSE     STATUS=OK           516 CALLS     2314 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49016E-07    11.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43821E-06    6.0083        .16412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36794        1.3125        .93479E-03   -1.5696    
   4  Prefactor     2.4210        6.5865        .66103E-03   -1.5677    
   5  Prefactor     32.797        20.297        .17432E-03   -1.5593    
   6  Prefactor     .12212E-08    85.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51514E-07    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.820        17.722        .16476E-03   -1.5587    
  10  Prefactor      .0000        4.7771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7092        22.157        .34170E-03   -1.5649    
  12  Prefactor     4.1948        4.2099        .49189E-03   -1.5667    
  13  Prefactor     .55511E-10    5.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6568        1.2481        .81933E-03   -1.5682    
  15  Prefactor     .49960E-08    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3881        2.8632        .54943E-03   -1.5671    
  17  norm          .18874E-08    6.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7921        10.156        .60781E-03   -1.5675    
  19  Prefactor     .43854E-08    120.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.179        14.118        .23467E-03   -1.5623    
  21  norm          .66613E-09    5.6356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1915        .48656        .10445E-02   -1.5686    
  23  Prefactor     .92464        4.9669        .44451E-03   -1.5689    
  24  Prefactor     18.775        13.981        .22979E-03   -1.5621    
  25  Normalizat    .88802        .96136E-01    .44748E-01   -.96882    
  26  Prefactor     1.0083        .98783E-01    .43604E-01   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99825e-07
Minuit parameter uncertainties:
  1  0.0015181
  2  0.00324516
  3  1.31253
  4  6.58651
  5  20.2967
  6  0.00064155
  7  0.00152501
  8  5.43672e-06
  9  17.7217
  10  2.18903e-05
  11  22.1569
  12  4.20994
  13  3.72764e-05
  14  1.24808
  15  0.000564164
  16  2.86316
  17  0.000223956
  18  10.1563
  19  0.00144977
  20  14.1177
  21  0.000125002
  22  0.486564
  23  4.28608
  24  13.9814
  25  0.0961549
  26  0.0988011
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1798 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49016E-07    10.450        .41243E-07** at limit **
   2  Prefactor     .43821E-06    104.19       -.62891E-06** at limit **
   3  Prefactor     .36794        1.2789        .77986E-07   -.28378E-03
   4  Prefactor     2.4210        6.3981        .44676E-07    .25985E-04
   5  Prefactor     32.797        5.5920       -.28085E-07   -.13070E-01
   6  Prefactor     .12212E-08    85.215       -.71240E-06** at limit **
   7  Prefactor     .51514E-07    10.002        .41305E-08** at limit **
   8  Prefactor      .0000        2.8286        .20160E-07** at limit **
   9  Prefactor     36.820        2.5069        .54146E-08    .15262E-01
  10  Prefactor      .0000        4.8185       -.10877E-06** at limit **
  11  Prefactor     8.7092        2.0687        .19632E-07   -.11659E-02
  12  Prefactor     4.1948        4.2080       -.12189E-07   -.27853E-04
  13  Prefactor     .55511E-10    5.9314       -.14935E-06** at limit **
  14  norm          1.6568        1.2487        .24113E-08    .16339E-03
  15  Prefactor     .49960E-08    15.823       -.69880E-07** at limit **
  16  Prefactor     3.3881        2.8556        .19852E-06   -.19075E-02
  17  norm          .18874E-08    6.7906       -.13081E-06** at limit **
  18  Prefactor     2.7921        10.126        .65581E-07   -.78544E-03
  19  Prefactor     .43854E-08    120.52       -.72073E-06** at limit **
  20  Prefactor     18.179        1.2891       -.11180E-08    .94727E-02
  21  norm          .66613E-09    5.6406       -.38221E-06** at limit **
  22  norm          1.1915        .45720        .16672E-07   -.96296E-03
  23  Prefactor     .92464        4.7091       -.43183E-07   -.39940E-02
  24  Prefactor     18.775        7.3188       -.18033E-08    .56521E-01
  25  Normalizat    .88802        .11244       -.82820E-06    .28884E-06
  26  Prefactor     1.0083        .11632        .64015E-06   -.23244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90163e-08
  Prefactor  = 4.38205e-07
  Prefactor  = 0.367936
  Prefactor  = 2.42095
  Prefactor  = 32.7972
  Prefactor  = 1.22125e-09
  Prefactor  = 5.15143e-08
  Prefactor  = 0
  Prefactor  = 36.8203
  Prefactor  = 0
  Prefactor  = 8.70917
  Prefactor  = 4.19481
  Prefactor  = 5.55112e-11
  norm       = 1.65675
  Prefactor  = 4.996e-09
  Prefactor  = 3.38811
  norm       = 1.88738e-09
  Prefactor  = 2.79209
  Prefactor  = 4.38538e-09
  Prefactor  = 18.1791
  norm       = 6.66134e-10
  norm       = 1.19153
  Prefactor  = 0.92464
  Prefactor  = 18.7755
  Normalizat = 0.888017
  Prefactor  = 1.00832
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.728e-05  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  9.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  9.615e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 1.56201598841e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00115269231608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27248838/likelihoodResults_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16368.6856576
delta logL = -0.0811850454411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16368.6044771
delta logL = -4.51718005934e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      195 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2846        .81560E-06** at limit **
   2  Index         2.0913        2.7728       -.49261E-04     .0000    
   3  Normalizat    .88802        .10720       -.39739E-05   -.25762E-04
   4  Prefactor     1.0083        .11447        .62837E-05    .24980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.0913
  Normalizat = 0.888017
  Prefactor  = 1.00832
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16368.60     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47609        1.8587       -.49261E-04   -.62087    
   3  Normalizat    .88802        1.2238       -.39739E-05   -.96882    
   4  Prefactor     1.0083        1.2697        .62837E-05   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93782e-12
Minuit parameter uncertainties:
  1  2.87691e-06
  2  1.67587
  3  1.2656
  4  1.31068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16368.6044725
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  2.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  2.091e+00  1.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/27248838/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2026-05-26 11:59:37.507998', job_id='27248838', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1779821977.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J1517.7+6525' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 11:59:37 PDT 2026

_V02
Working on...
/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits.....................!
real 50.66
user 49.02
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits', '/lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits', expMap='/lscratch/kocevski/27248977/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', expCube='/lscratch/kocevski/27248977/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27248977/Model_4FGL_J1517.7+6525_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27248977/ft1_filtered_4FGL_J1517.7+6525_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27248977/ft2_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27248977/expmap_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27248977/ltcube_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27248977/Model_4FGL_J1517.7+6525_weekly_bin929.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) = 16368.6322688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35211E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30418       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36647       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3978       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.917       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16522E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11800E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.845       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18584E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5939       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1934       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.6575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34265E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3881       1.0000          .0000       .10000E+07
    17 'norm      '    .23960E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7992       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46336E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.173       1.0000          .0000       .10000E+07
    21 'norm      '    .72660E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1893       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91906       1.0000          .0000       .10000E+07
    24 'Prefactor '    18.951       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.728e-05  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  9.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  9.615e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 1.56201598841e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00115269231608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27248866/likelihoodResults_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16368.6856576
delta logL = -0.0811850454411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16368.6044771
delta logL = -4.51718005934e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      195 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2846        .81560E-06** at limit **
   2  Index         2.0913        2.7728       -.49261E-04     .0000    
   3  Normalizat    .88802        .10720       -.39739E-05   -.25762E-04
   4  Prefactor     1.0083        .11447        .62837E-05    .24980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.0913
  Normalizat = 0.888017
  Prefactor  = 1.00832
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16368.60     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47609        1.8587       -.49261E-04   -.62087    
   3  Normalizat    .88802        1.2238       -.39739E-05   -.96882    
   4  Prefactor     1.0083        1.2697        .62837E-05   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93782e-12
Minuit parameter uncertainties:
  1  2.87691e-06
  2  1.67587
  3  1.2656
  4  1.31068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16368.6044725
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  2.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  2.091e+00  1.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/27248866/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2026-05-26 12:00:21.507392', job_id='27248866', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1779822021.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J1517.7+6525' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:00:21 PDT 2026

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

 FCN=   16368.60     FROM HESSE     STATUS=OK           516 CALLS     2314 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49016E-07    11.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43821E-06    6.0083        .16412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36794        1.3125        .93479E-03   -1.5696    
   4  Prefactor     2.4210        6.5865        .66103E-03   -1.5677    
   5  Prefactor     32.797        20.297        .17432E-03   -1.5593    
   6  Prefactor     .12212E-08    85.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51514E-07    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.820        17.722        .16476E-03   -1.5587    
  10  Prefactor      .0000        4.7771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7092        22.157        .34170E-03   -1.5649    
  12  Prefactor     4.1948        4.2099        .49189E-03   -1.5667    
  13  Prefactor     .55511E-10    5.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6568        1.2481        .81933E-03   -1.5682    
  15  Prefactor     .49960E-08    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3881        2.8632        .54943E-03   -1.5671    
  17  norm          .18874E-08    6.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7921        10.156        .60781E-03   -1.5675    
  19  Prefactor     .43854E-08    120.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.179        14.118        .23467E-03   -1.5623    
  21  norm          .66613E-09    5.6356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1915        .48656        .10445E-02   -1.5686    
  23  Prefactor     .92464        4.9669        .44451E-03   -1.5689    
  24  Prefactor     18.775        13.981        .22979E-03   -1.5621    
  25  Normalizat    .88802        .96136E-01    .44748E-01   -.96882    
  26  Prefactor     1.0083        .98783E-01    .43604E-01   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99825e-07
Minuit parameter uncertainties:
  1  0.0015181
  2  0.00324516
  3  1.31253
  4  6.58651
  5  20.2967
  6  0.00064155
  7  0.00152501
  8  5.43672e-06
  9  17.7217
  10  2.18903e-05
  11  22.1569
  12  4.20994
  13  3.72764e-05
  14  1.24808
  15  0.000564164
  16  2.86316
  17  0.000223956
  18  10.1563
  19  0.00144977
  20  14.1177
  21  0.000125002
  22  0.486564
  23  4.28608
  24  13.9814
  25  0.0961549
  26  0.0988011

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1798 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49016E-07    10.450        .41243E-07** at limit **
   2  Prefactor     .43821E-06    104.19       -.62891E-06** at limit **
   3  Prefactor     .36794        1.2789        .77986E-07   -.28378E-03
   4  Prefactor     2.4210        6.3981        .44676E-07    .25985E-04
   5  Prefactor     32.797        5.5920       -.28085E-07   -.13070E-01
   6  Prefactor     .12212E-08    85.215       -.71240E-06** at limit **
   7  Prefactor     .51514E-07    10.002        .41305E-08** at limit **
   8  Prefactor      .0000        2.8286        .20160E-07** at limit **
   9  Prefactor     36.820        2.5069        .54146E-08    .15262E-01
  10  Prefactor      .0000        4.8185       -.10877E-06** at limit **
  11  Prefactor     8.7092        2.0687        .19632E-07   -.11659E-02
  12  Prefactor     4.1948        4.2080       -.12189E-07   -.27853E-04
  13  Prefactor     .55511E-10    5.9314       -.14935E-06** at limit **
  14  norm          1.6568        1.2487        .24113E-08    .16339E-03
  15  Prefactor     .49960E-08    15.823       -.69880E-07** at limit **
  16  Prefactor     3.3881        2.8556        .19852E-06   -.19075E-02
  17  norm          .18874E-08    6.7906       -.13081E-06** at limit **
  18  Prefactor     2.7921        10.126        .65581E-07   -.78544E-03
  19  Prefactor     .43854E-08    120.52       -.72073E-06** at limit **
  20  Prefactor     18.179        1.2891       -.11180E-08    .94727E-02
  21  norm          .66613E-09    5.6406       -.38221E-06** at limit **
  22  norm          1.1915        .45720        .16672E-07   -.96296E-03
  23  Prefactor     .92464        4.7091       -.43183E-07   -.39940E-02
  24  Prefactor     18.775        7.3188       -.18033E-08    .56521E-01
  25  Normalizat    .88802        .11244       -.82820E-06    .28884E-06
  26  Prefactor     1.0083        .11632        .64015E-06   -.23244E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90163e-08
  Prefactor  = 4.38205e-07
  Prefactor  = 0.367936
  Prefactor  = 2.42095
  Prefactor  = 32.7972
  Prefactor  = 1.22125e-09
  Prefactor  = 5.15143e-08
  Prefactor  = 0
  Prefactor  = 36.8203
  Prefactor  = 0
  Prefactor  = 8.70917
  Prefactor  = 4.19481
  Prefactor  = 5.55112e-11
  norm       = 1.65675
  Prefactor  = 4.996e-09
  Prefactor  = 3.38811
  norm       = 1.88738e-09
  Prefactor  = 2.79209
  Prefactor  = 4.38538e-09
  Prefactor  = 18.1791
  norm       = 6.66134e-10
  norm       = 1.19153
  Prefactor  = 0.92464
  Prefactor  = 18.7755
  Normalizat = 0.888017
  Prefactor  = 1.00832
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.728e-05  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  9.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  9.615e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 1.56201598841e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00115269231608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27248895/likelihoodResults_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16368.6856576
delta logL = -0.0811850454411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16368.6044771
delta logL = -4.51718005934e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      195 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2846        .81560E-06** at limit **
   2  Index         2.0913        2.7728       -.49261E-04     .0000    
   3  Normalizat    .88802        .10720       -.39739E-05   -.25762E-04
   4  Prefactor     1.0083        .11447        .62837E-05    .24980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.0913
  Normalizat = 0.888017
  Prefactor  = 1.00832
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16368.60     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47609        1.8587       -.49261E-04   -.62087    
   3  Normalizat    .88802        1.2238       -.39739E-05   -.96882    
   4  Prefactor     1.0083        1.2697        .62837E-05   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93782e-12
Minuit parameter uncertainties:
  1  2.87691e-06
  2  1.67587
  3  1.2656
  4  1.31068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16368.6044725
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  2.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  2.091e+00  1.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/27248895/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2026-05-26 12:00:53.906031', job_id='27248895', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1779822053.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J1517.7+6525' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:00:54 PDT 2026

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

 FCN=   16368.60     FROM HESSE     STATUS=OK           516 CALLS     2314 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49016E-07    11.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43821E-06    6.0083        .16412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36794        1.3125        .93479E-03   -1.5696    
   4  Prefactor     2.4210        6.5865        .66103E-03   -1.5677    
   5  Prefactor     32.797        20.297        .17432E-03   -1.5593    
   6  Prefactor     .12212E-08    85.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51514E-07    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.820        17.722        .16476E-03   -1.5587    
  10  Prefactor      .0000        4.7771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7092        22.157        .34170E-03   -1.5649    
  12  Prefactor     4.1948        4.2099        .49189E-03   -1.5667    
  13  Prefactor     .55511E-10    5.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6568        1.2481        .81933E-03   -1.5682    
  15  Prefactor     .49960E-08    15.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3881        2.8632        .54943E-03   -1.5671    
  17  norm          .18874E-08    6.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7921        10.156        .60781E-03   -1.5675    
  19  Prefactor     .43854E-08    120.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.179        14.118        .23467E-03   -1.5623    
  21  norm          .66613E-09    5.6356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1915        .48656        .10445E-02   -1.5686    
  23  Prefactor     .92464        4.9669        .44451E-03   -1.5689    
  24  Prefactor     18.775        13.981        .22979E-03   -1.5621    
  25  Normalizat    .88802        .96136E-01    .44748E-01   -.96882    
  26  Prefactor     1.0083        .98783E-01    .43604E-01   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99825e-07
Minuit parameter uncertainties:
  1  0.0015181
  2  0.00324516
  3  1.31253
  4  6.58651
  5  20.2967
  6  0.00064155
  7  0.00152501
  8  5.43672e-06
  9  17.7217
  10  2.18903e-05
  11  22.1569
  12  4.20994
  13  3.72764e-05
  14  1.24808
  15  0.000564164
  16  2.86316
  17  0.000223956
  18  10.1563
  19  0.00144977
  20  14.1177
  21  0.000125002
  22  0.486564
  23  4.28608
  24  13.9814
  25  0.0961549
  26  0.0988011
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.728e-05  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  9.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  9.615e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 1.56201598841e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00115269231608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27248910/likelihoodResults_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16368.6856576
delta logL = -0.0811850454411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16368.6044771
delta logL = -4.51718005934e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      195 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2846        .81560E-06** at limit **
   2  Index         2.0913        2.7728       -.49261E-04     .0000    
   3  Normalizat    .88802        .10720       -.39739E-05   -.25762E-04
   4  Prefactor     1.0083        .11447        .62837E-05    .24980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.0913
  Normalizat = 0.888017
  Prefactor  = 1.00832
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16368.60     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47609        1.8587       -.49261E-04   -.62087    
   3  Normalizat    .88802        1.2238       -.39739E-05   -.96882    
   4  Prefactor     1.0083        1.2697        .62837E-05   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93782e-12
Minuit parameter uncertainties:
  1  2.87691e-06
  2  1.67587
  3  1.2656
  4  1.31068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16368.6044725
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  2.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  2.091e+00  1.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/27248910/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2026-05-26 12:02:07.415490', job_id='27248910', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1779822127.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J1517.7+6525' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:02:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.728e-05  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  9.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  9.615e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 1.56201598841e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00115269231608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27248977/likelihoodResults_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16368.6856576
delta logL = -0.0811850454411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16368.6044771
delta logL = -4.51718005934e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16368.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      195 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2846        .81560E-06** at limit **
   2  Index         2.0913        2.7728       -.49261E-04     .0000    
   3  Normalizat    .88802        .10720       -.39739E-05   -.25762E-04
   4  Prefactor     1.0083        .11447        .62837E-05    .24980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.0913
  Normalizat = 0.888017
  Prefactor  = 1.00832
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16368.60     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47609        1.8587       -.49261E-04   -.62087    
   3  Normalizat    .88802        1.2238       -.39739E-05   -.96882    
   4  Prefactor     1.0083        1.2697        .62837E-05   -.92453    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93782e-12
Minuit parameter uncertainties:
  1  2.87691e-06
  2  1.67587
  3  1.2656
  4  1.31068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16368.6044725
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  2.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  2.091e+00  1.676e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.008e+00  1.311e+00  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.880e-01  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/27248977/cmap_HighResolution_800841601_801446401_4FGL_J1517.7+6525_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-03', job_status='DONE', photon_flux_upper_limit='1.56e-08', time_completed='2026-05-26 12:03:08.796333', job_id='27248977', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1779822188.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='929' AND source_name='4FGL J1517.7+6525' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:03:08 PDT 2026

