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


Performing analysis on: 4FGL_J0418.2+3807_weekly_bin943
RA = 64.5633, Dec = 38.1219
tmin = 809308801, tmax = 809913601
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='36611281', job_status='RUN', time_executed='2026-09-01 03:28:05.854669', time_epoch_executed='1788258485.85' WHERE source_name='4FGL J0418.2+3807' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36611281

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36611281/ft1_4FGL_J0418.2+3807_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36611281/ft1_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611281/ft1_filteredMKT_4FGL_J0418.2+3807_weekly_bin943.fits ra=64.5633 dec=38.1219 rad=12.0 tmin=809308801.0 tmax=809913601.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 7.78
user 6.95
sys 0.33

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.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/36611281/ft1_filteredMKT_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.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.67
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 6788

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

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

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

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

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

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

 outfile=/lscratch/kocevski/36611248/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611248/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 17.26
user 16.38
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36611248/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611248/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36611248/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611248/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611248/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 66.11
user 61.20
sys 3.62

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
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 153 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0418.2+3807 @ 64.5633 38.1219

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36611248/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611248/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611248/cmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.70
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36611248/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611248/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611248/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.83
user 0. outfile=/lscratch/kocevski/36611241/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611241/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 20.33
user 19.34
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36611241/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611241/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36611241/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611241/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611241/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 76.12
user 70.93
sys 4.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 153 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0418.2+3807 @ 64.5633 38.1219

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36611241/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611241/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611241/cmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.74
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36611241/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611241/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611241/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0. outfile=/lscratch/kocevski/36611255/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611255/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 18.09
user 17.14
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36611255/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611255/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36611255/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611255/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611255/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 65.84
user 61.42
sys 3.69

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
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 153 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0418.2+3807 @ 64.5633 38.1219

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36611255/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611255/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611255/cmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.74
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36611255/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611255/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611255/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0418.2+3807_weekly_bin943
RA = 64.5633, Dec = 38.1219
tmin = 809308801, tmax = 809913601
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='36611328', job_status='RUN', time_executed='2026-09-01 03:29:41.757208', time_epoch_executed='1788258581.76' WHERE source_name='4FGL J0418.2+3807' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36611328

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36611328/ft1_4FGL_J0418.2+3807_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36611328/ft1_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611328/ft1_filteredMKT_4FGL_J0418.2+3807_weekly_bin943.fits ra=64.5633 dec=38.1219 rad=12.0 tmin=809308801.0 tmax=809913601.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 7.41
user 6.70
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.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/36611328/ft1_filteredMKT_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 6788

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36611281/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 20.42
user 19.61
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36611281/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611281/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611281/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 76.03
user 70.52
sys 4.43

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
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 153 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0418.2+3807 @ 64.5633 38.1219

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611281/cmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.95
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611281/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.78
user 0.number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0418.2+3807_weekly_bin943
RA = 64.5633, Dec = 38.1219
tmin = 809308801, tmax = 809913601
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='36611329', job_status='RUN', time_executed='2026-09-01 03:30:07.758077', time_epoch_executed='1788258607.76' WHERE source_name='4FGL J0418.2+3807' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36611329

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36611329/ft1_4FGL_J0418.2+3807_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36611329/ft1_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611329/ft1_filteredMKT_4FGL_J0418.2+3807_weekly_bin943.fits ra=64.5633 dec=38.1219 rad=12.0 tmin=809308801.0 tmax=809913601.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 7.30
user 6.61
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.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/36611329/ft1_filteredMKT_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 6788

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36611328/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 20.51
user 19.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36611328/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611328/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611328/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 68.83
user 63.99
sys 3.88

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
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 153 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0418.2+3807 @ 64.5633 38.1219

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611328/cmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611328/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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. outfile=/lscratch/kocevski/36611329/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 18.82
user 17.83
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36611329/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611329/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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/36611329/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
.....................!
real 72.79
user 67.78
sys 4.22

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
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 153 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0418.2+3807 @ 64.5633 38.1219

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611329/cmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 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.93
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits scfile=/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits outfile=/lscratch/kocevski/36611329/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.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=64.5633 yref=38.1219 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611248/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611248/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611248/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611248/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 602.92
user 596.84
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611248/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611248/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611248/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611248/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611248/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611248/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611248/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611248/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611248/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611248/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611255/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611255/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611255/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611255/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 601.81
user 596.38
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611255/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611255/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611255/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611255/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611255/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611255/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611255/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611255/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611255/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611255/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611154/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611154/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611154/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611154/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 708.29
user 698.38
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611154/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611154/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611154/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611154/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611154/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611154/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611154/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611154/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611154/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611154/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
27
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611192/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611192/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611192/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611192/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 664.83
user 658.84
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611192/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611192/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611192/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611192/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611192/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611192/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611192/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611192/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611192/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611192/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611199/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611199/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611199/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611199/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 677.77
user 669.94
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611199/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611199/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611199/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611199/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611199/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611199/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611199/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611199/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611199/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611199/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611241/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611241/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611241/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611241/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 647.84
user 643.15
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611241/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611241/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611241/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611241/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611241/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611241/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611241/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611241/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611241/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611241/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611153/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611153/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611153/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611153/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 740.63
user 729.44
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611153/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611153/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611153/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611153/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611153/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611153/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611153/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611153/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611153/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611153/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
24
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611281/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 650.70
user 644.97
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611281/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611281/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611281/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611281/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611281/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611281/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611281/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611281/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611328/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 600.43
user 593.41
sys 1.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611328/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611328/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611328/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611328/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611328/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611328/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611328/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611328/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611248/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611255/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611248/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:50:30.769176', job_id='36611248', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788259830.77', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:50:30 PDT 2026

25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36611329/Model_4FGL_J0418.2+3807_weekly_bin943.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits.....................!
real 649.73
user 643.02
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits', '/lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits', expMap='/lscratch/kocevski/36611329/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', expCube='/lscratch/kocevski/36611329/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36611329/Model_4FGL_J0418.2+3807_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.2+3807'

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  1.806e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36611329/ft1_filtered_4FGL_J0418.2+3807_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36611329/ft2_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36611329/expmap_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36611329/ltcube_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36611329/Model_4FGL_J0418.2+3807_weekly_bin943.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) = 65627.5472323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.091       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45617       1.0000          .0000       .10000E+07
     3 'norm      '    .14135       1.0000          .0000       .10000E+07
     4 'Prefactor '    156.56       1.0000          .0000       .10000E+07
     5 'norm      '    .17831E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4907       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8156       1.0000          .0000       .10000E+07
     8 'norm      '    .13409E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .18796E-06   1.0000          .0000       .10000E+07
    10 'norm      '    15.470       1.0000          .0000       .10000E+07
    11 'norm      '    .50016E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.5485       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65627.49     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1013 TOTAL
                     EDM=   .46E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.090        .72979       -.10753E-07    .55959E-03
   2  Prefactor     .45578        .80571        .12838E-07   -.10608E-05
   3  norm          .14233        1.5263       -.38310E-07** at limit **
   4  Prefactor     158.83        49.347        .34953E-08    .99039E-05
   5  norm           .0000        6.8388       -.47287E-07** at limit **
   6  Prefactor     2.4914        1.7934       -.15627E-07    .50672E-04
   7  Prefactor     4.8045        3.5508       -.67088E-08    .39076E-04
   8  norm           .0000        2.8543       -.20014E-07** at limit **
   9  norm           .0000        3.4838        .23361E-07** at limit **
  10  norm          15.723        31.827       -.95077E-07    .16423E-04
  11  norm           .0000        1.3207       -.60120E-07** at limit **
  12  Prefactor     1.9406        9.3390       -.42960E-06   -.12695E-03
  13  Normalizat    1.5471        .18813        .80305E-06    .35010E-05
  14  Prefactor     .95753        .24475E-01   -.12024E-06   -.23133E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0901
  Prefactor  = 0.455783
  norm       = 0.142333
  Prefactor  = 158.828
  norm       = 0
  Prefactor  = 2.49144
  Prefactor  = 4.80452
  norm       = 0
  norm       = 0
  norm       = 15.7225
  norm       = 0
  Prefactor  = 1.94058
  Normalizat = 1.54711
  Prefactor  = 0.957533
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611255/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:50:37.771228', job_id='36611255', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788259837.77', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:50:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611154/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611192/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611154/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:51:21.308938', job_id='36611154', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788259881.31', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:51:21 PDT 2026

Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611192/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:51:21.407755', job_id='36611192', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788259881.41', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:51:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611199/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.49     FROM HESSE     STATUS=OK           204 CALLS     1217 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.090        .72932        .31518E-03   -1.5644    
   2  Prefactor     .45578        .80967        .83247E-03   -1.5694    
   3  norm          .14233        .32324        .66530E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     158.83        49.242        .79929E-04   -1.5456    
   5  norm           .0000        6.8206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4914        1.7949        .64740E-03   -1.5676    
   7  Prefactor     4.8045        3.5446        .45820E-03   -1.5664    
   8  norm           .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.4801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.723        31.908        .25438E-03   -1.5629    
  11  norm           .0000        1.3110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9406        9.2745        .74305E-03   -1.5680    
  13  Normalizat    1.5471        .18006        .17234       -.76463    
  14  Prefactor     .95753        .23038E-01    .28354E-01   -.94159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43846e-07
Minuit parameter uncertainties:
  1  0.729316
  2  0.809669
  3  0.323241
  4  49.2422
  5  1.32023e-06
  6  1.79486
  7  3.54456
  8  1.13584e-06
  9  8.39675e-07
  10  31.9087
  11  2.43849e-08
  12  8.48483
  13  0.180133
  14  0.0230384
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611199/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:51:40.526515', job_id='36611199', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788259900.53', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:51:40 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611241/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611241/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:52:13.973986', job_id='36611241', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788259933.97', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:52:14 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611328/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611328/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:53:11.116643', job_id='36611328', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788259991.12', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:53:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611281/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611281/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:53:29.563160', job_id='36611281', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788260009.56', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:53:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611153/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611153/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:53:46.958423', job_id='36611153', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788260026.96', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:53:47 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  0.000e+00  1.136e-06  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.612e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.575e-01  2.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.547e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 64.563 38.122
Photon Flux Upper Limit: 8.02080690726e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/36611329/likelihoodResults_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65627.4919676
delta logL = -0.000528898177436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65627.4736403
delta logL = 0.017798372588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41246E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   65627.47     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      362 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41305E-01    .76031        .11528E-03** at limit **
   2  alpha         5.0000        4.9334        .50000    ** at limit **
   3  Normalizat    1.5371        .19069        .76886E-03   -.50936E-03
   4  Prefactor     .95811        .24434E-01    .12527E-03    .31123E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0413054
  alpha      = 5
  Normalizat = 1.53709
  Prefactor  = 0.958111
 **********
 **   18 **HESSE 
 **********

 FCN=   65627.47     FROM HESSE     STATUS=OK            31 CALLS      393 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41305E-01    .32651        .46113E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5488        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5371        .18861        .30754E-04   -.76741    
   4  Prefactor     .95811        .24409E-01    .25054E-04   -.94139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99511e-09
Minuit parameter uncertainties:
  1  0.232263
  2  0.00143783
  3  0.188698
  4  0.0244091
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) = 65627.4736399
delta logL = 0.0177988456417

Extracting fit parameters...

4FGL J0418.2+3807
   Spectrum: LogParabola
279         norm:  4.131e-02  2.323e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  5.000e+00  1.438e-03  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.499e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.029e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  2.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.537e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 64.563 38.122

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/36611329/cmap_HighResolution_809308801_809913601_4FGL_J0418.2+3807_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='8.02e-08', time_completed='2026-09-01 03:55:10.397794', job_id='36611329', GAL2='0.96', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1788260110.4', return_code2='0', ts='0.00', return_code='0', GAL='0.96', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='943' AND source_name='4FGL J0418.2+3807' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 03:55:10 PDT 2026

