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


Performing analysis on: 4FGL_J0420.0+0805_weekly_bin928
RA = 65.0086, Dec = 8.0999
tmin = 800236801, tmax = 800841601
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='26848664', job_status='RUN', time_executed='2026-05-19 03:24:19.221099', time_epoch_executed='1779186259.22' WHERE source_name='4FGL J0420.0+0805' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848664

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848664/ft1_4FGL_J0420.0+0805_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848664/ft1_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848664/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits ra=65.0086 dec=8.0999 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.11
user 4.23
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.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/26848664/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1988

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

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

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

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

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

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

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


Performing analysis on: 4FGL_J0420.0+0805_weekly_bin928
RA = 65.0086, Dec = 8.0999
tmin = 800236801, tmax = 800841601
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='26848690', job_status='RUN', time_executed='2026-05-19 03:25:17.812883', time_epoch_executed='1779186317.81' WHERE source_name='4FGL J0420.0+0805' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848690

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848690/ft1_4FGL_J0420.0+0805_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848690/ft1_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848690/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits ra=65.0086 dec=8.0999 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.38
user 4.70
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.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/26848690/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.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.74
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1988

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0420.0+0805_weekly_bin928
RA = 65.0086, Dec = 8.0999
tmin = 800236801, tmax = 800841601
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='26848781', job_status='RUN', time_executed='2026-05-19 03:27:21.657930', time_epoch_executed='1779186441.66' WHERE source_name='4FGL J0420.0+0805' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848781

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848781/ft1_4FGL_J0420.0+0805_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848781/ft1_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848781/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits ra=65.0086 dec=8.0999 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.86
user 4.83
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.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/26848781/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.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.23
sys 0.13

Number of photons that the gtmktime cut: 1988

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0420.0+0805_weekly_bin928
RA = 65.0086, Dec = 8.0999
tmin = 800236801, tmax = 800841601
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='26848780', job_status='RUN', time_executed='2026-05-19 03:27:21.711365', time_epoch_executed='1779186441.71' WHERE source_name='4FGL J0420.0+0805' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848780

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848780/ft1_4FGL_J0420.0+0805_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848780/ft1_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848780/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits ra=65.0086 dec=8.0999 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.86
user 4.86
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.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/26848780/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.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.83
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1988

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
utfile=/lscratch/kocevski/26848664/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 18.73
user 17.70
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848664/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848664/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848664/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 75.71
user 70.45
sys 4.02

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

Setting source of interest to:
4FGL J0420.0+0805 @ 65.0086 8.0999

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848664/cmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848664/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848664/Model_4FGL_J0420.0+0805_weekly_bin928.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 GALDone.


Performing analysis on: 4FGL_J0420.0+0805_weekly_bin928
RA = 65.0086, Dec = 8.0999
tmin = 800236801, tmax = 800841601
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='26848825', job_status='RUN', time_executed='2026-05-19 03:28:18.869098', time_epoch_executed='1779186498.87' WHERE source_name='4FGL J0420.0+0805' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848825

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848825/ft1_4FGL_J0420.0+0805_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848825/ft1_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848825/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits ra=65.0086 dec=8.0999 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.05
user 5.20
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.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/26848825/ft1_filteredMKT_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1988

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26848690/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 19.19
user 18.45
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848690/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848690/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848690/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 70.67
user 65.85
sys 4.04

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

Setting source of interest to:
4FGL J0420.0+0805 @ 65.0086 8.0999

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848690/cmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 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.89
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848690/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 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.75
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848690/Model_4FGL_J0420.0+0805_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALutfile=/lscratch/kocevski/26848781/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 19.42
user 18.59
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848781/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848781/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848781/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 76.57
user 71.24
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
Added 144 point sources and 0 extended sources

Setting source of interest to:
4FGL J0420.0+0805 @ 65.0086 8.0999

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848781/cmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.86
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848781/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 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.87
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848781/Model_4FGL_J0420.0+0805_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALutfile=/lscratch/kocevski/26848780/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 19.52
user 18.69
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848780/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848780/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848780/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 76.62
user 71.11
sys 4.44

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

Setting source of interest to:
4FGL J0420.0+0805 @ 65.0086 8.0999

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848780/cmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.36
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848780/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.01
user 0.34
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848780/Model_4FGL_J0420.0+0805_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits.....................!
real 136.77
user 133.89
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits', '/lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits', expMap='/lscratch/kocevski/26848664/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', expCube='/lscratch/kocevski/26848664/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848664/Model_4FGL_J0420.0+0805_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0420.0+0805'

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  2.735e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848664/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848664/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848664/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848664/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848664/Model_4FGL_J0420.0+0805_weekly_bin928.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) = 22037.8283448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0668       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.606       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20131E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.521       1.0000          .0000       .10000E+07
     5 'norm      '    1.2829       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12135E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .87349       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3817       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55507E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35962E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57433E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .16328E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    21.090       1.0000          .0000       .10000E+07
    14 'norm      '    5.3427       1.0000          .0000       .10000E+07
    15 'norm      '    7.4578       1.0000          .0000       .10000E+07
    16 'Prefactor '    55.207       1.0000          .0000       .10000E+07
    17 'Prefactor '    53.878       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.138       1.0000          .0000       .10000E+07
    19 'norm      '    .88432E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3939       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1678 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0782        4.2434       -.14867E-07   -.36017E-03
   2  Prefactor     25.221        38.315       -.75088E-06    .30192E-02
   3  Prefactor     .55511E-10    4.1977       -.36082E-06** at limit **
   4  Prefactor     13.516        6.9655       -.38485E-06   -.10260    
   5  norm          1.2848        3.1820        .33827E-07   -.33775E-04
   6  Prefactor     .55511E-10    8.2568        .24459E-06** at limit **
   7  norm          .87362        .67120        .33860E-07    .10690E-02
   8  Prefactor     1.3824        1.0567       -.10820E-06   -.21052E-03
   9  Prefactor     .23037E-07    11.460       -.18836E-06** at limit **
  10  Prefactor     .17786E-06    15.588       -.10420E-05** at limit **
  11  Prefactor     .20262E-06    13.319       -.97747E-07** at limit **
  12  norm           .0000        1.7191        .14485E-07** at limit **
  13  Prefactor     21.315        2.5965       -.59648E-07   -.32580E-02
  14  norm          5.3462        2.0037       -.28097E-06    .33801E-03
  15  norm          7.4572        2.1528       -.29605E-07    .19907E-02
  16  Prefactor     55.160        16.264        .21534E-06   -.44986E-01
  17  Prefactor     53.009        17.129        .49196E-06   -.31140E-01
  18  Prefactor     10.354        8.0094        .28456E-06   -.30278E-03
  19  norm          .90014E-01    .27191       -.20988E-06** at limit **
  20  Normalizat    1.3940        .22088       -.13936E-05    .37812E-04
  21  Prefactor     1.0014        .56501E-01    .83574E-06    .13450E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07817
  Prefactor  = 25.221
  Prefactor  = 5.55112e-11
  Prefactor  = 13.5159
  norm       = 1.28485
  Prefactor  = 5.55112e-11
  norm       = 0.873617
  Prefactor  = 1.38236
  Prefactor  = 2.30371e-08
  Prefactor  = 1.77858e-07
  Prefactor  = 2.02616e-07
  norm       = 0
  Prefactor  = 21.3152
  norm       = 5.34623
  norm       = 7.45722
  Prefactor  = 55.1604
  Prefactor  = 53.0093
  Prefactor  = 10.3542
  norm       = 0.0900136
  Normalizat = 1.39399
  Prefactor  = 1.00145
_V02
Working on...
/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits.....................!
real 130.07
user 127.77
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits', '/lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits', expMap='/lscratch/kocevski/26848690/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', expCube='/lscratch/kocevski/26848690/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848690/Model_4FGL_J0420.0+0805_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0420.0+0805'

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  2.735e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848690/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848690/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848690/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848690/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848690/Model_4FGL_J0420.0+0805_weekly_bin928.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) = 22037.8283448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0668       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.606       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20131E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.521       1.0000          .0000       .10000E+07
     5 'norm      '    1.2829       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12135E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .87349       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3817       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55507E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35962E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57433E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .16328E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    21.090       1.0000          .0000       .10000E+07
    14 'norm      '    5.3427       1.0000          .0000       .10000E+07
    15 'norm      '    7.4578       1.0000          .0000       .10000E+07
    16 'Prefactor '    55.207       1.0000          .0000       .10000E+07
    17 'Prefactor '    53.878       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.138       1.0000          .0000       .10000E+07
    19 'norm      '    .88432E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3939       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1678 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0782        4.2434       -.14867E-07   -.36017E-03
   2  Prefactor     25.221        38.315       -.75088E-06    .30192E-02
   3  Prefactor     .55511E-10    4.1977       -.36082E-06** at limit **
   4  Prefactor     13.516        6.9655       -.38485E-06   -.10260    
   5  norm          1.2848        3.1820        .33827E-07   -.33775E-04
   6  Prefactor     .55511E-10    8.2568        .24459E-06** at limit **
   7  norm          .87362        .67120        .33860E-07    .10690E-02
   8  Prefactor     1.3824        1.0567       -.10820E-06   -.21052E-03
   9  Prefactor     .23037E-07    11.460       -.18836E-06** at limit **
  10  Prefactor     .17786E-06    15.588       -.10420E-05** at limit **
  11  Prefactor     .20262E-06    13.319       -.97747E-07** at limit **
  12  norm           .0000        1.7191        .14485E-07** at limit **
  13  Prefactor     21.315        2.5965       -.59648E-07   -.32580E-02
  14  norm          5.3462        2.0037       -.28097E-06    .33801E-03
  15  norm          7.4572        2.1528       -.29605E-07    .19907E-02
  16  Prefactor     55.160        16.264        .21534E-06   -.44986E-01
  17  Prefactor     53.009        17.129        .49196E-06   -.31140E-01
  18  Prefactor     10.354        8.0094        .28456E-06   -.30278E-03
  19  norm          .90014E-01    .27191       -.20988E-06** at limit **
  20  Normalizat    1.3940        .22088       -.13936E-05    .37812E-04
  21  Prefactor     1.0014        .56501E-01    .83574E-06    .13450E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07817
  Prefactor  = 25.221
  Prefactor  = 5.55112e-11
  Prefactor  = 13.5159
  norm       = 1.28485
  Prefactor  = 5.55112e-11
  norm       = 0.873617
  Prefactor  = 1.38236
  Prefactor  = 2.30371e-08
  Prefactor  = 1.77858e-07
  Prefactor  = 2.02616e-07
  norm       = 0
  Prefactor  = 21.3152
  norm       = 5.34623
  norm       = 7.45722
  Prefactor  = 55.1604
  Prefactor  = 53.0093
  Prefactor  = 10.3542
  norm       = 0.0900136
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********

 FCN=   22037.65     FROM HESSE     STATUS=OK           363 CALLS     2041 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0782        4.2757        .11791E-02   -1.5687    
   2  Prefactor     25.221        39.660        .20587E-03   -1.5608    
   3  Prefactor     .55511E-10    4.2210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.516        12.962        .27214E-03   -1.5634    
   5  norm          1.2848        3.2038        .97907E-03   -1.5685    
   6  Prefactor     .55511E-10    8.2532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .87362        .68382        .47611E-03   -1.5689    
   8  Prefactor     1.3824        1.0754        .92545E-03   -1.5684    
   9  Prefactor     .23037E-07    11.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17786E-06    16.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20262E-06    14.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.315        21.146        .21781E-03   -1.5616    
  14  norm          5.3462        1.9857        .43456E-03   -1.5662    
  15  norm          7.4572        2.1542        .36701E-03   -1.5653    
  16  Prefactor     55.160        33.834        .13460E-03   -1.5559    
  17  Prefactor     53.009        29.720        .13625E-03   -1.5562    
  18  Prefactor     10.354        8.0206        .31445E-03   -1.5644    
  19  norm          .90014E-01    .28637        .14251E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3940        .19999        .11357       -.80803    
  21  Prefactor     1.0014        .50528E-01    .45070E-01   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3087e-05
Minuit parameter uncertainties:
  1  4.27572
  2  39.6602
  3  2.16953e-05
  4  12.9616
  5  3.20381
  6  4.54752e-05
  7  0.683818
  8  1.07544
  9  0.00103235
  10  0.00343805
  11  0.00341559
  12  6.18631e-06
  13  21.146
  14  1.98569
  15  2.15416
  16  33.8337
  17  29.7197
  18  8.0206
  19  0.286366
  20  0.200101
  21  0.0505305
utfile=/lscratch/kocevski/26848825/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 21.41
user 20.42
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848825/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848825/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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/26848825/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
.....................!
real 76.52
user 70.91
sys 4.61

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

Setting source of interest to:
4FGL J0420.0+0805 @ 65.0086 8.0999

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848825/cmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.00
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits scfile=/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits outfile=/lscratch/kocevski/26848825/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.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=65.0086 yref=8.0999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.97
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848825/Model_4FGL_J0420.0+0805_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL **********
 **   18 **HESSE 
 **********

 FCN=   22037.65     FROM HESSE     STATUS=OK           363 CALLS     2041 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0782        4.2757        .11791E-02   -1.5687    
   2  Prefactor     25.221        39.660        .20587E-03   -1.5608    
   3  Prefactor     .55511E-10    4.2210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.516        12.962        .27214E-03   -1.5634    
   5  norm          1.2848        3.2038        .97907E-03   -1.5685    
   6  Prefactor     .55511E-10    8.2532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .87362        .68382        .47611E-03   -1.5689    
   8  Prefactor     1.3824        1.0754        .92545E-03   -1.5684    
   9  Prefactor     .23037E-07    11.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17786E-06    16.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20262E-06    14.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.315        21.146        .21781E-03   -1.5616    
  14  norm          5.3462        1.9857        .43456E-03   -1.5662    
  15  norm          7.4572        2.1542        .36701E-03   -1.5653    
  16  Prefactor     55.160        33.834        .13460E-03   -1.5559    
  17  Prefactor     53.009        29.720        .13625E-03   -1.5562    
  18  Prefactor     10.354        8.0206        .31445E-03   -1.5644    
  19  norm          .90014E-01    .28637        .14251E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3940        .19999        .11357       -.80803    
  21  Prefactor     1.0014        .50528E-01    .45070E-01   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3087e-05
Minuit parameter uncertainties:
  1  4.27572
  2  39.6602
  3  2.16953e-05
  4  12.9616
  5  3.20381
  6  4.54752e-05
  7  0.683818
  8  1.07544
  9  0.00103235
  10  0.00343805
  11  0.00341559
  12  6.18631e-06
  13  21.146
  14  1.98569
  15  2.15416
  16  33.8337
  17  29.7197
  18  8.0206
  19  0.286366
  20  0.200101
  21  0.0505305
Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  5.551e-11  4.548e-05  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  5.053e-02  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 65.009 8.100
Photon Flux Upper Limit: 6.68100142957e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00521038374628 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848664/likelihoodResults_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22037.6482544
delta logL = -0.000447257712949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22037.6478073
delta logL = -1.02038029581e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21538E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5194       1.0000          .0000       10.000    
     3 'Normalizat'    1.3940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      236 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1555        .42118E-03** at limit **
   2  Index         2.2742        1.2224        .74498E-05     .0000    
   3  Normalizat    1.3940        1.0628       -.30600E-05    .12962E-04
   4  Prefactor     1.0014        1.3105       -.40078E-06    .17853E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.27423
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .57482        1.8179        .74498E-05   -.57657    
   3  Normalizat    1.3940        1.0628       -.30600E-05   -.80803    
   4  Prefactor     1.0014        1.3105       -.40078E-06   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.23608e-13
Minuit parameter uncertainties:
  1  4.07718e-06
  2  1.24039
  3  1.08035
  4  1.35622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  0.000e+00  4.077e-06  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.274e+00  1.240e+00  0.000e+00  1.000e+01 (-1.000e+00)
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  1.356e+00  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  1.080e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 65.009 8.100

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/26848664/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-05-19 03:37:03.644667', job_id='26848664', GAL2='1.00', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1779187023.64', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='928' AND source_name='4FGL J0420.0+0805' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:37:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  5.551e-11  4.548e-05  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  5.053e-02  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 65.009 8.100
Photon Flux Upper Limit: 6.68100142957e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00521038374628 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848690/likelihoodResults_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22037.6482544
delta logL = -0.000447257712949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22037.6478073
delta logL = -1.02038029581e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21538E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5194       1.0000          .0000       10.000    
     3 'Normalizat'    1.3940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      236 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1555        .42118E-03** at limit **
   2  Index         2.2742        1.2224        .74498E-05     .0000    
   3  Normalizat    1.3940        1.0628       -.30600E-05    .12962E-04
   4  Prefactor     1.0014        1.3105       -.40078E-06    .17853E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.27423
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .57482        1.8179        .74498E-05   -.57657    
   3  Normalizat    1.3940        1.0628       -.30600E-05   -.80803    
   4  Prefactor     1.0014        1.3105       -.40078E-06   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.23608e-13
Minuit parameter uncertainties:
  1  4.07718e-06
  2  1.24039
  3  1.08035
  4  1.35622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  0.000e+00  4.077e-06  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.274e+00  1.240e+00  0.000e+00  1.000e+01 (-1.000e+00)
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  1.356e+00  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  1.080e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 65.009 8.100

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/26848690/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-05-19 03:37:15.911199', job_id='26848690', GAL2='1.00', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1779187035.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='928' AND source_name='4FGL J0420.0+0805' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:37:16 PDT 2026

_V02
Working on...
/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits.....................!
real 136.22
user 132.62
sys 2.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits', '/lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits', expMap='/lscratch/kocevski/26848781/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', expCube='/lscratch/kocevski/26848781/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848781/Model_4FGL_J0420.0+0805_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0420.0+0805'

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  2.735e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848781/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848781/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848781/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848781/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848781/Model_4FGL_J0420.0+0805_weekly_bin928.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) = 22037.8283448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0668       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.606       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20131E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.521       1.0000          .0000       .10000E+07
     5 'norm      '    1.2829       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12135E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .87349       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3817       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55507E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35962E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57433E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .16328E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    21.090       1.0000          .0000       .10000E+07
    14 'norm      '    5.3427       1.0000          .0000       .10000E+07
    15 'norm      '    7.4578       1.0000          .0000       .10000E+07
    16 'Prefactor '    55.207       1.0000          .0000       .10000E+07
    17 'Prefactor '    53.878       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.138       1.0000          .0000       .10000E+07
    19 'norm      '    .88432E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3939       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1678 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0782        4.2434       -.14867E-07   -.36017E-03
   2  Prefactor     25.221        38.315       -.75088E-06    .30192E-02
   3  Prefactor     .55511E-10    4.1977       -.36082E-06** at limit **
   4  Prefactor     13.516        6.9655       -.38485E-06   -.10260    
   5  norm          1.2848        3.1820        .33827E-07   -.33775E-04
   6  Prefactor     .55511E-10    8.2568        .24459E-06** at limit **
   7  norm          .87362        .67120        .33860E-07    .10690E-02
   8  Prefactor     1.3824        1.0567       -.10820E-06   -.21052E-03
   9  Prefactor     .23037E-07    11.460       -.18836E-06** at limit **
  10  Prefactor     .17786E-06    15.588       -.10420E-05** at limit **
  11  Prefactor     .20262E-06    13.319       -.97747E-07** at limit **
  12  norm           .0000        1.7191        .14485E-07** at limit **
  13  Prefactor     21.315        2.5965       -.59648E-07   -.32580E-02
  14  norm          5.3462        2.0037       -.28097E-06    .33801E-03
  15  norm          7.4572        2.1528       -.29605E-07    .19907E-02
  16  Prefactor     55.160        16.264        .21534E-06   -.44986E-01
  17  Prefactor     53.009        17.129        .49196E-06   -.31140E-01
  18  Prefactor     10.354        8.0094        .28456E-06   -.30278E-03
  19  norm          .90014E-01    .27191       -.20988E-06** at limit **
  20  Normalizat    1.3940        .22088       -.13936E-05    .37812E-04
  21  Prefactor     1.0014        .56501E-01    .83574E-06    .13450E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07817
  Prefactor  = 25.221
  Prefactor  = 5.55112e-11
  Prefactor  = 13.5159
  norm       = 1.28485
  Prefactor  = 5.55112e-11
  norm       = 0.873617
  Prefactor  = 1.38236
  Prefactor  = 2.30371e-08
  Prefactor  = 1.77858e-07
  Prefactor  = 2.02616e-07
  norm       = 0
  Prefactor  = 21.3152
  norm       = 5.34623
  norm       = 7.45722
  Prefactor  = 55.1604
  Prefactor  = 53.0093
  Prefactor  = 10.3542
  norm       = 0.0900136
  Normalizat = 1.39399
  Prefactor  = 1.00145
_V02
Working on...
/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits.....................!
real 135.73
user 132.27
sys 1.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits', '/lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits', expMap='/lscratch/kocevski/26848780/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', expCube='/lscratch/kocevski/26848780/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848780/Model_4FGL_J0420.0+0805_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0420.0+0805'

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  2.735e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848780/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848780/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848780/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848780/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848780/Model_4FGL_J0420.0+0805_weekly_bin928.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) = 22037.8283448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0668       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.606       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20131E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.521       1.0000          .0000       .10000E+07
     5 'norm      '    1.2829       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12135E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .87349       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3817       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55507E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35962E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57433E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .16328E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    21.090       1.0000          .0000       .10000E+07
    14 'norm      '    5.3427       1.0000          .0000       .10000E+07
    15 'norm      '    7.4578       1.0000          .0000       .10000E+07
    16 'Prefactor '    55.207       1.0000          .0000       .10000E+07
    17 'Prefactor '    53.878       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.138       1.0000          .0000       .10000E+07
    19 'norm      '    .88432E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3939       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1678 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0782        4.2434       -.14867E-07   -.36017E-03
   2  Prefactor     25.221        38.315       -.75088E-06    .30192E-02
   3  Prefactor     .55511E-10    4.1977       -.36082E-06** at limit **
   4  Prefactor     13.516        6.9655       -.38485E-06   -.10260    
   5  norm          1.2848        3.1820        .33827E-07   -.33775E-04
   6  Prefactor     .55511E-10    8.2568        .24459E-06** at limit **
   7  norm          .87362        .67120        .33860E-07    .10690E-02
   8  Prefactor     1.3824        1.0567       -.10820E-06   -.21052E-03
   9  Prefactor     .23037E-07    11.460       -.18836E-06** at limit **
  10  Prefactor     .17786E-06    15.588       -.10420E-05** at limit **
  11  Prefactor     .20262E-06    13.319       -.97747E-07** at limit **
  12  norm           .0000        1.7191        .14485E-07** at limit **
  13  Prefactor     21.315        2.5965       -.59648E-07   -.32580E-02
  14  norm          5.3462        2.0037       -.28097E-06    .33801E-03
  15  norm          7.4572        2.1528       -.29605E-07    .19907E-02
  16  Prefactor     55.160        16.264        .21534E-06   -.44986E-01
  17  Prefactor     53.009        17.129        .49196E-06   -.31140E-01
  18  Prefactor     10.354        8.0094        .28456E-06   -.30278E-03
  19  norm          .90014E-01    .27191       -.20988E-06** at limit **
  20  Normalizat    1.3940        .22088       -.13936E-05    .37812E-04
  21  Prefactor     1.0014        .56501E-01    .83574E-06    .13450E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07817
  Prefactor  = 25.221
  Prefactor  = 5.55112e-11
  Prefactor  = 13.5159
  norm       = 1.28485
  Prefactor  = 5.55112e-11
  norm       = 0.873617
  Prefactor  = 1.38236
  Prefactor  = 2.30371e-08
  Prefactor  = 1.77858e-07
  Prefactor  = 2.02616e-07
  norm       = 0
  Prefactor  = 21.3152
  norm       = 5.34623
  norm       = 7.45722
  Prefactor  = 55.1604
  Prefactor  = 53.0093
  Prefactor  = 10.3542
  norm       = 0.0900136
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********

 FCN=   22037.65     FROM HESSE     STATUS=OK           363 CALLS     2041 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0782        4.2757        .11791E-02   -1.5687    
   2  Prefactor     25.221        39.660        .20587E-03   -1.5608    
   3  Prefactor     .55511E-10    4.2210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.516        12.962        .27214E-03   -1.5634    
   5  norm          1.2848        3.2038        .97907E-03   -1.5685    
   6  Prefactor     .55511E-10    8.2532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .87362        .68382        .47611E-03   -1.5689    
   8  Prefactor     1.3824        1.0754        .92545E-03   -1.5684    
   9  Prefactor     .23037E-07    11.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17786E-06    16.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20262E-06    14.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.315        21.146        .21781E-03   -1.5616    
  14  norm          5.3462        1.9857        .43456E-03   -1.5662    
  15  norm          7.4572        2.1542        .36701E-03   -1.5653    
  16  Prefactor     55.160        33.834        .13460E-03   -1.5559    
  17  Prefactor     53.009        29.720        .13625E-03   -1.5562    
  18  Prefactor     10.354        8.0206        .31445E-03   -1.5644    
  19  norm          .90014E-01    .28637        .14251E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3940        .19999        .11357       -.80803    
  21  Prefactor     1.0014        .50528E-01    .45070E-01   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3087e-05
Minuit parameter uncertainties:
  1  4.27572
  2  39.6602
  3  2.16953e-05
  4  12.9616
  5  3.20381
  6  4.54752e-05
  7  0.683818
  8  1.07544
  9  0.00103235
  10  0.00343805
  11  0.00341559
  12  6.18631e-06
  13  21.146
  14  1.98569
  15  2.15416
  16  33.8337
  17  29.7197
  18  8.0206
  19  0.286366
  20  0.200101
  21  0.0505305
 **********
 **   18 **HESSE 
 **********

 FCN=   22037.65     FROM HESSE     STATUS=OK           363 CALLS     2041 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0782        4.2757        .11791E-02   -1.5687    
   2  Prefactor     25.221        39.660        .20587E-03   -1.5608    
   3  Prefactor     .55511E-10    4.2210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.516        12.962        .27214E-03   -1.5634    
   5  norm          1.2848        3.2038        .97907E-03   -1.5685    
   6  Prefactor     .55511E-10    8.2532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .87362        .68382        .47611E-03   -1.5689    
   8  Prefactor     1.3824        1.0754        .92545E-03   -1.5684    
   9  Prefactor     .23037E-07    11.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17786E-06    16.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20262E-06    14.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.315        21.146        .21781E-03   -1.5616    
  14  norm          5.3462        1.9857        .43456E-03   -1.5662    
  15  norm          7.4572        2.1542        .36701E-03   -1.5653    
  16  Prefactor     55.160        33.834        .13460E-03   -1.5559    
  17  Prefactor     53.009        29.720        .13625E-03   -1.5562    
  18  Prefactor     10.354        8.0206        .31445E-03   -1.5644    
  19  norm          .90014E-01    .28637        .14251E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3940        .19999        .11357       -.80803    
  21  Prefactor     1.0014        .50528E-01    .45070E-01   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3087e-05
Minuit parameter uncertainties:
  1  4.27572
  2  39.6602
  3  2.16953e-05
  4  12.9616
  5  3.20381
  6  4.54752e-05
  7  0.683818
  8  1.07544
  9  0.00103235
  10  0.00343805
  11  0.00341559
  12  6.18631e-06
  13  21.146
  14  1.98569
  15  2.15416
  16  33.8337
  17  29.7197
  18  8.0206
  19  0.286366
  20  0.200101
  21  0.0505305
_V02
Working on...
/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits.....................!
real 133.61
user 130.49
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits', '/lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits', expMap='/lscratch/kocevski/26848825/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', expCube='/lscratch/kocevski/26848825/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848825/Model_4FGL_J0420.0+0805_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0420.0+0805'

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  2.735e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848825/ft1_filtered_4FGL_J0420.0+0805_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848825/ft2_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848825/expmap_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848825/ltcube_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848825/Model_4FGL_J0420.0+0805_weekly_bin928.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) = 22037.8283448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0668       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.606       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20131E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.521       1.0000          .0000       .10000E+07
     5 'norm      '    1.2829       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12135E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .87349       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3817       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55507E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35962E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57433E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .16328E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    21.090       1.0000          .0000       .10000E+07
    14 'norm      '    5.3427       1.0000          .0000       .10000E+07
    15 'norm      '    7.4578       1.0000          .0000       .10000E+07
    16 'Prefactor '    55.207       1.0000          .0000       .10000E+07
    17 'Prefactor '    53.878       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.138       1.0000          .0000       .10000E+07
    19 'norm      '    .88432E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3939       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1678 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0782        4.2434       -.14867E-07   -.36017E-03
   2  Prefactor     25.221        38.315       -.75088E-06    .30192E-02
   3  Prefactor     .55511E-10    4.1977       -.36082E-06** at limit **
   4  Prefactor     13.516        6.9655       -.38485E-06   -.10260    
   5  norm          1.2848        3.1820        .33827E-07   -.33775E-04
   6  Prefactor     .55511E-10    8.2568        .24459E-06** at limit **
   7  norm          .87362        .67120        .33860E-07    .10690E-02
   8  Prefactor     1.3824        1.0567       -.10820E-06   -.21052E-03
   9  Prefactor     .23037E-07    11.460       -.18836E-06** at limit **
  10  Prefactor     .17786E-06    15.588       -.10420E-05** at limit **
  11  Prefactor     .20262E-06    13.319       -.97747E-07** at limit **
  12  norm           .0000        1.7191        .14485E-07** at limit **
  13  Prefactor     21.315        2.5965       -.59648E-07   -.32580E-02
  14  norm          5.3462        2.0037       -.28097E-06    .33801E-03
  15  norm          7.4572        2.1528       -.29605E-07    .19907E-02
  16  Prefactor     55.160        16.264        .21534E-06   -.44986E-01
  17  Prefactor     53.009        17.129        .49196E-06   -.31140E-01
  18  Prefactor     10.354        8.0094        .28456E-06   -.30278E-03
  19  norm          .90014E-01    .27191       -.20988E-06** at limit **
  20  Normalizat    1.3940        .22088       -.13936E-05    .37812E-04
  21  Prefactor     1.0014        .56501E-01    .83574E-06    .13450E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07817
  Prefactor  = 25.221
  Prefactor  = 5.55112e-11
  Prefactor  = 13.5159
  norm       = 1.28485
  Prefactor  = 5.55112e-11
  norm       = 0.873617
  Prefactor  = 1.38236
  Prefactor  = 2.30371e-08
  Prefactor  = 1.77858e-07
  Prefactor  = 2.02616e-07
  norm       = 0
  Prefactor  = 21.3152
  norm       = 5.34623
  norm       = 7.45722
  Prefactor  = 55.1604
  Prefactor  = 53.0093
  Prefactor  = 10.3542
  norm       = 0.0900136
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********

 FCN=   22037.65     FROM HESSE     STATUS=OK           363 CALLS     2041 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0782        4.2757        .11791E-02   -1.5687    
   2  Prefactor     25.221        39.660        .20587E-03   -1.5608    
   3  Prefactor     .55511E-10    4.2210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.516        12.962        .27214E-03   -1.5634    
   5  norm          1.2848        3.2038        .97907E-03   -1.5685    
   6  Prefactor     .55511E-10    8.2532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .87362        .68382        .47611E-03   -1.5689    
   8  Prefactor     1.3824        1.0754        .92545E-03   -1.5684    
   9  Prefactor     .23037E-07    11.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17786E-06    16.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20262E-06    14.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.315        21.146        .21781E-03   -1.5616    
  14  norm          5.3462        1.9857        .43456E-03   -1.5662    
  15  norm          7.4572        2.1542        .36701E-03   -1.5653    
  16  Prefactor     55.160        33.834        .13460E-03   -1.5559    
  17  Prefactor     53.009        29.720        .13625E-03   -1.5562    
  18  Prefactor     10.354        8.0206        .31445E-03   -1.5644    
  19  norm          .90014E-01    .28637        .14251E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3940        .19999        .11357       -.80803    
  21  Prefactor     1.0014        .50528E-01    .45070E-01   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3087e-05
Minuit parameter uncertainties:
  1  4.27572
  2  39.6602
  3  2.16953e-05
  4  12.9616
  5  3.20381
  6  4.54752e-05
  7  0.683818
  8  1.07544
  9  0.00103235
  10  0.00343805
  11  0.00341559
  12  6.18631e-06
  13  21.146
  14  1.98569
  15  2.15416
  16  33.8337
  17  29.7197
  18  8.0206
  19  0.286366
  20  0.200101
  21  0.0505305
Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  5.551e-11  4.548e-05  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  5.053e-02  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 65.009 8.100
Photon Flux Upper Limit: 6.68100142957e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00521038374628 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848781/likelihoodResults_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22037.6482544
delta logL = -0.000447257712949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22037.6478073
delta logL = -1.02038029581e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21538E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5194       1.0000          .0000       10.000    
     3 'Normalizat'    1.3940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      236 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1555        .42118E-03** at limit **
   2  Index         2.2742        1.2224        .74498E-05     .0000    
   3  Normalizat    1.3940        1.0628       -.30600E-05    .12962E-04
   4  Prefactor     1.0014        1.3105       -.40078E-06    .17853E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.27423
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .57482        1.8179        .74498E-05   -.57657    
   3  Normalizat    1.3940        1.0628       -.30600E-05   -.80803    
   4  Prefactor     1.0014        1.3105       -.40078E-06   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.23608e-13
Minuit parameter uncertainties:
  1  4.07718e-06
  2  1.24039
  3  1.08035
  4  1.35622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  0.000e+00  4.077e-06  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.274e+00  1.240e+00  0.000e+00  1.000e+01 (-1.000e+00)
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  1.356e+00  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  1.080e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 65.009 8.100

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/26848781/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-05-19 03:39:51.390785', job_id='26848781', GAL2='1.00', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1779187191.39', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='928' AND source_name='4FGL J0420.0+0805' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:39:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  5.551e-11  4.548e-05  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  5.053e-02  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 65.009 8.100
Photon Flux Upper Limit: 6.68100142957e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00521038374628 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848780/likelihoodResults_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22037.6482544
delta logL = -0.000447257712949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22037.6478073
delta logL = -1.02038029581e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21538E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5194       1.0000          .0000       10.000    
     3 'Normalizat'    1.3940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      236 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1555        .42118E-03** at limit **
   2  Index         2.2742        1.2224        .74498E-05     .0000    
   3  Normalizat    1.3940        1.0628       -.30600E-05    .12962E-04
   4  Prefactor     1.0014        1.3105       -.40078E-06    .17853E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.27423
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .57482        1.8179        .74498E-05   -.57657    
   3  Normalizat    1.3940        1.0628       -.30600E-05   -.80803    
   4  Prefactor     1.0014        1.3105       -.40078E-06   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.23608e-13
Minuit parameter uncertainties:
  1  4.07718e-06
  2  1.24039
  3  1.08035
  4  1.35622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  0.000e+00  4.077e-06  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.274e+00  1.240e+00  0.000e+00  1.000e+01 (-1.000e+00)
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  1.356e+00  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  1.080e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 65.009 8.100

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/26848780/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-05-19 03:40:00.770629', job_id='26848780', GAL2='1.00', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1779187200.77', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='928' AND source_name='4FGL J0420.0+0805' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:40:00 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  5.551e-11  4.548e-05  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  5.053e-02  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 65.009 8.100
Photon Flux Upper Limit: 6.68100142957e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00521038374628 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848825/likelihoodResults_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22037.6482544
delta logL = -0.000447257712949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22037.6478073
delta logL = -1.02038029581e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21538E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5194       1.0000          .0000       10.000    
     3 'Normalizat'    1.3940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      236 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1555        .42118E-03** at limit **
   2  Index         2.2742        1.2224        .74498E-05     .0000    
   3  Normalizat    1.3940        1.0628       -.30600E-05    .12962E-04
   4  Prefactor     1.0014        1.3105       -.40078E-06    .17853E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.27423
  Normalizat = 1.39399
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22037.65     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .57482        1.8179        .74498E-05   -.57657    
   3  Normalizat    1.3940        1.0628       -.30600E-05   -.80803    
   4  Prefactor     1.0014        1.3105       -.40078E-06   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.23608e-13
Minuit parameter uncertainties:
  1  4.07718e-06
  2  1.24039
  3  1.08035
  4  1.35622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  0.000e+00  4.077e-06  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.274e+00  1.240e+00  0.000e+00  1.000e+01 (-1.000e+00)
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  1.001e+00  1.356e+00  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.394e+00  1.080e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 65.009 8.100

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/26848825/cmap_HighResolution_800236801_800841601_4FGL_J0420.0+0805_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-05-19 03:40:38.686099', job_id='26848825', GAL2='1.00', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1779187238.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='928' AND source_name='4FGL J0420.0+0805' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:40:38 PDT 2026

