number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166420', job_status='RUN', time_executed='2026-06-09 11:28:45.084574', time_epoch_executed='1781029725.08' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166420

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166420/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166420/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166420/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.88
user 4.76
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166420/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA"
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 = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166430', job_status='RUN', time_executed='2026-06-09 11:29:23.794946', time_epoch_executed='1781029763.79' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166430

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166430/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166430/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166430/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.50
user 4.66
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166430/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166427', job_status='RUN', time_executed='2026-06-09 11:29:23.688349', time_epoch_executed='1781029763.69' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166427

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166427/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166427/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166427/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.41
user 4.68
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166427/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.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.89
user 0.21
sys 0.15

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166435', job_status='RUN', time_executed='2026-06-09 11:29:45.681618', time_epoch_executed='1781029785.68' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166435

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166435/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166435/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166435/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.95
user 4.74
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166435/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28166402/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166402/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 17.76
user 16.91
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166402/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166402/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166402/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166402/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166402/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 68.11
user 63.13
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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166402/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166402/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166402/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.07
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166402/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166402/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166402/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.13
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166402/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166402/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166402/Model_4FGL_J1417.9+4613_weekly_bin931.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 sourcnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166454', job_status='RUN', time_executed='2026-06-09 11:30:24.502323', time_epoch_executed='1781029824.5' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166454

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166454/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166454/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166454/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.05
user 4.78
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166454/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.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.87
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/28166420/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 19.51
user 18.08
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166420/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166420/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166420/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 70.47
user 65.45
sys 4.04

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166420/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166420/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.86
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166420/Model_4FGL_J1417.9+4613_weekly_bin931.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 sourcnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166456', job_status='RUN', time_executed='2026-06-09 11:30:25.776498', time_epoch_executed='1781029825.78' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166456

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166456/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166456/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166456/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.56
user 4.56
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166456/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28166430/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 18.72
user 17.65
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166430/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166430/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166430/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 69.57
user 64.20
sys 4.08

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166430/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166430/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 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.80
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166430/Model_4FGL_J1417.9+4613_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/28166427/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 18.81
user 17.57
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166427/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166427/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166427/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 67.19
user 62.32
sys 3.83

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166427/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 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.73
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166427/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 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.79
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166427/Model_4FGL_J1417.9+4613_weekly_bin931.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 sourcnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166499', job_status='RUN', time_executed='2026-06-09 11:31:24.612943', time_epoch_executed='1781029884.61' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166499

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166499/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166499/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166499/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.17
user 4.21
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166499/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.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.79
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
 outfile=/lscratch/kocevski/28166435/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 18.58
user 17.85
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166435/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166435/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166435/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 70.77
user 65.74
sys 4.09

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166435/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 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.88
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166435/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 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.84
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166435/Model_4FGL_J1417.9+4613_weekly_bin931.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 sourcDone.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166514', job_status='RUN', time_executed='2026-06-09 11:31:45.334547', time_epoch_executed='1781029905.33' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166514

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166514/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166514/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166514/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.62
user 4.21
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166514/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.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.86
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166513', job_status='RUN', time_executed='2026-06-09 11:31:45.337137', time_epoch_executed='1781029905.34' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166513

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166513/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166513/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166513/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.62
user 4.72
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166513/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA"outfile=/lscratch/kocevski/28166454/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 18.97
user 17.90
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166454/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166454/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166454/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 70.53
user 65.58
sys 4.14

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166454/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.86
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166454/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166454/Model_4FGL_J1417.9+4613_weekly_bin931.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 sourcee GAL_V02
Working on...
/lscratch/kocevski/28166402/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 42.69
user 40.63
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166402/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166402/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166402/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166402/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166402/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166402/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166402/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166402/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166402/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166402/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000          .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
 outfile=/lscratch/kocevski/28166499/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 16.63
user 15.54
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166499/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166499/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166499/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 62.04
user 57.29
sys 3.71

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166499/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166499/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.16
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166499/Model_4FGL_J1417.9+4613_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/28166456/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 18.59
user 17.24
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166456/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166456/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166456/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 67.96
user 62.57
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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166456/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.07
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166456/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 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.97
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166456/Model_4FGL_J1417.9+4613_weekly_bin931.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 sourcnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
 outfile=/lscratch/kocevski/28166514/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 16.64
user 15.80
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166514/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166514/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166514/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 62.75
user 57.74
sys 3.72

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166514/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166514/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.15
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166514/Model_4FGL_J1417.9+4613_weekly_bin931.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 sourcDone.


Performing analysis on: 4FGL_J1417.9+4613_weekly_bin931
RA = 214.482, Dec = 46.2327
tmin = 802051201, tmax = 802656001
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='28166552', job_status='RUN', time_executed='2026-06-09 11:33:24.263447', time_epoch_executed='1781030004.26' WHERE source_name='4FGL J1417.9+4613' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28166552

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28166552/ft1_4FGL_J1417.9+4613_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28166552/ft1_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166552/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits ra=214.482 dec=46.2327 rad=12.0 tmin=802051201.0 tmax=802656001.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.06
user 4.15
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.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/28166552/ft1_filteredMKT_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.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.96
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1387

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28166513/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 19.26
user 18.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166513/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166513/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166513/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 71.26
user 65.72
sys 4.19

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166513/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166513/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 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.84
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166513/Model_4FGL_J1417.9+4613_weekly_bin931.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/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 42.60
user 40.45
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166420/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166420/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166420/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166420/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166420/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166420/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166420/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166420/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000         **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
  .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
e GAL_V02
Working on...
/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 40.85
user 39.09
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166427/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166427/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166427/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166427/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166427/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166427/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166427/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166427/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000        e GAL_V02
Working on...
/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 41.75
user 39.70
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166430/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166430/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166430/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166430/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166430/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166430/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166430/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166430/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000          .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
  .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
e GAL_V02
Working on...
/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 43.20
user 40.82
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166435/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166435/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166435/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166435/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166435/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166435/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166435/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166435/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000          .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
 outfile=/lscratch/kocevski/28166552/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 16.54
user 15.53
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28166552/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166552/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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/28166552/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
.....................!
real 61.12
user 56.31
sys 3.59

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166552/cmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits scfile=/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits outfile=/lscratch/kocevski/28166552/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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=214.482 yref=46.2327 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.22
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28166552/Model_4FGL_J1417.9+4613_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
 GAL_V02
Working on...
/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 42.83
user 40.98
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166454/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166454/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166454/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166454/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166454/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166454/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166454/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166454/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000          **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
 **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
 .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
e GAL_V02
Working on...
/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 38.01
user 35.95
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166499/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166499/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166499/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166499/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166499/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166499/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166499/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166499/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000        Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166402/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166402/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:41:26.401739', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030486.4', return_code='0', job_id='28166402', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:41:26 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 42.18
user 39.31
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166456/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166456/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166456/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166456/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166456/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166456/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166456/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166456/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000          .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
e GAL_V02
Working on...
/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 39.04
user 36.91
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166514/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166514/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166514/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166514/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166514/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166514/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166514/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166514/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000         **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
  .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
  .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
e GAL_V02
Working on...
/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 43.24
user 40.71
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166513/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166513/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166513/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166513/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166513/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166513/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166513/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166513/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000         **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
 **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166420/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
  .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166420/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:42:53.176447', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030573.18', return_code='0', job_id='28166420', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:42:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166430/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND E **********
 **   18 **HESSE 
 **********

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166427/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
RROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166430/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:43:11.997039', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030592.0', return_code='0', job_id='28166430', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:43:12 PDT 2026

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

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166427/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:43:14.260248', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030594.26', return_code='0', job_id='28166427', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:43:14 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits.....................!
real 37.64
user 35.58
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits', '/lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits', expMap='/lscratch/kocevski/28166552/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', expCube='/lscratch/kocevski/28166552/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28166552/Model_4FGL_J1417.9+4613_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28166552/ft1_filtered_4FGL_J1417.9+4613_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28166552/ft2_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28166552/expmap_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28166552/ltcube_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28166552/Model_4FGL_J1417.9+4613_weekly_bin931.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) = 14731.7638293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5854       1.0000          .0000       .10000E+07
     2 'Prefactor '    84.910       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.971       1.0000          .0000       .10000E+07
     4 'norm      '    2.7355       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5822       1.0000          .0000       .10000E+07
     6 'norm      '    .51345       1.0000          .0000       .10000E+07
     7 'norm      '    .19014E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .65717E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    60.675       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62755E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.922       1.0000          .0000       .10000E+07
    13 'norm      '    15.784       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9294       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.195       1.0000          .0000       .10000E+07
    17 'norm      '    6.3213       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.909       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.897       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16447E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .40676E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-04   1.0000          .0000       .10000E+07
    23 'norm      '    4.4168       1.0000          .0000       .10000E+07
    24 'norm      '    3.0037       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22660E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14116E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    1.1461       1.0000        Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166435/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166435/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:43:58.461533', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030638.46', return_code='0', job_id='28166435', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:43:58 PDT 2026

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

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
  .0000       .10000E+07
    28 'norm      '    .57501E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .45604E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .84111E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    .35904E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14729.24     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1925 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5816        1.9169       -.14014E-07    .14857E-02
   2  Prefactor     85.545        10.002       -.20210E-06    .25584E-01
   3  Prefactor     25.303        10.875       -.68310E-06    .20222E-01
   4  norm          2.7389        2.1096       -.14741E-07    .88747E-02
   5  Prefactor     7.5616        2.3086       -.17069E-06    .27744E-02
   6  norm          .51434        .55584        .33200E-07   -.86440E-02
   7  norm          .11102E-09    1.0183       -.10353E-07** at limit **
   8  norm          .10547E-08    2.5128       -.11048E-05** at limit **
   9  Prefactor     60.246        4.6453        .11400E-06   -.14902E-01
  10  Prefactor     45.229        12.002        .46218E-06   -.43871E-01
  11  Prefactor     .55511E-10    2.3632       -.12313E-06** at limit **
  12  Prefactor     13.056        11.297        .75818E-06    .90299E-02
  13  norm          15.735        4.6601       -.11136E-07    .96590E-02
  14  Prefactor     21.831        8.3863       -.22512E-06   -.11162E-01
  15  Prefactor     2.9257        1.7678       -.23472E-07   -.79366E-02
  16  Prefactor     26.646        8.1441        .17666E-06    .15810E-01
  17  norm          6.3460        7.2985        .84587E-07    .13983E-02
  18  Prefactor     21.230        4.1060        .20015E-06    .68604E-02
  19  Prefactor     16.281        5.0213        .20218E-06   -.95595E-02
  20  Prefactor     .14877E-07    7.3746       -.58636E-06** at limit **
  21  norm          .22204E-09    6.5172        .12530E-06** at limit **
  22  Prefactor      .0000        2.5249        .10525E-05** at limit **
  23  norm          4.4155        3.7438       -.89354E-08    .86550E-03
  24  norm          3.0026        .99813       -.19897E-08   -.82293E-02
  25  Prefactor     .13545E-06    28.735        .11640E-05** at limit **
  26  Prefactor     .27756E-09    1.6463       -.81981E-07** at limit **
  27  Prefactor     1.1465        2.4045        .57343E-07   -.37968E-02
  28  norm          .31086E-07    8.6419        .14952E-05** at limit **
  29  Prefactor     .22526E-06    2.4227        .38588E-06** at limit **
  30  Prefactor     .10159E-07    57.461       -.48352E-06** at limit **
  31  Prefactor     .14433E-08    10.663        .11077E-05** at limit **
  32  Normalizat    1.1155        .13058       -.56802E-06   -.67213E-03
  33  Prefactor     .84750        .14798       -.29843E-06   -.40611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58163
  Prefactor  = 85.5447
  Prefactor  = 25.3035
  norm       = 2.73887
  Prefactor  = 7.5616
  norm       = 0.514336
  norm       = 1.11022e-10
  norm       = 1.05471e-09
  Prefactor  = 60.2456
  Prefactor  = 45.2294
  Prefactor  = 5.55112e-11
  Prefactor  = 13.0558
  norm       = 15.7351
  Prefactor  = 21.831
  Prefactor  = 2.92572
  Prefactor  = 26.6457
  norm       = 6.34602
  Prefactor  = 21.2302
  Prefactor  = 16.2814
  Prefactor  = 1.4877e-08
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.4155
  norm       = 3.00264
  Prefactor  = 1.35447e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 1.1465
  norm       = 3.10862e-08
  Prefactor  = 2.25264e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 1.44329e-09
  Normalizat = 1.11548
  Prefactor  = 0.847504
Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166499/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166499/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:44:30.513527', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030670.51', return_code='0', job_id='28166499', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:44:30 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166454/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166454/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:44:40.971070', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030680.97', return_code='0', job_id='28166454', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:44:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166456/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166514/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND Eshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166456/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:45:04.123418', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030704.12', return_code='0', job_id='28166456', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:45:04 PDT 2026

RROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166514/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:45:10.151984', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030710.15', return_code='0', job_id='28166514', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:45:10 PDT 2026

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

 FCN=   14729.24     FROM HESSE     STATUS=OK           777 CALLS     2702 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5816        1.9633        .84282E-03   -1.5683    
   2  Prefactor     85.545        31.647        .10853E-03   -1.5523    
   3  Prefactor     25.303        25.183        .19627E-03   -1.5607    
   4  norm          2.7389        2.1304        .61536E-03   -1.5675    
   5  Prefactor     7.5616        36.691        .36396E-03   -1.5653    
   6  norm          .51434        .55722        .77367E-04   -1.5694    
   7  norm          .11102E-09    1.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10547E-08    2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.246        34.015        .12839E-03   -1.5553    
  10  Prefactor     45.229        28.158        .14736E-03   -1.5573    
  11  Prefactor     .55511E-10    2.3617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.056        11.467        .27840E-03   -1.5636    
  13  norm          15.735        4.6860        .25183E-03   -1.5629    
  14  Prefactor     21.831        13.203        .21361E-03   -1.5615    
  15  Prefactor     2.9257        1.9282        .59324E-03   -1.5674    
  16  Prefactor     26.646        14.939        .19542E-03   -1.5605    
  17  norm          6.3460        7.3265        .39900E-03   -1.5658    
  18  Prefactor     21.230        19.754        .21876E-03   -1.5616    
  19  Prefactor     16.281        23.598        .25093E-03   -1.5627    
  20  Prefactor     .14877E-07    7.8748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    6.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4155        3.7437        .47895E-03   -1.5666    
  24  norm          3.0026        .99964        .58541E-04   -1.5673    
  25  Prefactor     .13545E-06    2.1188        .65168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    1.6588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1465        2.4411        .10827E-02   -1.5687    
  28  norm          .31086E-07    .77738        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22526E-06    10.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10159E-07    61.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .14433E-08    11.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1155        .11649        .37393E-01   -.89256    
  33  Prefactor     .84750        .12837        .68406E-01   -.98000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81926e-08
Minuit parameter uncertainties:
  1  1.96326
  2  31.6467
  3  25.1831
  4  2.1304
  5  33.3135
  6  0.557221
  7  1.85188e-05
  8  0.000102086
  9  34.0147
  10  28.1583
  11  2.12709e-05
  12  11.4669
  13  4.68602
  14  13.2032
  15  1.92821
  16  14.9387
  17  7.32649
  18  19.754
  19  23.5982
  20  0.000684231
  21  7.1296e-05
  22  8.94116e-06
  23  3.74365
  24  0.99964
  25  0.00107135
  26  4.18662e-05
  27  2.44107
  28  0.000310926
  29  0.0031396
  30  0.001583
  31  0.000260874
  32  0.116522
  33  0.128418
Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166513/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166513/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:46:14.193813', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030774.19', return_code='0', job_id='28166513', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:46:14 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.306e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.475e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.115e+00  1.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Index (Fixed Index): 2.97 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.30e-06 +/- 4.66e-06

TS (Fixed Index): 1.69
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 7.17423330918e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00573090855776 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28166552/likelihoodResults_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.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) = 14728.6097552
delta logL = 0.629701796368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077655
delta logL = 0.63169156699

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14728.61     FROM MIGRAD    STATUS=FAILED       103 CALLS      297 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        13.008        .70118E-04    .30798E-02
   2  Index         4.1270        1.5834        .11402E-01    .56141E-03
   3  Normalizat    1.0909        .12827        .22949E-03   -.10304E-04
   4  Prefactor     .86753        .14829        .29950E-03   -.10780E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14728.61     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      380 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        13.008        .15585E-04   -1.5651    
   2  Index         4.1270        1.5834        .80348E-03   -.17550    
   3  Normalizat    1.0909        .12827        .17779E-03   -.90045    
   4  Prefactor     .86753        .14829        .16383E-03   -.97285    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14728.61     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1628        9.9370        .14024E-04    .11544E-03
   2  Index         4.1270        1.2178        .22804E-02    .22305E-04
   3  Normalizat    1.0909        .12848        .91796E-05   -.10403E-04
   4  Prefactor     .86753        .14842        .11980E-04   -.11008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16284
  Index      = 4.127
  Normalizat = 1.0909
  Prefactor  = 0.867532
 **********
 **   18 **HESSE 
 **********

 FCN=   14728.61     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .98E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1628        9.5758        .28047E-05   -1.5651    
   2  Index         4.1270        1.1742        .45608E-03   -.17550    
   3  Normalizat    1.0909        .12870        .18359E-05   -.90045    
   4  Prefactor     .86753        .14867        .23960E-05   -.97285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8399e-14
Minuit parameter uncertainties:
  1  9.57587
  2  1.18564
  3  0.128741
  4  0.148738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14728.6077596
delta logL = 0.631697432353

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  8.163e+00  9.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
311        Index:  4.127e+00  1.186e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.675e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.091e+00  1.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 214.482 46.233
Photon Index (Free Index): 4.13 +/- 1.19
Photon Flux (Free Index): 4.32e-08 +/- 2.91e-08
Energy Flux (Free Index): 6.34e-06 +/- 4.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28166552/cmap_HighResolution_802051201_802656001_4FGL_J1417.9+4613_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='6.34e-06', photon_flux_error='2.30e-08', dlogl='6.32e-01', energy_flux='5.30e-06', photon_flux2='4.32e-08', job_status='DONE', time_completed='2026-06-09 11:47:14.757506', photon_index_error2='1.19', photon_index2='4.13', ts='1.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.17e-08', energy_flux_error2='4.23e-06', EG='1.12', time_epoch_completed='1781030834.76', return_code='0', job_id='28166552', GAL2='0.87', EG2='1.09', return_code2='0', energy_flux_error='4.66e-06', photon_flux_error2='2.91e-08', ts2='3.03', photon_index='2.97' WHERE bin_id='931' AND source_name='4FGL J1417.9+4613' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 11:47:15 PDT 2026

