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


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465301', job_status='RUN', time_executed='2026-09-29 14:12:35.748211', time_epoch_executed='1790716355.75' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465301

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465301/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465301/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465301/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 7.34
user 6.39
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465301/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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

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

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

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


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465391', job_status='RUN', time_executed='2026-09-29 14:14:24.901486', time_epoch_executed='1790716464.9' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465391

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465391/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465391/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465391/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.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.81
user 6.12
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465391/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.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.95
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465407', job_status='RUN', time_executed='2026-09-29 14:14:54.151633', time_epoch_executed='1790716494.15' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465407

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465407/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465407/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465407/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 7.20
user 6.18
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465407/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.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.90
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39465197/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465197/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 21.45
user 20.62
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465197/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465197/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465197/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465197/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465197/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 75.25
user 70.16
sys 4.10

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465197/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465197/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465197/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465197/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465197/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465197/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465197/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465197/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465197/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465419', job_status='RUN', time_executed='2026-09-29 14:15:15.553338', time_epoch_executed='1790716515.55' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465419

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465419/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465419/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465419/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 7.14
user 6.24
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465419/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.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.85
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465422', job_status='RUN', time_executed='2026-09-29 14:15:21.344024', time_epoch_executed='1790716521.34' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465422

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465422/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465422/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465422/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.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.36
user 5.50
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465422/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.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.90
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465561', job_status='RUN', time_executed='2026-09-29 14:17:17.281226', time_epoch_executed='1790716637.28' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465561

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465561/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465561/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465561/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.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.24
user 5.54
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465561/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.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.14

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465563', job_status='RUN', time_executed='2026-09-29 14:17:18.021427', time_epoch_executed='1790716638.02' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465563

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465563/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465563/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465563/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.50
user 5.69
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465563/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.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.84
user 0.24
sys 0.11

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465573', job_status='RUN', time_executed='2026-09-29 14:17:48.658814', time_epoch_executed='1790716668.66' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465573

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465573/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465573/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465573/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.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.24
user 5.58
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465573/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465600', job_status='RUN', time_executed='2026-09-29 14:18:11.772512', time_epoch_executed='1790716691.77' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465600

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465600/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465600/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465600/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.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.63
user 5.85
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465600/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39465301/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 20.04
user 19.03
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465301/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465301/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465301/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 76.21
user 70.82
sys 4.31

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465301/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.05
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465301/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.05
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465301/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465659', job_status='RUN', time_executed='2026-09-29 14:19:13.332272', time_epoch_executed='1790716753.33' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465659

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465659/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465659/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465659/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.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.29
user 5.60
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465659/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"outfile=/lscratch/kocevski/39465391/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 21.34
user 20.45
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465391/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465391/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465391/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 76.98
user 71.84
sys 4.00

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465391/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.14
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465391/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.35
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465391/Model_4FGL_J1223.8+8039_weekly_bin947.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 outfile=/lscratch/kocevski/39465422/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 17.63
user 16.82
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465422/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465422/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465422/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 66.78
user 62.19
sys 3.72

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465422/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465422/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465422/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/39465407/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 20.62
user 19.59
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465407/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465407/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465407/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 77.14
user 71.48
sys 4.38

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465407/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.92
user 0.26
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465407/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.95
user 0.27
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465407/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/39465419/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 20.98
user 19.87
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465419/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465419/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465419/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 77.22
user 71.62
sys 4.38

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465419/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465419/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.92
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465419/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465713', job_status='RUN', time_executed='2026-09-29 14:20:14.678732', time_epoch_executed='1790716814.68' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465713

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465713/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465713/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465713/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 7.66
user 6.45
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465713/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.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.92
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1223.8+8039_weekly_bin947
RA = 185.971, Dec = 80.6598
tmin = 811728001, tmax = 812332801
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='39465728', job_status='RUN', time_executed='2026-09-29 14:20:42.533802', time_epoch_executed='1790716842.53' WHERE source_name='4FGL J1223.8+8039' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39465728

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39465728/ft1_4FGL_J1223.8+8039_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39465728/ft1_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465728/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits ra=185.971 dec=80.6598 rad=12.0 tmin=811728001.0 tmax=812332801.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.55
user 5.91
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.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/39465728/ft1_filteredMKT_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2522

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39465561/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 18.28
user 17.38
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465561/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465561/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465561/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 67.36
user 62.63
sys 3.87

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465561/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465561/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465561/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/39465563/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 18.52
user 17.78
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465563/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465563/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465563/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 70.66
user 66.18
sys 3.59

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465563/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465563/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465563/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/39465573/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 18.04
user 17.28
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465573/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465573/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465573/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 66.99
user 62.61
sys 3.73

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465573/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465573/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465573/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/39465600/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 19.22
user 18.38
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465600/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465600/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465600/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 72.05
user 67.38
sys 3.85

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465600/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465600/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.91
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465600/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/39465659/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 17.90
user 17.11
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465659/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465659/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465659/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 66.93
user 62.56
sys 3.62

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465659/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465659/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.91
user 0.26
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465659/Model_4FGL_J1223.8+8039_weekly_bin947.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/39465197/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 119.16
user 117.29
sys 0.72

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465197/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465197/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465197/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465197/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465197/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465197/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465197/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465197/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465197/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465197/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0 outfile=/lscratch/kocevski/39465728/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 19.44
user 18.59
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465728/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465728/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465728/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 73.16
user 68.12
sys 4.15

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465728/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.81
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465728/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465728/Model_4FGL_J1223.8+8039_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/39465713/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 21.45
user 20.50
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39465713/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465713/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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/39465713/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
.....................!
real 79.51
user 73.85
sys 4.49

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

Setting source of interest to:
4FGL J1223.8+8039 @ 185.971 80.6598

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465713/cmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits scfile=/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits outfile=/lscratch/kocevski/39465713/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.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=185.971 yref=80.6598 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.04
user 0.28
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39465713/Model_4FGL_J1223.8+8039_weekly_bin947.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 sourc000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
e GAL_V02
Working on...
/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 126.78
user 124.18
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465301/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465301/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465301/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465301/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465301/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465301/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465301/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465301/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465197/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:32:55.106719', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717575.11', return_code='0', job_id='39465197', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:32:55 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 112.86
user 111.23
sys 0.58

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465422/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465422/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465422/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465422/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465422/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465422/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465422/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465422/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
 GAL_V02
Working on...
/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 130.36
user 127.74
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465391/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465391/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465391/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465391/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465391/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465391/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465391/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465391/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.00e GAL_V02
Working on...
/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 129.33
user 126.49
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465407/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465407/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465407/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465407/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465407/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465407/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465407/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465407/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0e GAL_V02
Working on...
/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 111.97
user 110.26
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465561/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465561/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465561/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465561/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465561/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465561/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465561/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465561/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0e GAL_V02
Working on...
/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 128.64
user 126.06
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465419/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465419/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465419/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465419/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465419/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465419/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465419/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465419/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
e GAL_V02
Working on...
/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 111.81
user 110.00
sys 0.77

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465573/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465573/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465573/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465573/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465573/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465573/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465573/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465573/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0e GAL_V02
Working on...
/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 118.20
user 116.29
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465563/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465563/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465563/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465563/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465563/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465563/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465563/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465563/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
e GAL_V02
Working on...
/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 121.52
user 119.77
sys 0.60

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465600/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465600/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465600/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465600/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465600/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465600/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465600/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465600/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465301/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:36:13.109310', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717773.11', return_code='0', job_id='39465301', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:36:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465422/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:36:23.788013', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717783.79', return_code='0', job_id='39465422', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:36:23 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 115.67
user 113.42
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465659/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465659/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465659/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465659/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465659/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465659/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465659/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465659/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465561/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:37:31.018673', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717851.02', return_code='0', job_id='39465561', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:37:31 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465391/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:37:43.121096', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717863.12', return_code='0', job_id='39465391', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:37:43 PDT 2026

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

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465407/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:37:50.749860', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717870.75', return_code='0', job_id='39465407', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:37:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465419/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:38:01.422418', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717881.42', return_code='0', job_id='39465419', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:38:01 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465573/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:38:05.651326', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717885.65', return_code='0', job_id='39465573', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:38:05 PDT 2026

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

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465563/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:38:12.276785', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717892.28', return_code='0', job_id='39465563', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:38:12 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 123.28
user 121.56
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465728/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465728/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465728/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465728/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465728/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465728/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465728/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465728/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465600/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:39:10.042336', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717950.04', return_code='0', job_id='39465600', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:39:10 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits.....................!
real 133.55
user 130.74
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits', '/lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits', expMap='/lscratch/kocevski/39465713/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', expCube='/lscratch/kocevski/39465713/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39465713/Model_4FGL_J1223.8+8039_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.8+8039'

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.610e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39465713/ft1_filtered_4FGL_J1223.8+8039_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39465713/ft2_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39465713/expmap_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39465713/ltcube_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39465713/Model_4FGL_J1223.8+8039_weekly_bin947.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) = 26057.7180007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0325       1.0000          .0000       .10000E+07
     2 'norm      '    .68135E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70777E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .45952E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6633       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77397       1.0000          .0000       .10000E+07
     7 'Prefactor '    180.72       1.0000          .0000       .10000E+07
     8 'norm      '    .96728E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22598E-01   1.0000          .0000       .10000E+07
    10 'norm      '    8.1551       1.0000          .0000       .10000E+07
    11 'norm      '    4.3616       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.342       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .97001       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29692E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.188       1.0000          .0000       .10000E+07
    17 'norm      '    1.9478       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.0312       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50512E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46944E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11829E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.8305       1.0000          .0000       .10000E+07
    24 'Prefactor '    .64199E-05   1.0000          .0000       .10000E+07
    25 'norm      '    11.151       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11857E-03   1.0Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465659/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:39:42.531581', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790717982.53', return_code='0', job_id='39465659', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:39:42 PDT 2026

000          .0000       .10000E+07
    27 'Normalizat'    .97712       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26057.55     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2569 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0298        7.7477        .20112E-06    .18648E-03
   2  norm          .14638E-05    28.188        .16113E-05** at limit **
   3  Prefactor     .19040E-07    9.0652        .22068E-06** at limit **
   4  Prefactor      .0000        1.8357       -.46788E-06** at limit **
   5  Prefactor     4.5887        8.5760       -.33847E-08    .21856E-02
   6  Prefactor     .76045        .63927       -.52084E-07    .19993E-02
   7  Prefactor     180.89        4.0630        .39736E-07   -.93546E-01
   8  norm          .45519E-08    5.9075        .12530E-05** at limit **
   9  Prefactor     .24015E-05    60.351        .49009E-05** at limit **
  10  norm          8.1579        .76992        .73235E-07    .11813E-01
  11  norm          4.3612        2.0149       -.28023E-07    .26223E-03
  12  Prefactor     10.317        5.2509        .46601E-07   -.44512E-03
  13  Prefactor      .0000        .54808       -.23697E-07** at limit **
  14  Prefactor     .99680        .68341        .32825E-07   -.14021E-02
  15  Prefactor     .12379E-07    58.338        .61445E-06** at limit **
  16  norm          10.186        3.1703       -.12692E-06    .31930E-02
  17  norm          1.9461        1.2581        .19819E-06   -.18534E-02
  18  Prefactor     9.0120        1.0153        .68589E-08   -.10666E-02
  19  Prefactor     .37026E-07    4.7132       -.87848E-07** at limit **
  20  Prefactor      .0000        3.9227        .13537E-06** at limit **
  21  Prefactor     .32752E-07    3.3207       -.15166E-06** at limit **
  22  Prefactor     .95185E-06    10.199        .86828E-07** at limit **
  23  Prefactor     7.4740        2.9710        .81147E-07    .57977E-02
  24  Prefactor     .22318E-05    9.1618        .54699E-07** at limit **
  25  norm          11.154        7.4403       -.43052E-07   -.22396E-02
  26  Prefactor     .14879E-05    15.930       -.71750E-06** at limit **
  27  Normalizat    .97734        .10062        .96622E-05    .28612E-04
  28  Prefactor     .98344        .68595E-01   -.42196E-05   -.11251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02985
  norm       = 1.46383e-06
  Prefactor  = 1.90403e-08
  Prefactor  = 0
  Prefactor  = 4.58871
  Prefactor  = 0.76045
  Prefactor  = 180.888
  norm       = 4.55191e-09
  Prefactor  = 2.40152e-06
  norm       = 8.15787
  norm       = 4.36117
  Prefactor  = 10.3173
  Prefactor  = 0
  Prefactor  = 0.996798
  Prefactor  = 1.2379e-08
  norm       = 10.186
  norm       = 1.94614
  Prefactor  = 9.01202
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 3.27516e-08
  Prefactor  = 9.5185e-07
  Prefactor  = 7.47399
  Prefactor  = 2.23177e-06
  norm       = 11.1542
  Prefactor  = 1.48787e-06
  Normalizat = 0.977341
  Prefactor  = 0.983442
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465728/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:41:38.579261', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790718098.58', return_code='0', job_id='39465728', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:41:38 PDT 2026

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

 FCN=   26057.55     FROM HESSE     STATUS=OK           591 CALLS     3160 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0298        7.7630        .58245E-03   -1.5673    
   2  norm          .14638E-05    31.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19040E-07    9.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5887        15.636        .46580E-03   -1.5665    
   6  Prefactor     .76045        14.461        .54896E-03   -1.5691    
   7  Prefactor     180.89        44.709        .74394E-04   -1.5439    
   8  norm          .45519E-08    1.5081        .52807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24015E-05    .86781        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1579        .84362        .35084E-03   -1.5651    
  11  norm          4.3612        2.0054        .48205E-03   -1.5666    
  12  Prefactor     10.317        7.5403        .31132E-03   -1.5644    
  13  Prefactor      .0000        .54811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99680        8.8369        .42701E-03   -1.5688    
  15  Prefactor     .12379E-07    58.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.186        3.1655        .31368E-03   -1.5644    
  17  norm          1.9461        1.3205        .74336E-03   -1.5680    
  18  Prefactor     9.0120        15.989        .33327E-03   -1.5648    
  19  Prefactor     .37026E-07    5.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.9217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32752E-07    6.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .95185E-06    12.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4740        23.330        .35810E-03   -1.5653    
  24  Prefactor     .22318E-05    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.154        7.4450        .29977E-03   -1.5641    
  26  Prefactor     .14879E-05    20.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .97734        .90572E-01    .66080E-01   -.93793    
  28  Prefactor     .98344        .60656E-01    .46060E-01   -.93284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0754e-07
Minuit parameter uncertainties:
  1  7.76307
  2  0.0136486
  3  0.000836193
  4  2.44417e-06
  5  15.6365
  6  6.63235
  7  44.7086
  8  0.000165819
  9  0.00288727
  10  0.843624
  11  2.00538
  12  7.54027
  13  1.06459e-07
  14  5.93587
  15  0.00170087
  16  3.16548
  17  1.32054
  18  15.9889
  19  0.000935135
  20  4.34383e-07
  21  0.000889155
  22  0.00701057
  23  23.3305
  24  0.011689
  25  7.44499
  26  0.0109457
  27  0.0905864
  28  0.0606606
Done.

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

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.946e+00  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.117e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.834e-01  6.066e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.773e-01  9.059e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 185.971 80.660
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 9.94e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 4.81e-06

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) = 26057.5076159
delta logL = 0.0452080410359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.507515
delta logL = 0.0453089787734

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26057.51     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9455        39.644        .74376E-03    .64123E-02
   2  alpha         1.9368        2.5096        .42556       -.46926E-06
   3  Normalizat    .97933        .71938E-01    .66022E-01    .61591E-04
   4  Prefactor     .98334        .34829E-01    .46058E-01    .97316E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94545
  alpha      = 1.93677
  Normalizat = 0.979332
  Prefactor  = 0.983339
 **********
 **   18 **HESSE 
 **********

 FCN=   26057.51     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9455        1.2922        .14533E-04   -1.5680    
   2  alpha         1.9368        .59440        .30739E-01   -.22724    
   3  Normalizat    .97933        .96282E-01    .29202E-03   -.93726    
   4  Prefactor     .98334        .67644E-01    .20374E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29041e-13
Minuit parameter uncertainties:
  1  1.29215
  2  0.600467
  3  0.0962986
  4  0.0676499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26057.5075147
delta logL = 0.0453092508724

Extracting fit parameters...

4FGL J1223.8+8039
   Spectrum: LogParabola
361         norm:  1.945e+00  1.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.937e+00  6.005e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.252e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  9.363e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.833e-01  6.765e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.793e-01  9.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 185.971 80.660
Photon Index (Free Index): 1.94 +/- 0.60
Photon Flux (Free Index): 1.19e-08 +/- 1.15e-08
Energy Flux (Free Index): 7.58e-06 +/- 5.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39465713/cmap_HighResolution_811728001_812332801_4FGL_J1223.8+8039_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='7.58e-06', photon_flux_error='9.94e-09', dlogl='4.53e-02', energy_flux='7.09e-06', photon_flux2='1.19e-08', job_status='DONE', time_completed='2026-09-29 14:42:46.668486', photon_index_error2='0.60', photon_index2='1.94', ts='4.94', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.50e-06', EG='0.98', time_epoch_completed='1790718166.67', return_code='0', job_id='39465713', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='4.81e-06', photon_flux_error2='1.15e-08', ts2='5.03', photon_index='2.12' WHERE bin_id='947' AND source_name='4FGL J1223.8+8039' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 14:42:46 PDT 2026

