number of points = 17429
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

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).

Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35798858', job_status='RUN', time_executed='2026-08-25 09:30:56.944119', time_epoch_executed='1787675456.94' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35798858

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35798858/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35798858/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798858/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.26
user 4.55
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35798858/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA"/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 = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35798952', job_status='RUN', time_executed='2026-08-25 09:31:19.299242', time_epoch_executed='1787675479.3' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35798952

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35798952/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35798952/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798952/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.40
user 4.46
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35798952/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.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.91
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35798953', job_status='RUN', time_executed='2026-08-25 09:31:22.181204', time_epoch_executed='1787675482.18' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35798953

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35798953/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35798953/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798953/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.23
user 4.04
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35798953/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.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.91
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA"number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35798869', job_status='RUN', time_executed='2026-08-25 09:31:00.574208', time_epoch_executed='1787675460.57' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35798869

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35798869/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35798869/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798869/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.32
user 4.40
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35798869/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.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.88
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA"number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35798987', job_status='RUN', time_executed='2026-08-25 09:32:09.858839', time_epoch_executed='1787675529.86' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35798987

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35798987/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35798987/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798987/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.50
user 4.60
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35798987/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA"number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35799006', job_status='RUN', time_executed='2026-08-25 09:32:35.456510', time_epoch_executed='1787675555.46' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35799006

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35799006/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35799006/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799006/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.12
user 4.40
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35799006/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA"number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35799009', job_status='RUN', time_executed='2026-08-25 09:32:44.657246', time_epoch_executed='1787675564.66' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35799009

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35799009/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35799009/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799009/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.52
user 4.73
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35799009/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35798858/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 18.40
user 17.60
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35798858/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798858/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798858/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 68.32
user 63.65
sys 3.77

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798858/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798858/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35798858/Model_4FGL_J1230.8+1223_weekly_bin942.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/35798953/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 16.59
user 15.60
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35798953/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798953/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798953/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 60.27
user 56.10
sys 3.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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798953/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798953/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 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.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35798953/Model_4FGL_J1230.8+1223_weekly_bin942.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 sourcoutfile=/lscratch/kocevski/35798952/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 18.80
user 17.95
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35798952/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798952/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798952/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 71.06
user 66.03
sys 4.17

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798952/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 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.71
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798952/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35798952/Model_4FGL_J1230.8+1223_weekly_bin942.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/35798869/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 18.03
user 17.08
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35798869/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798869/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798869/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 64.98
user 60.44
sys 3.67

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798869/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 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.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798869/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.26
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35798869/Model_4FGL_J1230.8+1223_weekly_bin942.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/35798987/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 18.86
user 18.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35798987/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798987/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35798987/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 70.87
user 65.91
sys 4.05

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798987/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35798987/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35798987/Model_4FGL_J1230.8+1223_weekly_bin942.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 = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_weekly_bin942
RA = 187.712, Dec = 12.3883
tmin = 808704001, tmax = 809308801
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='35799456', job_status='RUN', time_executed='2026-08-25 09:35:54.029135', time_epoch_executed='1787675754.03' WHERE source_name='4FGL J1230.8+1223' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35799456

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35799456/ft1_4FGL_J1230.8+1223_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35799456/ft1_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799456/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits ra=187.712 dec=12.3883 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.70
user 4.58
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.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/35799456/ft1_filteredMKT_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.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.80
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35799006/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 17.96
user 17.20
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35799006/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799006/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35799006/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 69.50
user 64.45
sys 4.07

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799006/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799006/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35799006/Model_4FGL_J1230.8+1223_weekly_bin942.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/35799009/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 19.64
user 18.76
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35799009/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799009/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35799009/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 75.63
user 70.52
sys 4.18

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799009/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 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.72
user 0.29
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799009/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 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.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35799009/Model_4FGL_J1230.8+1223_weekly_bin942.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/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 58.17
user 56.20
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35798953/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35798953/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35798953/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35798953/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35798953/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35798953/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35798953/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35798953/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
e GAL_V02
Working on...
/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 65.05
user 63.45
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35798858/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35798858/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35798858/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35798858/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35798858/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35798858/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35798858/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35798858/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
 GAL_V02
Working on...
/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 62.03
user 60.17
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35798952/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35798952/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35798952/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35798952/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35798952/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35798952/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35798952/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35798952/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
 outfile=/lscratch/kocevski/35799456/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 19.05
user 18.16
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35799456/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799456/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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/35799456/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
.....................!
real 69.89
user 64.94
sys 3.92

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799456/cmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits scfile=/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits outfile=/lscratch/kocevski/35799456/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.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=187.712 yref=12.3883 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.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35799456/Model_4FGL_J1230.8+1223_weekly_bin942.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/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 65.39
user 63.36
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35798869/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35798869/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35798869/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35798869/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35798869/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35798869/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35798869/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35798869/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
e GAL_V02
Working on...
/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 62.05
user 60.15
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35798987/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35798987/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35798987/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35798987/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35798987/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35798987/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35798987/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35798987/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
e GAL_V02
Working on...
/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 62.73
user 60.52
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35799006/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35799006/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35799006/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35799006/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35799006/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35799006/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35799006/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35799006/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35798953/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:42:13.038296', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676133.04', return_code='0', job_id='35798953', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:42:13 PDT 2026

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

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
e GAL_V02
Working on...
/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 65.71
user 63.51
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35799009/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35799009/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35799009/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35799009/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35799009/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35799009/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35799009/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35799009/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35798952/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:42:38.329550', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676158.33', return_code='0', job_id='35798952', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:42:38 PDT 2026

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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35798858/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:42:39.060603', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676159.06', return_code='0', job_id='35798858', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:42:39 PDT 2026

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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35798869/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:42:40.196919', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676160.2', return_code='0', job_id='35798869', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:42:40 PDT 2026

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

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35798987/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:43:03.221818', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676183.22', return_code='0', job_id='35798987', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:43:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35799006/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:43:11.508519', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676191.51', return_code='0', job_id='35799006', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:43:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35799009/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:43:36.115241', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676216.12', return_code='0', job_id='35799009', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:43:36 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits.....................!
real 61.08
user 59.18
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits', '/lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits', expMap='/lscratch/kocevski/35799456/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', expCube='/lscratch/kocevski/35799456/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35799456/Model_4FGL_J1230.8+1223_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35799456/ft1_filtered_4FGL_J1230.8+1223_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35799456/ft2_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35799456/expmap_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35799456/ltcube_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35799456/Model_4FGL_J1230.8+1223_weekly_bin942.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) = 19083.8494803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26507E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25330E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3185       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29424E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76272E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37365E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6048       1.0000          .0000       .10000E+07
    11 'norm      '    1.8676       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19012E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .62082E-01   1.0000          .0000       .10000E+07
    14 'norm      '    22.036       1.0000          .0000       .10000E+07
    15 'norm      '    10.260       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1194       1.0000          .0000       .10000E+07
    17 'norm      '    10.942       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52990E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2862       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27379E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4968       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19083.79     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1449 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    4.9731       -.20402E-06** at limit **
   2  Prefactor     33.392        6.7888        .93772E-08    .71624E-02
   3  Prefactor     .27756E-09    16.598       -.84956E-08** at limit **
   4  Prefactor     8.3630        9.3017       -.10911E-06   -.10095E-01
   5  Prefactor      .0000        .61900        .76985E-07** at limit **
   6  Prefactor     .72164E-09    23.654        .13243E-06** at limit **
   7  Prefactor     .27756E-09    6.8681        .16433E-06** at limit **
   8  Prefactor      .0000        1.3616       -.43500E-07** at limit **
   9  Prefactor      .0000        1.9750        .73882E-07** at limit **
  10  Prefactor     5.5096        8.9173        .82400E-07   -.33980E-01
  11  norm          1.8670        2.1173        .31756E-07    .98841E-03
  12  Prefactor     .60507E-08    55.723       -.12264E-06** at limit **
  13  norm          .62101E-01    .86426E-01   -.10675E-07** at limit **
  14  norm          22.116        1.1012       -.21686E-08    .63509E-02
  15  norm          10.259        .69580        .47187E-08    .19008E-02
  16  Prefactor     9.1066        6.1172        .79337E-07    .21018E-03
  17  norm          10.942        1.5718       -.27367E-07   -.30480E-02
  18  Prefactor      .0000        2.7943        .11858E-07** at limit **
  19  Prefactor     3.3376        7.8219       -.11854E-07   -.11832E-02
  20  Prefactor     .19767E-05    38.520        .55137E-07** at limit **
  21  Normalizat    1.4966        .15252       -.80670E-06    .34225E-04
  22  Prefactor     .77465        .12765        .15615E-05    .51219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 33.3921
  Prefactor  = 2.77556e-10
  Prefactor  = 8.36299
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.50965
  norm       = 1.86703
  Prefactor  = 6.05072e-09
  norm       = 0.0621007
  norm       = 22.1158
  norm       = 10.2594
  Prefactor  = 9.10664
  norm       = 10.9424
  Prefactor  = 0
  Prefactor  = 3.3376
  Prefactor  = 1.9767e-06
  Normalizat = 1.4966
  Prefactor  = 0.774647
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.79     FROM HESSE     STATUS=OK           396 CALLS     1845 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    4.9889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.392        35.462        .17512E-03   -1.5592    
   3  Prefactor     .27756E-09    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3630        9.3911        .34735E-03   -1.5650    
   5  Prefactor      .0000        .61838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-09    23.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    6.8772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.5096        13.236        .42410E-03   -1.5661    
  11  norm          1.8670        2.3131        .76195E-03   -1.5681    
  12  Prefactor     .60507E-08    57.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62101E-01    .10158        .10550E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.116        25.506        .21308E-03   -1.5614    
  15  norm          10.259        .70576        .31258E-03   -1.5644    
  16  Prefactor     9.1066        6.1151        .33165E-03   -1.5648    
  17  norm          10.942        1.5733        .30263E-03   -1.5642    
  18  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3376        8.1282        .55829E-03   -1.5671    
  20  Prefactor     .19767E-05    3.2491        .13745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4966        .12964        .62421E-01   -.77874    
  22  Prefactor     .77465        .10737        .71806E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80056e-07
Minuit parameter uncertainties:
  1  0.000140636
  2  35.4624
  3  0.000141282
  4  9.39109
  5  2.06893e-06
  6  0.000257317
  7  9.16075e-05
  8  8.39416e-07
  9  4.54769e-06
  10  13.2358
  11  2.31312
  12  0.00117847
  13  0.101576
  14  25.5066
  15  0.70576
  16  6.11512
  17  1.57327
  18  5.16238e-06
  19  8.1282
  20  0.00506854
  21  0.129672
  22  0.107402
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  9.107e+00  6.115e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.746e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.497e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.01e-05

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) = 19083.7417633
delta logL = 0.0441774527826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19083.7409494
delta logL = 0.0449913842167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19083.74     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9877        149.08        .33317E-03    .23317E-02
   2  Index         1.8541        5.8273        .26657        .14907E-04
   3  Normalizat    1.5038        .97583E-01    .62301E-01    .11441E-03
   4  Prefactor     .77259        .46438E-01    .71899E-01    .99298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98774
  Index      = 1.85413
  Normalizat = 1.50382
  Prefactor  = 0.772592
 **********
 **   18 **HESSE 
 **********

 FCN=   19083.74     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9877        6.5205        .66633E-04   -1.5648    
   2  Index         1.8541        .64949        .13546E-01   -.68049    
   3  Normalizat    1.5038        .14865        .27552E-03   -.77671    
   4  Prefactor     .77259        .12753        .31819E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06589e-10
Minuit parameter uncertainties:
  1  6.52052
  2  0.652555
  3  0.148689
  4  0.12758
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) = 19083.7408844
delta logL = 0.045056370509

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.988e+00  6.521e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.854e+00  6.526e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.726e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.504e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.85 +/- 0.65
Photon Flux (Free Index): 1.73e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.74e-05

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/35799456/cmap_HighResolution_808704001_809308801_4FGL_J1230.8+1223_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.77e-05', photon_flux_error='1.67e-08', dlogl='4.51e-02', energy_flux='1.50e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2026-08-25 09:45:40.146205', photon_index_error2='0.65', photon_index2='1.85', ts='6.18', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.50', time_epoch_completed='1787676340.15', return_code='0', job_id='35799456', GAL2='0.77', EG2='1.50', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.40e-08', ts2='6.25', photon_index='2.06' WHERE bin_id='942' AND source_name='4FGL J1230.8+1223' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 09:45:40 PDT 2026

