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


Performing analysis on: 4FGL_J1231.7+2847_weekly_bin949
RA = 187.935, Dec = 28.7917
tmin = 812937601, tmax = 813542401
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='40712212', job_status='RUN', time_executed='2026-10-13 10:05:34.916984', time_epoch_executed='1791911134.92' WHERE source_name='4FGL J1231.7+2847' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712212

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712212/ft1_4FGL_J1231.7+2847_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712212/ft1_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712212/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits ra=187.935 dec=28.7917 rad=12.0 tmin=812937601.0 tmax=813542401.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 4.18
user 3.69
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.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/40712212/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2286

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

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

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

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

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

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

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


Performing analysis on: 4FGL_J1231.7+2847_weekly_bin949
RA = 187.935, Dec = 28.7917
tmin = 812937601, tmax = 813542401
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='40712271', job_status='RUN', time_executed='2026-10-13 10:06:17.157274', time_epoch_executed='1791911177.16' WHERE source_name='4FGL J1231.7+2847' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712271

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712271/ft1_4FGL_J1231.7+2847_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712271/ft1_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712271/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits ra=187.935 dec=28.7917 rad=12.0 tmin=812937601.0 tmax=813542401.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 4.53
user 3.84
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.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/40712271/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.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.75
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 2286

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" outfile=/lscratch/kocevski/40712212/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 17.84
user 16.55
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712212/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712212/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712212/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 59.90
user 55.86
sys 3.34

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

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712212/cmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.59
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712212/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712212/Model_4FGL_J1231.7+2847_weekly_bin949.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 = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1231.7+2847_weekly_bin949
RA = 187.935, Dec = 28.7917
tmin = 812937601, tmax = 813542401
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='40712342', job_status='RUN', time_executed='2026-10-13 10:07:57.556559', time_epoch_executed='1791911277.56' WHERE source_name='4FGL J1231.7+2847' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712342

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712342/ft1_4FGL_J1231.7+2847_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712342/ft1_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712342/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits ra=187.935 dec=28.7917 rad=12.0 tmin=812937601.0 tmax=813542401.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 4.61
user 3.90
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.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/40712342/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.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.62
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 2286

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA"number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1231.7+2847_weekly_bin949
RA = 187.935, Dec = 28.7917
tmin = 812937601, tmax = 813542401
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='40712389', job_status='RUN', time_executed='2026-10-13 10:08:54.324622', time_epoch_executed='1791911334.32' WHERE source_name='4FGL J1231.7+2847' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712389

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712389/ft1_4FGL_J1231.7+2847_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712389/ft1_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712389/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits ra=187.935 dec=28.7917 rad=12.0 tmin=812937601.0 tmax=813542401.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 4.18
user 3.66
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.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/40712389/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.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.78
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 2286

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA"number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1231.7+2847_weekly_bin949
RA = 187.935, Dec = 28.7917
tmin = 812937601, tmax = 813542401
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='40712402', job_status='RUN', time_executed='2026-10-13 10:09:24.942801', time_epoch_executed='1791911364.94' WHERE source_name='4FGL J1231.7+2847' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712402

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712402/ft1_4FGL_J1231.7+2847_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712402/ft1_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712402/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits ra=187.935 dec=28.7917 rad=12.0 tmin=812937601.0 tmax=813542401.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 4.20
user 3.66
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.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/40712402/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.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.69
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 2286

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA"number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1231.7+2847_weekly_bin949
RA = 187.935, Dec = 28.7917
tmin = 812937601, tmax = 813542401
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='40712420', job_status='RUN', time_executed='2026-10-13 10:10:02.950482', time_epoch_executed='1791911402.95' WHERE source_name='4FGL J1231.7+2847' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712420

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712420/ft1_4FGL_J1231.7+2847_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712420/ft1_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712420/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits ra=187.935 dec=28.7917 rad=12.0 tmin=812937601.0 tmax=813542401.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 4.26
user 3.77
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.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/40712420/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.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.63
user 0.25
sys 0.12

Number of photons that the gtmktime cut: 2286

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA"number of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1231.7+2847_weekly_bin949
RA = 187.935, Dec = 28.7917
tmin = 812937601, tmax = 813542401
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='40712446', job_status='RUN', time_executed='2026-10-13 10:10:37.107758', time_epoch_executed='1791911437.11' WHERE source_name='4FGL J1231.7+2847' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40712446

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40712446/ft1_4FGL_J1231.7+2847_weekly_bin949.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40712446/ft1_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712446/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits ra=187.935 dec=28.7917 rad=12.0 tmin=812937601.0 tmax=813542401.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 4.69
user 4.19
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.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/40712446/ft1_filteredMKT_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.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.63
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 2286

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" outfile=/lscratch/kocevski/40712271/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 16.99
user 15.97
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712271/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712271/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712271/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 60.73
user 56.48
sys 3.52

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

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712271/cmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712271/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.63
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712271/Model_4FGL_J1231.7+2847_weekly_bin949.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/40712342/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 18.62
user 17.85
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712342/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712342/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712342/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 67.78
user 63.40
sys 3.76

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

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712342/cmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.60
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712342/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.64
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712342/Model_4FGL_J1231.7+2847_weekly_bin949.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/40712389/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 16.44
user 15.84
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712389/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712389/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712389/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 64.53
user 60.54
sys 3.39

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

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712389/cmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.63
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712389/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.68
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712389/Model_4FGL_J1231.7+2847_weekly_bin949.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/40712402/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 17.40
user 16.70
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712402/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712402/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712402/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 65.54
user 61.26
sys 3.73

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

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712402/cmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.58
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712402/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.63
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712402/Model_4FGL_J1231.7+2847_weekly_bin949.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/40712420/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 21.19
user 20.54
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712420/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712420/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712420/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 66.02
user 61.66
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 194 point sources and 0 extended sources

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712420/cmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.60
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712420/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.65
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712420/Model_4FGL_J1231.7+2847_weekly_bin949.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/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits.....................!
real 61.08
user 59.51
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits', '/lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits', expMap='/lscratch/kocevski/40712212/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', expCube='/lscratch/kocevski/40712212/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712212/Model_4FGL_J1231.7+2847_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712212/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712212/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712212/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712212/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712212/Model_4FGL_J1231.7+2847_weekly_bin949.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) = 24760.0406533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35607E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63632E-06   1.0000          .0000       .10000E+07
     3 'norm      '    17.900       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99942E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40301E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.3432       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93340       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0163       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4844       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28447E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .18239       1.0000          .0000       .10000E+07
    12 'norm      '    14.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2485       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23830E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45632E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45183E-04   1.0000          .0000       .10000E+07
    17 'norm      '    14.049       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.420       1.0000          .0000       .10000E+07
    19 'norm      '    24.853       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4047       1.0000          .0000       .10000E+07
    21 'norm      '    .10830E-03   1.0000          .0000       .10000E+07
    22 'norm      '    28.529       1.0000          .0000       .10000E+07
    23 'norm      '    .90951E-03   1.0000          .0000       .10000E+07
    24 'norm      '    12.018       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15932E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1333       1.0000         outfile=/lscratch/kocevski/40712446/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 18.77
user 18.19
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40712446/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712446/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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/40712446/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
.....................!
real 69.52
user 64.92
sys 3.98

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

Setting source of interest to:
4FGL J1231.7+2847 @ 187.935 28.7917

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712446/cmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.69
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits scfile=/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits outfile=/lscratch/kocevski/40712446/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.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.935 yref=28.7917 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.59
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40712446/Model_4FGL_J1231.7+2847_weekly_bin949.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 .10000E-01   10.000    
    28 'Prefactor '    1.0899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24759.90     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1998 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .68112       -.98079E-08** at limit **
   2  Prefactor      .0000        .68561        .57178E-08** at limit **
   3  norm          17.902        1.3862       -.84175E-08    .91889E-02
   4  Prefactor     .36082E-08    6.7459        .12213E-06** at limit **
   5  Prefactor      .0000        .65143        .26383E-07** at limit **
   6  norm          4.3429        1.5937       -.46800E-09    .11624E-02
   7  Prefactor     .91983        3.3096       -.77964E-06   -.10954E-01
   8  Prefactor     1.0166        .82389       -.36323E-07   -.32261E-02
   9  Prefactor     3.4830        1.3713        .12014E-08   -.16325E-02
  10  Prefactor      .0000        .82239        .91873E-07** at limit **
  11  norm          .18229        .10528       -.97412E-08** at limit **
  12  norm          14.768        3.3420        .58921E-08   -.18059E-02
  13  Prefactor     2.2458        2.4810       -.78010E-08   -.20361E-02
  14  Prefactor     .15582E-06    3.8008        .43571E-06** at limit **
  15  Prefactor      .0000        .89390       -.74520E-07** at limit **
  16  Prefactor      .0000        1.5492       -.67706E-07** at limit **
  17  norm          14.037        2.3931        .44960E-07   -.49972E-02
  18  Prefactor     11.696        1.7746        .93040E-07   -.23471E-01
  19  norm          24.844        3.6651       -.23245E-06   -.14147E-01
  20  Prefactor     4.4035        1.8701       -.75765E-07   -.63108E-02
  21  norm          .55511E-10    .82688        .71604E-07** at limit **
  22  norm          28.517        2.7885       -.62351E-07   -.14044E-02
  23  norm          .12329E-06    4.4809       -.53111E-08** at limit **
  24  norm          12.026        1.0538        .11350E-07   -.66926E-03
  25  Prefactor     .16653E-09    .42413        .45978E-07** at limit **
  26  Prefactor      .0000        1.8840        .40591E-07** at limit **
  27  Normalizat    1.1330        .13014        .17518E-05    .34309E-03
  28  Prefactor     1.0901        .14501        .26194E-06    .32086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.9021
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  norm       = 4.34286
  Prefactor  = 0.919832
  Prefactor  = 1.01659
  Prefactor  = 3.48297
  Prefactor  = 0
  norm       = 0.182289
  norm       = 14.7684
  Prefactor  = 2.24582
  Prefactor  = 1.5582e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 14.0373
  Prefactor  = 11.6959
  norm       = 24.8443
  Prefactor  = 4.40352
  norm       = 5.55112e-11
  norm       = 28.517
  norm       = 1.2329e-07
  norm       = 12.0257
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 1.13303
  Prefactor  = 1.09009
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.90     FROM HESSE     STATUS=OK           595 CALLS     2593 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.4904        .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .65798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.902        1.3976        .23645E-03   -1.5623    
   4  Prefactor     .36082E-08    .93305        .55811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .66340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3429        1.6010        .48309E-03   -1.5666    
   7  Prefactor     .91983        3.4144        .43478E-03   -1.5689    
   8  Prefactor     1.0166        .81565        .12925E-02   -1.5688    
   9  Prefactor     3.4830        1.3774        .54145E-03   -1.5671    
  10  Prefactor      .0000        .82587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18229        .11667        .84704E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.768        3.3478        .26075E-03   -1.5631    
  13  Prefactor     2.2458        2.4846        .68499E-03   -1.5678    
  14  Prefactor     .15582E-06    7.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .90461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.5575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.037        3.9971        .26697E-03   -1.5633    
  18  Prefactor     11.696        14.622        .29620E-03   -1.5640    
  19  norm          24.844        3.8548        .20063E-03   -1.5608    
  20  Prefactor     4.4035        6.5152        .47962E-03   -1.5666    
  21  norm          .55511E-10    1.1400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.517        3.6032        .18725E-03   -1.5601    
  23  norm          .12329E-06    8.0027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.026        10.462        .28871E-03   -1.5639    
  25  Prefactor     .16653E-09    1.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1330        .10923        .65761E-01   -.88698    
  28  Prefactor     1.0901        .12101        .76464E-01   -.89784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70612e-08
Minuit parameter uncertainties:
  1  4.44896e-05
  2  1.56764e-06
  3  1.39759
  4  0.00011605
  5  1.10949e-06
  6  1.60105
  7  3.41439
  8  0.81565
  9  1.37743
  10  1.43928e-06
  11  0.11667
  12  3.34784
  13  2.48456
  14  0.00220075
  15  7.51438e-06
  16  3.28783e-06
  17  3.99712
  18  14.6225
  19  3.85481
  20  6.51523
  21  1.9144e-05
  22  3.60318
  23  0.00198643
  24  10.4625
  25  2.94141e-05
  26  4.75437e-06
  27  0.109252
  28  0.121045
e GAL_V02
Working on...
/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits.....................!
real 63.25
user 61.26
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits', '/lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits', expMap='/lscratch/kocevski/40712271/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', expCube='/lscratch/kocevski/40712271/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712271/Model_4FGL_J1231.7+2847_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712271/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712271/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712271/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712271/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712271/Model_4FGL_J1231.7+2847_weekly_bin949.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) = 24760.0406533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35607E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63632E-06   1.0000          .0000       .10000E+07
     3 'norm      '    17.900       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99942E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40301E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.3432       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93340       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0163       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4844       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28447E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .18239       1.0000          .0000       .10000E+07
    12 'norm      '    14.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2485       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23830E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45632E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45183E-04   1.0000          .0000       .10000E+07
    17 'norm      '    14.049       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.420       1.0000          .0000       .10000E+07
    19 'norm      '    24.853       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4047       1.0000          .0000       .10000E+07
    21 'norm      '    .10830E-03   1.0000          .0000       .10000E+07
    22 'norm      '    28.529       1.0000          .0000       .10000E+07
    23 'norm      '    .90951E-03   1.0000          .0000       .10000E+07
    24 'norm      '    12.018       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15932E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1333       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24759.90     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1998 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .68112       -.98079E-08** at limit **
   2  Prefactor      .0000        .68561        .57178E-08** at limit **
   3  norm          17.902        1.3862       -.84175E-08    .91889E-02
   4  Prefactor     .36082E-08    6.7459        .12213E-06** at limit **
   5  Prefactor      .0000        .65143        .26383E-07** at limit **
   6  norm          4.3429        1.5937       -.46800E-09    .11624E-02
   7  Prefactor     .91983        3.3096       -.77964E-06   -.10954E-01
   8  Prefactor     1.0166        .82389       -.36323E-07   -.32261E-02
   9  Prefactor     3.4830        1.3713        .12014E-08   -.16325E-02
  10  Prefactor      .0000        .82239        .91873E-07** at limit **
  11  norm          .18229        .10528       -.97412E-08** at limit **
  12  norm          14.768        3.3420        .58921E-08   -.18059E-02
  13  Prefactor     2.2458        2.4810       -.78010E-08   -.20361E-02
  14  Prefactor     .15582E-06    3.8008        .43571E-06** at limit **
  15  Prefactor      .0000        .89390       -.74520E-07** at limit **
  16  Prefactor      .0000        1.5492       -.67706E-07** at limit **
  17  norm          14.037        2.3931        .44960E-07   -.49972E-02
  18  Prefactor     11.696        1.7746        .93040E-07   -.23471E-01
  19  norm          24.844        3.6651       -.23245E-06   -.14147E-01
  20  Prefactor     4.4035        1.8701       -.75765E-07   -.63108E-02
  21  norm          .55511E-10    .82688        .71604E-07** at limit **
  22  norm          28.517        2.7885       -.62351E-07   -.14044E-02
  23  norm          .12329E-06    4.4809       -.53111E-08** at limit **
  24  norm          12.026        1.0538        .11350E-07   -.66926E-03
  25  Prefactor     .16653E-09    .42413        .45978E-07** at limit **
  26  Prefactor      .0000        1.8840        .40591E-07** at limit **
  27  Normalizat    1.1330        .13014        .17518E-05    .34309E-03
  28  Prefactor     1.0901        .14501        .26194E-06    .32086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.9021
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  norm       = 4.34286
  Prefactor  = 0.919832
  Prefactor  = 1.01659
  Prefactor  = 3.48297
  Prefactor  = 0
  norm       = 0.182289
  norm       = 14.7684
  Prefactor  = 2.24582
  Prefactor  = 1.5582e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 14.0373
  Prefactor  = 11.6959
  norm       = 24.8443
  Prefactor  = 4.40352
  norm       = 5.55112e-11
  norm       = 28.517
  norm       = 1.2329e-07
  norm       = 12.0257
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 1.13303
  Prefactor  = 1.09009
Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  2.246e+00  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.090e+00  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.133e+00  1.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.70e-09 +/- 6.31e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 4.39e-06

TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 2.65793531732e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199308249669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40712212/likelihoodResults_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7532677
delta logL = 0.151094375957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7434
delta logL = 0.160962058264

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24759.74     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      260 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8945        2.3290        .23280E-04    .20627E-02
   2  Index         1.4785        .78975        .18453E-01    .18643E-04
   3  Normalizat    1.1365        .12601        .29053E-03    .13329E-02
   4  Prefactor     1.0886        .14466        .33862E-03    .78858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89454
  Index      = 1.47852
  Normalizat = 1.1365
  Prefactor  = 1.08859
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.74     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8945        2.3890        .93121E-06   -1.5680    
   2  Index         1.4785        .81020        .73813E-03   -.78143    
   3  Normalizat    1.1365        .12613        .58106E-04   -.88588    
   4  Prefactor     1.0886        .14480        .13545E-04   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1659e-10
Minuit parameter uncertainties:
  1  2.38899
  2  0.817409
  3  0.126163
  4  0.144847
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) = 24759.7433998
delta logL = 0.160962281636

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  1.895e+00  2.389e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.479e+00  8.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.089e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.136e+00  1.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 187.935 28.792
Photon Index (Free Index): 1.48 +/- 0.82
Photon Flux (Free Index): 2.29e-09 +/- 4.06e-09
Energy Flux (Free Index): 7.80e-06 +/- 1.37e-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/40712212/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', comment='SUCCESS', photon_flux='5.70e-09', energy_flux2='7.80e-06', photon_flux_error='6.31e-09', dlogl='1.61e-01', energy_flux='3.96e-06', photon_flux2='2.29e-09', job_status='DONE', time_completed='2026-10-13 10:20:29.067415', photon_index_error2='0.82', photon_index2='1.48', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.66e-08', energy_flux_error2='1.37e-05', EG='1.13', time_epoch_completed='1791912029.07', return_code='0', job_id='40712212', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='4.39e-06', photon_flux_error2='4.06e-09', ts2='2.86', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1231.7+2847' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:20:29 PDT 2026

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

 FCN=   24759.90     FROM HESSE     STATUS=OK           595 CALLS     2593 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.4904        .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .65798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.902        1.3976        .23645E-03   -1.5623    
   4  Prefactor     .36082E-08    .93305        .55811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .66340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3429        1.6010        .48309E-03   -1.5666    
   7  Prefactor     .91983        3.4144        .43478E-03   -1.5689    
   8  Prefactor     1.0166        .81565        .12925E-02   -1.5688    
   9  Prefactor     3.4830        1.3774        .54145E-03   -1.5671    
  10  Prefactor      .0000        .82587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18229        .11667        .84704E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.768        3.3478        .26075E-03   -1.5631    
  13  Prefactor     2.2458        2.4846        .68499E-03   -1.5678    
  14  Prefactor     .15582E-06    7.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .90461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.5575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.037        3.9971        .26697E-03   -1.5633    
  18  Prefactor     11.696        14.622        .29620E-03   -1.5640    
  19  norm          24.844        3.8548        .20063E-03   -1.5608    
  20  Prefactor     4.4035        6.5152        .47962E-03   -1.5666    
  21  norm          .55511E-10    1.1400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.517        3.6032        .18725E-03   -1.5601    
  23  norm          .12329E-06    8.0027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.026        10.462        .28871E-03   -1.5639    
  25  Prefactor     .16653E-09    1.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1330        .10923        .65761E-01   -.88698    
  28  Prefactor     1.0901        .12101        .76464E-01   -.89784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70612e-08
Minuit parameter uncertainties:
  1  4.44896e-05
  2  1.56764e-06
  3  1.39759
  4  0.00011605
  5  1.10949e-06
  6  1.60105
  7  3.41439
  8  0.81565
  9  1.37743
  10  1.43928e-06
  11  0.11667
  12  3.34784
  13  2.48456
  14  0.00220075
  15  7.51438e-06
  16  3.28783e-06
  17  3.99712
  18  14.6225
  19  3.85481
  20  6.51523
  21  1.9144e-05
  22  3.60318
  23  0.00198643
  24  10.4625
  25  2.94141e-05
  26  4.75437e-06
  27  0.109252
  28  0.121045
e GAL_V02
Working on...
/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits.....................!
real 71.47
user 69.63
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits', '/lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits', expMap='/lscratch/kocevski/40712342/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', expCube='/lscratch/kocevski/40712342/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712342/Model_4FGL_J1231.7+2847_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712342/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712342/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712342/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712342/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712342/Model_4FGL_J1231.7+2847_weekly_bin949.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) = 24760.0406533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35607E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63632E-06   1.0000          .0000       .10000E+07
     3 'norm      '    17.900       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99942E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40301E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.3432       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93340       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0163       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4844       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28447E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .18239       1.0000          .0000       .10000E+07
    12 'norm      '    14.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2485       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23830E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45632E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45183E-04   1.0000          .0000       .10000E+07
    17 'norm      '    14.049       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.420       1.0000          .0000       .10000E+07
    19 'norm      '    24.853       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4047       1.0000          .0000       .10000E+07
    21 'norm      '    .10830E-03   1.0000          .0000       .10000E+07
    22 'norm      '    28.529       1.0000          .0000       .10000E+07
    23 'norm      '    .90951E-03   1.0000          .0000       .10000E+07
    24 'norm      '    12.018       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15932E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1333       1.0000        e GAL_V02
Working on...
/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits.....................!
real 69.08
user 67.50
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits', '/lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits', expMap='/lscratch/kocevski/40712389/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', expCube='/lscratch/kocevski/40712389/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712389/Model_4FGL_J1231.7+2847_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712389/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712389/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712389/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712389/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712389/Model_4FGL_J1231.7+2847_weekly_bin949.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) = 24760.0406533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35607E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63632E-06   1.0000          .0000       .10000E+07
     3 'norm      '    17.900       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99942E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40301E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.3432       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93340       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0163       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4844       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28447E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .18239       1.0000          .0000       .10000E+07
    12 'norm      '    14.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2485       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23830E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45632E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45183E-04   1.0000          .0000       .10000E+07
    17 'norm      '    14.049       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.420       1.0000          .0000       .10000E+07
    19 'norm      '    24.853       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4047       1.0000          .0000       .10000E+07
    21 'norm      '    .10830E-03   1.0000          .0000       .10000E+07
    22 'norm      '    28.529       1.0000          .0000       .10000E+07
    23 'norm      '    .90951E-03   1.0000          .0000       .10000E+07
    24 'norm      '    12.018       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15932E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1333       1.0000        e GAL_V02
Working on...
/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits.....................!
real 70.16
user 68.26
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits', '/lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits', expMap='/lscratch/kocevski/40712402/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', expCube='/lscratch/kocevski/40712402/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712402/Model_4FGL_J1231.7+2847_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712402/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712402/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712402/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712402/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712402/Model_4FGL_J1231.7+2847_weekly_bin949.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) = 24760.0406533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35607E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63632E-06   1.0000          .0000       .10000E+07
     3 'norm      '    17.900       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99942E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40301E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.3432       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93340       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0163       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4844       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28447E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .18239       1.0000          .0000       .10000E+07
    12 'norm      '    14.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2485       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23830E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45632E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45183E-04   1.0000          .0000       .10000E+07
    17 'norm      '    14.049       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.420       1.0000          .0000       .10000E+07
    19 'norm      '    24.853       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4047       1.0000          .0000       .10000E+07
    21 'norm      '    .10830E-03   1.0000          .0000       .10000E+07
    22 'norm      '    28.529       1.0000          .0000       .10000E+07
    23 'norm      '    .90951E-03   1.0000          .0000       .10000E+07
    24 'norm      '    12.018       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15932E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1333       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24759.90     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1998 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .68112       -.98079E-08** at limit **
   2  Prefactor      .0000        .68561        .57178E-08** at limit **
   3  norm          17.902        1.3862       -.84175E-08    .91889E-02
   4  Prefactor     .36082E-08    6.7459        .12213E-06** at limit **
   5  Prefactor      .0000        .65143        .26383E-07** at limit **
   6  norm          4.3429        1.5937       -.46800E-09    .11624E-02
   7  Prefactor     .91983        3.3096       -.77964E-06   -.10954E-01
   8  Prefactor     1.0166        .82389       -.36323E-07   -.32261E-02
   9  Prefactor     3.4830        1.3713        .12014E-08   -.16325E-02
  10  Prefactor      .0000        .82239        .91873E-07** at limit **
  11  norm          .18229        .10528       -.97412E-08** at limit **
  12  norm          14.768        3.3420        .58921E-08   -.18059E-02
  13  Prefactor     2.2458        2.4810       -.78010E-08   -.20361E-02
  14  Prefactor     .15582E-06    3.8008        .43571E-06** at limit **
  15  Prefactor      .0000        .89390       -.74520E-07** at limit **
  16  Prefactor      .0000        1.5492       -.67706E-07** at limit **
  17  norm          14.037        2.3931        .44960E-07   -.49972E-02
  18  Prefactor     11.696        1.7746        .93040E-07   -.23471E-01
  19  norm          24.844        3.6651       -.23245E-06   -.14147E-01
  20  Prefactor     4.4035        1.8701       -.75765E-07   -.63108E-02
  21  norm          .55511E-10    .82688        .71604E-07** at limit **
  22  norm          28.517        2.7885       -.62351E-07   -.14044E-02
  23  norm          .12329E-06    4.4809       -.53111E-08** at limit **
  24  norm          12.026        1.0538        .11350E-07   -.66926E-03
  25  Prefactor     .16653E-09    .42413        .45978E-07** at limit **
  26  Prefactor      .0000        1.8840        .40591E-07** at limit **
  27  Normalizat    1.1330        .13014        .17518E-05    .34309E-03
  28  Prefactor     1.0901        .14501        .26194E-06    .32086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.9021
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  norm       = 4.34286
  Prefactor  = 0.919832
  Prefactor  = 1.01659
  Prefactor  = 3.48297
  Prefactor  = 0
  norm       = 0.182289
  norm       = 14.7684
  Prefactor  = 2.24582
  Prefactor  = 1.5582e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 14.0373
  Prefactor  = 11.6959
  norm       = 24.8443
  Prefactor  = 4.40352
  norm       = 5.55112e-11
  norm       = 28.517
  norm       = 1.2329e-07
  norm       = 12.0257
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 1.13303
  Prefactor  = 1.09009
 .10000E-01   10.000    
    28 'Prefactor '    1.0899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24759.90     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1998 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .68112       -.98079E-08** at limit **
   2  Prefactor      .0000        .68561        .57178E-08** at limit **
   3  norm          17.902        1.3862       -.84175E-08    .91889E-02
   4  Prefactor     .36082E-08    6.7459        .12213E-06** at limit **
   5  Prefactor      .0000        .65143        .26383E-07** at limit **
   6  norm          4.3429        1.5937       -.46800E-09    .11624E-02
   7  Prefactor     .91983        3.3096       -.77964E-06   -.10954E-01
   8  Prefactor     1.0166        .82389       -.36323E-07   -.32261E-02
   9  Prefactor     3.4830        1.3713        .12014E-08   -.16325E-02
  10  Prefactor      .0000        .82239        .91873E-07** at limit **
  11  norm          .18229        .10528       -.97412E-08** at limit **
  12  norm          14.768        3.3420        .58921E-08   -.18059E-02
  13  Prefactor     2.2458        2.4810       -.78010E-08   -.20361E-02
  14  Prefactor     .15582E-06    3.8008        .43571E-06** at limit **
  15  Prefactor      .0000        .89390       -.74520E-07** at limit **
  16  Prefactor      .0000        1.5492       -.67706E-07** at limit **
  17  norm          14.037        2.3931        .44960E-07   -.49972E-02
  18  Prefactor     11.696        1.7746        .93040E-07   -.23471E-01
  19  norm          24.844        3.6651       -.23245E-06   -.14147E-01
  20  Prefactor     4.4035        1.8701       -.75765E-07   -.63108E-02
  21  norm          .55511E-10    .82688        .71604E-07** at limit **
  22  norm          28.517        2.7885       -.62351E-07   -.14044E-02
  23  norm          .12329E-06    4.4809       -.53111E-08** at limit **
  24  norm          12.026        1.0538        .11350E-07   -.66926E-03
  25  Prefactor     .16653E-09    .42413        .45978E-07** at limit **
  26  Prefactor      .0000        1.8840        .40591E-07** at limit **
  27  Normalizat    1.1330        .13014        .17518E-05    .34309E-03
  28  Prefactor     1.0901        .14501        .26194E-06    .32086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.9021
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  norm       = 4.34286
  Prefactor  = 0.919832
  Prefactor  = 1.01659
  Prefactor  = 3.48297
  Prefactor  = 0
  norm       = 0.182289
  norm       = 14.7684
  Prefactor  = 2.24582
  Prefactor  = 1.5582e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 14.0373
  Prefactor  = 11.6959
  norm       = 24.8443
  Prefactor  = 4.40352
  norm       = 5.55112e-11
  norm       = 28.517
  norm       = 1.2329e-07
  norm       = 12.0257
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 1.13303
  Prefactor  = 1.09009
e GAL_V02
Working on...
/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits.....................!
real 71.47
user 69.32
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits', '/lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits', expMap='/lscratch/kocevski/40712420/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', expCube='/lscratch/kocevski/40712420/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712420/Model_4FGL_J1231.7+2847_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712420/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712420/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712420/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712420/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712420/Model_4FGL_J1231.7+2847_weekly_bin949.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) = 24760.0406533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35607E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63632E-06   1.0000          .0000       .10000E+07
     3 'norm      '    17.900       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99942E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40301E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.3432       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93340       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0163       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4844       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28447E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .18239       1.0000          .0000       .10000E+07
    12 'norm      '    14.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2485       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23830E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45632E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45183E-04   1.0000          .0000       .10000E+07
    17 'norm      '    14.049       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.420       1.0000          .0000       .10000E+07
    19 'norm      '    24.853       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4047       1.0000          .0000       .10000E+07
    21 'norm      '    .10830E-03   1.0000          .0000       .10000E+07
    22 'norm      '    28.529       1.0000          .0000       .10000E+07
    23 'norm      '    .90951E-03   1.0000          .0000       .10000E+07
    24 'norm      '    12.018       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15932E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1333       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24759.90     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1998 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .68112       -.98079E-08** at limit **
   2  Prefactor      .0000        .68561        .57178E-08** at limit **
   3  norm          17.902        1.3862       -.84175E-08    .91889E-02
   4  Prefactor     .36082E-08    6.7459        .12213E-06** at limit **
   5  Prefactor      .0000        .65143        .26383E-07** at limit **
   6  norm          4.3429        1.5937       -.46800E-09    .11624E-02
   7  Prefactor     .91983        3.3096       -.77964E-06   -.10954E-01
   8  Prefactor     1.0166        .82389       -.36323E-07   -.32261E-02
   9  Prefactor     3.4830        1.3713        .12014E-08   -.16325E-02
  10  Prefactor      .0000        .82239        .91873E-07** at limit **
  11  norm          .18229        .10528       -.97412E-08** at limit **
  12  norm          14.768        3.3420        .58921E-08   -.18059E-02
  13  Prefactor     2.2458        2.4810       -.78010E-08   -.20361E-02
  14  Prefactor     .15582E-06    3.8008        .43571E-06** at limit **
  15  Prefactor      .0000        .89390       -.74520E-07** at limit **
  16  Prefactor      .0000        1.5492       -.67706E-07** at limit **
  17  norm          14.037        2.3931        .44960E-07   -.49972E-02
  18  Prefactor     11.696        1.7746        .93040E-07   -.23471E-01
  19  norm          24.844        3.6651       -.23245E-06   -.14147E-01
  20  Prefactor     4.4035        1.8701       -.75765E-07   -.63108E-02
  21  norm          .55511E-10    .82688        .71604E-07** at limit **
  22  norm          28.517        2.7885       -.62351E-07   -.14044E-02
  23  norm          .12329E-06    4.4809       -.53111E-08** at limit **
  24  norm          12.026        1.0538        .11350E-07   -.66926E-03
  25  Prefactor     .16653E-09    .42413        .45978E-07** at limit **
  26  Prefactor      .0000        1.8840        .40591E-07** at limit **
  27  Normalizat    1.1330        .13014        .17518E-05    .34309E-03
  28  Prefactor     1.0901        .14501        .26194E-06    .32086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.9021
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  norm       = 4.34286
  Prefactor  = 0.919832
  Prefactor  = 1.01659
  Prefactor  = 3.48297
  Prefactor  = 0
  norm       = 0.182289
  norm       = 14.7684
  Prefactor  = 2.24582
  Prefactor  = 1.5582e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 14.0373
  Prefactor  = 11.6959
  norm       = 24.8443
  Prefactor  = 4.40352
  norm       = 5.55112e-11
  norm       = 28.517
  norm       = 1.2329e-07
  norm       = 12.0257
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 1.13303
  Prefactor  = 1.09009
e GAL_V02
Working on...
/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits.....................!
real 72.78
user 70.79
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits', '/lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits', expMap='/lscratch/kocevski/40712446/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', expCube='/lscratch/kocevski/40712446/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40712446/Model_4FGL_J1231.7+2847_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.7+2847'

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  7.388e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40712446/ft1_filtered_4FGL_J1231.7+2847_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40712446/ft2_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40712446/expmap_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40712446/ltcube_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40712446/Model_4FGL_J1231.7+2847_weekly_bin949.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) = 24760.0406533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35607E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63632E-06   1.0000          .0000       .10000E+07
     3 'norm      '    17.900       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99942E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40301E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.3432       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93340       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0163       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4844       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28447E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .18239       1.0000          .0000       .10000E+07
    12 'norm      '    14.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2485       1.0000          .0000       .10000E+07
    14 'Prefactor '    .23830E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45632E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45183E-04   1.0000          .0000       .10000E+07
    17 'norm      '    14.049       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.420       1.0000          .0000       .10000E+07
    19 'norm      '    24.853       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.4047       1.0000          .0000       .10000E+07
    21 'norm      '    .10830E-03   1.0000          .0000       .10000E+07
    22 'norm      '    28.529       1.0000          .0000       .10000E+07
    23 'norm      '    .90951E-03   1.0000          .0000       .10000E+07
    24 'norm      '    12.018       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15932E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1333       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24759.90     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1998 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .68112       -.98079E-08** at limit **
   2  Prefactor      .0000        .68561        .57178E-08** at limit **
   3  norm          17.902        1.3862       -.84175E-08    .91889E-02
   4  Prefactor     .36082E-08    6.7459        .12213E-06** at limit **
   5  Prefactor      .0000        .65143        .26383E-07** at limit **
   6  norm          4.3429        1.5937       -.46800E-09    .11624E-02
   7  Prefactor     .91983        3.3096       -.77964E-06   -.10954E-01
   8  Prefactor     1.0166        .82389       -.36323E-07   -.32261E-02
   9  Prefactor     3.4830        1.3713        .12014E-08   -.16325E-02
  10  Prefactor      .0000        .82239        .91873E-07** at limit **
  11  norm          .18229        .10528       -.97412E-08** at limit **
  12  norm          14.768        3.3420        .58921E-08   -.18059E-02
  13  Prefactor     2.2458        2.4810       -.78010E-08   -.20361E-02
  14  Prefactor     .15582E-06    3.8008        .43571E-06** at limit **
  15  Prefactor      .0000        .89390       -.74520E-07** at limit **
  16  Prefactor      .0000        1.5492       -.67706E-07** at limit **
  17  norm          14.037        2.3931        .44960E-07   -.49972E-02
  18  Prefactor     11.696        1.7746        .93040E-07   -.23471E-01
  19  norm          24.844        3.6651       -.23245E-06   -.14147E-01
  20  Prefactor     4.4035        1.8701       -.75765E-07   -.63108E-02
  21  norm          .55511E-10    .82688        .71604E-07** at limit **
  22  norm          28.517        2.7885       -.62351E-07   -.14044E-02
  23  norm          .12329E-06    4.4809       -.53111E-08** at limit **
  24  norm          12.026        1.0538        .11350E-07   -.66926E-03
  25  Prefactor     .16653E-09    .42413        .45978E-07** at limit **
  26  Prefactor      .0000        1.8840        .40591E-07** at limit **
  27  Normalizat    1.1330        .13014        .17518E-05    .34309E-03
  28  Prefactor     1.0901        .14501        .26194E-06    .32086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.9021
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  norm       = 4.34286
  Prefactor  = 0.919832
  Prefactor  = 1.01659
  Prefactor  = 3.48297
  Prefactor  = 0
  norm       = 0.182289
  norm       = 14.7684
  Prefactor  = 2.24582
  Prefactor  = 1.5582e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 14.0373
  Prefactor  = 11.6959
  norm       = 24.8443
  Prefactor  = 4.40352
  norm       = 5.55112e-11
  norm       = 28.517
  norm       = 1.2329e-07
  norm       = 12.0257
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 1.13303
  Prefactor  = 1.09009
 .10000E-01   10.000    
    28 'Prefactor '    1.0899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24759.90     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1998 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .68112       -.98079E-08** at limit **
   2  Prefactor      .0000        .68561        .57178E-08** at limit **
   3  norm          17.902        1.3862       -.84175E-08    .91889E-02
   4  Prefactor     .36082E-08    6.7459        .12213E-06** at limit **
   5  Prefactor      .0000        .65143        .26383E-07** at limit **
   6  norm          4.3429        1.5937       -.46800E-09    .11624E-02
   7  Prefactor     .91983        3.3096       -.77964E-06   -.10954E-01
   8  Prefactor     1.0166        .82389       -.36323E-07   -.32261E-02
   9  Prefactor     3.4830        1.3713        .12014E-08   -.16325E-02
  10  Prefactor      .0000        .82239        .91873E-07** at limit **
  11  norm          .18229        .10528       -.97412E-08** at limit **
  12  norm          14.768        3.3420        .58921E-08   -.18059E-02
  13  Prefactor     2.2458        2.4810       -.78010E-08   -.20361E-02
  14  Prefactor     .15582E-06    3.8008        .43571E-06** at limit **
  15  Prefactor      .0000        .89390       -.74520E-07** at limit **
  16  Prefactor      .0000        1.5492       -.67706E-07** at limit **
  17  norm          14.037        2.3931        .44960E-07   -.49972E-02
  18  Prefactor     11.696        1.7746        .93040E-07   -.23471E-01
  19  norm          24.844        3.6651       -.23245E-06   -.14147E-01
  20  Prefactor     4.4035        1.8701       -.75765E-07   -.63108E-02
  21  norm          .55511E-10    .82688        .71604E-07** at limit **
  22  norm          28.517        2.7885       -.62351E-07   -.14044E-02
  23  norm          .12329E-06    4.4809       -.53111E-08** at limit **
  24  norm          12.026        1.0538        .11350E-07   -.66926E-03
  25  Prefactor     .16653E-09    .42413        .45978E-07** at limit **
  26  Prefactor      .0000        1.8840        .40591E-07** at limit **
  27  Normalizat    1.1330        .13014        .17518E-05    .34309E-03
  28  Prefactor     1.0901        .14501        .26194E-06    .32086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 17.9021
  Prefactor  = 3.60822e-09
  Prefactor  = 0
  norm       = 4.34286
  Prefactor  = 0.919832
  Prefactor  = 1.01659
  Prefactor  = 3.48297
  Prefactor  = 0
  norm       = 0.182289
  norm       = 14.7684
  Prefactor  = 2.24582
  Prefactor  = 1.5582e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 14.0373
  Prefactor  = 11.6959
  norm       = 24.8443
  Prefactor  = 4.40352
  norm       = 5.55112e-11
  norm       = 28.517
  norm       = 1.2329e-07
  norm       = 12.0257
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 1.13303
  Prefactor  = 1.09009
Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  2.246e+00  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.090e+00  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.133e+00  1.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.70e-09 +/- 6.31e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 4.39e-06

TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 2.65793531732e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199308249669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40712271/likelihoodResults_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7532677
delta logL = 0.151094375957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7434
delta logL = 0.160962058264

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24759.74     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      260 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8945        2.3290        .23280E-04    .20627E-02
   2  Index         1.4785        .78975        .18453E-01    .18643E-04
   3  Normalizat    1.1365        .12601        .29053E-03    .13329E-02
   4  Prefactor     1.0886        .14466        .33862E-03    .78858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89454
  Index      = 1.47852
  Normalizat = 1.1365
  Prefactor  = 1.08859
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.74     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8945        2.3890        .93121E-06   -1.5680    
   2  Index         1.4785        .81020        .73813E-03   -.78143    
   3  Normalizat    1.1365        .12613        .58106E-04   -.88588    
   4  Prefactor     1.0886        .14480        .13545E-04   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1659e-10
Minuit parameter uncertainties:
  1  2.38899
  2  0.817409
  3  0.126163
  4  0.144847
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) = 24759.7433998
delta logL = 0.160962281636

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  1.895e+00  2.389e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.479e+00  8.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.089e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.136e+00  1.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 187.935 28.792
Photon Index (Free Index): 1.48 +/- 0.82
Photon Flux (Free Index): 2.29e-09 +/- 4.06e-09
Energy Flux (Free Index): 7.80e-06 +/- 1.37e-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/40712271/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', comment='SUCCESS', photon_flux='5.70e-09', energy_flux2='7.80e-06', photon_flux_error='6.31e-09', dlogl='1.61e-01', energy_flux='3.96e-06', photon_flux2='2.29e-09', job_status='DONE', time_completed='2026-10-13 10:22:51.315889', photon_index_error2='0.82', photon_index2='1.48', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.66e-08', energy_flux_error2='1.37e-05', EG='1.13', time_epoch_completed='1791912171.32', return_code='0', job_id='40712271', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='4.39e-06', photon_flux_error2='4.06e-09', ts2='2.86', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1231.7+2847' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:22:51 PDT 2026

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

 FCN=   24759.90     FROM HESSE     STATUS=OK           595 CALLS     2593 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.4904        .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .65798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.902        1.3976        .23645E-03   -1.5623    
   4  Prefactor     .36082E-08    .93305        .55811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .66340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3429        1.6010        .48309E-03   -1.5666    
   7  Prefactor     .91983        3.4144        .43478E-03   -1.5689    
   8  Prefactor     1.0166        .81565        .12925E-02   -1.5688    
   9  Prefactor     3.4830        1.3774        .54145E-03   -1.5671    
  10  Prefactor      .0000        .82587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18229        .11667        .84704E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.768        3.3478        .26075E-03   -1.5631    
  13  Prefactor     2.2458        2.4846        .68499E-03   -1.5678    
  14  Prefactor     .15582E-06    7.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .90461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.5575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.037        3.9971        .26697E-03   -1.5633    
  18  Prefactor     11.696        14.622        .29620E-03   -1.5640    
  19  norm          24.844        3.8548        .20063E-03   -1.5608    
  20  Prefactor     4.4035        6.5152        .47962E-03   -1.5666    
  21  norm          .55511E-10    1.1400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.517        3.6032        .18725E-03   -1.5601    
  23  norm          .12329E-06    8.0027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.026        10.462        .28871E-03   -1.5639    
  25  Prefactor     .16653E-09    1.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1330        .10923        .65761E-01   -.88698    
  28  Prefactor     1.0901        .12101        .76464E-01   -.89784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70612e-08
Minuit parameter uncertainties:
  1  4.44896e-05
  2  1.56764e-06
  3  1.39759
  4  0.00011605
  5  1.10949e-06
  6  1.60105
  7  3.41439
  8  0.81565
  9  1.37743
  10  1.43928e-06
  11  0.11667
  12  3.34784
  13  2.48456
  14  0.00220075
  15  7.51438e-06
  16  3.28783e-06
  17  3.99712
  18  14.6225
  19  3.85481
  20  6.51523
  21  1.9144e-05
  22  3.60318
  23  0.00198643
  24  10.4625
  25  2.94141e-05
  26  4.75437e-06
  27  0.109252
  28  0.121045
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.90     FROM HESSE     STATUS=OK           595 CALLS     2593 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.4904        .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .65798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.902        1.3976        .23645E-03   -1.5623    
   4  Prefactor     .36082E-08    .93305        .55811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .66340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3429        1.6010        .48309E-03   -1.5666    
   7  Prefactor     .91983        3.4144        .43478E-03   -1.5689    
   8  Prefactor     1.0166        .81565        .12925E-02   -1.5688    
   9  Prefactor     3.4830        1.3774        .54145E-03   -1.5671    
  10  Prefactor      .0000        .82587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18229        .11667        .84704E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.768        3.3478        .26075E-03   -1.5631    
  13  Prefactor     2.2458        2.4846        .68499E-03   -1.5678    
  14  Prefactor     .15582E-06    7.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .90461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.5575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.037        3.9971        .26697E-03   -1.5633    
  18  Prefactor     11.696        14.622        .29620E-03   -1.5640    
  19  norm          24.844        3.8548        .20063E-03   -1.5608    
  20  Prefactor     4.4035        6.5152        .47962E-03   -1.5666    
  21  norm          .55511E-10    1.1400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.517        3.6032        .18725E-03   -1.5601    
  23  norm          .12329E-06    8.0027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.026        10.462        .28871E-03   -1.5639    
  25  Prefactor     .16653E-09    1.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1330        .10923        .65761E-01   -.88698    
  28  Prefactor     1.0901        .12101        .76464E-01   -.89784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70612e-08
Minuit parameter uncertainties:
  1  4.44896e-05
  2  1.56764e-06
  3  1.39759
  4  0.00011605
  5  1.10949e-06
  6  1.60105
  7  3.41439
  8  0.81565
  9  1.37743
  10  1.43928e-06
  11  0.11667
  12  3.34784
  13  2.48456
  14  0.00220075
  15  7.51438e-06
  16  3.28783e-06
  17  3.99712
  18  14.6225
  19  3.85481
  20  6.51523
  21  1.9144e-05
  22  3.60318
  23  0.00198643
  24  10.4625
  25  2.94141e-05
  26  4.75437e-06
  27  0.109252
  28  0.121045
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.90     FROM HESSE     STATUS=OK           595 CALLS     2593 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.4904        .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .65798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.902        1.3976        .23645E-03   -1.5623    
   4  Prefactor     .36082E-08    .93305        .55811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .66340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3429        1.6010        .48309E-03   -1.5666    
   7  Prefactor     .91983        3.4144        .43478E-03   -1.5689    
   8  Prefactor     1.0166        .81565        .12925E-02   -1.5688    
   9  Prefactor     3.4830        1.3774        .54145E-03   -1.5671    
  10  Prefactor      .0000        .82587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18229        .11667        .84704E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.768        3.3478        .26075E-03   -1.5631    
  13  Prefactor     2.2458        2.4846        .68499E-03   -1.5678    
  14  Prefactor     .15582E-06    7.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .90461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.5575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.037        3.9971        .26697E-03   -1.5633    
  18  Prefactor     11.696        14.622        .29620E-03   -1.5640    
  19  norm          24.844        3.8548        .20063E-03   -1.5608    
  20  Prefactor     4.4035        6.5152        .47962E-03   -1.5666    
  21  norm          .55511E-10    1.1400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.517        3.6032        .18725E-03   -1.5601    
  23  norm          .12329E-06    8.0027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.026        10.462        .28871E-03   -1.5639    
  25  Prefactor     .16653E-09    1.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1330        .10923        .65761E-01   -.88698    
  28  Prefactor     1.0901        .12101        .76464E-01   -.89784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70612e-08
Minuit parameter uncertainties:
  1  4.44896e-05
  2  1.56764e-06
  3  1.39759
  4  0.00011605
  5  1.10949e-06
  6  1.60105
  7  3.41439
  8  0.81565
  9  1.37743
  10  1.43928e-06
  11  0.11667
  12  3.34784
  13  2.48456
  14  0.00220075
  15  7.51438e-06
  16  3.28783e-06
  17  3.99712
  18  14.6225
  19  3.85481
  20  6.51523
  21  1.9144e-05
  22  3.60318
  23  0.00198643
  24  10.4625
  25  2.94141e-05
  26  4.75437e-06
  27  0.109252
  28  0.121045
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.90     FROM HESSE     STATUS=OK           595 CALLS     2593 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.4904        .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .65798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.902        1.3976        .23645E-03   -1.5623    
   4  Prefactor     .36082E-08    .93305        .55811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .66340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3429        1.6010        .48309E-03   -1.5666    
   7  Prefactor     .91983        3.4144        .43478E-03   -1.5689    
   8  Prefactor     1.0166        .81565        .12925E-02   -1.5688    
   9  Prefactor     3.4830        1.3774        .54145E-03   -1.5671    
  10  Prefactor      .0000        .82587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18229        .11667        .84704E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.768        3.3478        .26075E-03   -1.5631    
  13  Prefactor     2.2458        2.4846        .68499E-03   -1.5678    
  14  Prefactor     .15582E-06    7.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .90461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.5575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.037        3.9971        .26697E-03   -1.5633    
  18  Prefactor     11.696        14.622        .29620E-03   -1.5640    
  19  norm          24.844        3.8548        .20063E-03   -1.5608    
  20  Prefactor     4.4035        6.5152        .47962E-03   -1.5666    
  21  norm          .55511E-10    1.1400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.517        3.6032        .18725E-03   -1.5601    
  23  norm          .12329E-06    8.0027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.026        10.462        .28871E-03   -1.5639    
  25  Prefactor     .16653E-09    1.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1330        .10923        .65761E-01   -.88698    
  28  Prefactor     1.0901        .12101        .76464E-01   -.89784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70612e-08
Minuit parameter uncertainties:
  1  4.44896e-05
  2  1.56764e-06
  3  1.39759
  4  0.00011605
  5  1.10949e-06
  6  1.60105
  7  3.41439
  8  0.81565
  9  1.37743
  10  1.43928e-06
  11  0.11667
  12  3.34784
  13  2.48456
  14  0.00220075
  15  7.51438e-06
  16  3.28783e-06
  17  3.99712
  18  14.6225
  19  3.85481
  20  6.51523
  21  1.9144e-05
  22  3.60318
  23  0.00198643
  24  10.4625
  25  2.94141e-05
  26  4.75437e-06
  27  0.109252
  28  0.121045
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.90     FROM HESSE     STATUS=OK           595 CALLS     2593 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.4904        .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .65798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.902        1.3976        .23645E-03   -1.5623    
   4  Prefactor     .36082E-08    .93305        .55811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .66340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3429        1.6010        .48309E-03   -1.5666    
   7  Prefactor     .91983        3.4144        .43478E-03   -1.5689    
   8  Prefactor     1.0166        .81565        .12925E-02   -1.5688    
   9  Prefactor     3.4830        1.3774        .54145E-03   -1.5671    
  10  Prefactor      .0000        .82587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18229        .11667        .84704E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.768        3.3478        .26075E-03   -1.5631    
  13  Prefactor     2.2458        2.4846        .68499E-03   -1.5678    
  14  Prefactor     .15582E-06    7.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .90461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.5575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.037        3.9971        .26697E-03   -1.5633    
  18  Prefactor     11.696        14.622        .29620E-03   -1.5640    
  19  norm          24.844        3.8548        .20063E-03   -1.5608    
  20  Prefactor     4.4035        6.5152        .47962E-03   -1.5666    
  21  norm          .55511E-10    1.1400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.517        3.6032        .18725E-03   -1.5601    
  23  norm          .12329E-06    8.0027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.026        10.462        .28871E-03   -1.5639    
  25  Prefactor     .16653E-09    1.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1330        .10923        .65761E-01   -.88698    
  28  Prefactor     1.0901        .12101        .76464E-01   -.89784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70612e-08
Minuit parameter uncertainties:
  1  4.44896e-05
  2  1.56764e-06
  3  1.39759
  4  0.00011605
  5  1.10949e-06
  6  1.60105
  7  3.41439
  8  0.81565
  9  1.37743
  10  1.43928e-06
  11  0.11667
  12  3.34784
  13  2.48456
  14  0.00220075
  15  7.51438e-06
  16  3.28783e-06
  17  3.99712
  18  14.6225
  19  3.85481
  20  6.51523
  21  1.9144e-05
  22  3.60318
  23  0.00198643
  24  10.4625
  25  2.94141e-05
  26  4.75437e-06
  27  0.109252
  28  0.121045
Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  2.246e+00  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.090e+00  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.133e+00  1.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.70e-09 +/- 6.31e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 4.39e-06

TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 2.65793531732e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199308249669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40712342/likelihoodResults_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7532677
delta logL = 0.151094375957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7434
delta logL = 0.160962058264

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24759.74     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      260 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8945        2.3290        .23280E-04    .20627E-02
   2  Index         1.4785        .78975        .18453E-01    .18643E-04
   3  Normalizat    1.1365        .12601        .29053E-03    .13329E-02
   4  Prefactor     1.0886        .14466        .33862E-03    .78858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89454
  Index      = 1.47852
  Normalizat = 1.1365
  Prefactor  = 1.08859
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.74     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8945        2.3890        .93121E-06   -1.5680    
   2  Index         1.4785        .81020        .73813E-03   -.78143    
   3  Normalizat    1.1365        .12613        .58106E-04   -.88588    
   4  Prefactor     1.0886        .14480        .13545E-04   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1659e-10
Minuit parameter uncertainties:
  1  2.38899
  2  0.817409
  3  0.126163
  4  0.144847
Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  2.246e+00  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.090e+00  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.133e+00  1.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.70e-09 +/- 6.31e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 4.39e-06

TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 2.65793531732e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199308249669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40712389/likelihoodResults_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7532677
delta logL = 0.151094375957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7434
delta logL = 0.160962058264

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24759.74     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      260 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8945        2.3290        .23280E-04    .20627E-02
   2  Index         1.4785        .78975        .18453E-01    .18643E-04
   3  Normalizat    1.1365        .12601        .29053E-03    .13329E-02
   4  Prefactor     1.0886        .14466        .33862E-03    .78858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89454
  Index      = 1.47852
  Normalizat = 1.1365
  Prefactor  = 1.08859
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) = 24759.7433998
delta logL = 0.160962281636

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  1.895e+00  2.389e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.479e+00  8.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.089e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.136e+00  1.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 187.935 28.792
Photon Index (Free Index): 1.48 +/- 0.82
Photon Flux (Free Index): 2.29e-09 +/- 4.06e-09
Energy Flux (Free Index): 7.80e-06 +/- 1.37e-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/40712342/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', comment='SUCCESS', photon_flux='5.70e-09', energy_flux2='7.80e-06', photon_flux_error='6.31e-09', dlogl='1.61e-01', energy_flux='3.96e-06', photon_flux2='2.29e-09', job_status='DONE', time_completed='2026-10-13 10:25:31.299949', photon_index_error2='0.82', photon_index2='1.48', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.66e-08', energy_flux_error2='1.37e-05', EG='1.13', time_epoch_completed='1791912331.3', return_code='0', job_id='40712342', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='4.39e-06', photon_flux_error2='4.06e-09', ts2='2.86', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1231.7+2847' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:25:31 PDT 2026

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

 FCN=   24759.74     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8945        2.3890        .93121E-06   -1.5680    
   2  Index         1.4785        .81020        .73813E-03   -.78143    
   3  Normalizat    1.1365        .12613        .58106E-04   -.88588    
   4  Prefactor     1.0886        .14480        .13545E-04   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1659e-10
Minuit parameter uncertainties:
  1  2.38899
  2  0.817409
  3  0.126163
  4  0.144847
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) = 24759.7433998
delta logL = 0.160962281636

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  1.895e+00  2.389e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.479e+00  8.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.089e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.136e+00  1.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 187.935 28.792
Photon Index (Free Index): 1.48 +/- 0.82
Photon Flux (Free Index): 2.29e-09 +/- 4.06e-09
Energy Flux (Free Index): 7.80e-06 +/- 1.37e-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/40712389/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', comment='SUCCESS', photon_flux='5.70e-09', energy_flux2='7.80e-06', photon_flux_error='6.31e-09', dlogl='1.61e-01', energy_flux='3.96e-06', photon_flux2='2.29e-09', job_status='DONE', time_completed='2026-10-13 10:25:34.892935', photon_index_error2='0.82', photon_index2='1.48', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.66e-08', energy_flux_error2='1.37e-05', EG='1.13', time_epoch_completed='1791912334.89', return_code='0', job_id='40712389', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='4.39e-06', photon_flux_error2='4.06e-09', ts2='2.86', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1231.7+2847' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:25:34 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  2.246e+00  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.090e+00  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.133e+00  1.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.70e-09 +/- 6.31e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 4.39e-06

TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 2.65793531732e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199308249669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40712402/likelihoodResults_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7532677
delta logL = 0.151094375957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7434
delta logL = 0.160962058264

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24759.74     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      260 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8945        2.3290        .23280E-04    .20627E-02
   2  Index         1.4785        .78975        .18453E-01    .18643E-04
   3  Normalizat    1.1365        .12601        .29053E-03    .13329E-02
   4  Prefactor     1.0886        .14466        .33862E-03    .78858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89454
  Index      = 1.47852
  Normalizat = 1.1365
  Prefactor  = 1.08859
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.74     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8945        2.3890        .93121E-06   -1.5680    
   2  Index         1.4785        .81020        .73813E-03   -.78143    
   3  Normalizat    1.1365        .12613        .58106E-04   -.88588    
   4  Prefactor     1.0886        .14480        .13545E-04   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1659e-10
Minuit parameter uncertainties:
  1  2.38899
  2  0.817409
  3  0.126163
  4  0.144847
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) = 24759.7433998
delta logL = 0.160962281636

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  1.895e+00  2.389e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.479e+00  8.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.089e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.136e+00  1.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 187.935 28.792
Photon Index (Free Index): 1.48 +/- 0.82
Photon Flux (Free Index): 2.29e-09 +/- 4.06e-09
Energy Flux (Free Index): 7.80e-06 +/- 1.37e-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/40712402/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', comment='SUCCESS', photon_flux='5.70e-09', energy_flux2='7.80e-06', photon_flux_error='6.31e-09', dlogl='1.61e-01', energy_flux='3.96e-06', photon_flux2='2.29e-09', job_status='DONE', time_completed='2026-10-13 10:25:41.990588', photon_index_error2='0.82', photon_index2='1.48', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.66e-08', energy_flux_error2='1.37e-05', EG='1.13', time_epoch_completed='1791912341.99', return_code='0', job_id='40712402', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='4.39e-06', photon_flux_error2='4.06e-09', ts2='2.86', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1231.7+2847' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:25:42 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  2.246e+00  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.090e+00  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.133e+00  1.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.70e-09 +/- 6.31e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 4.39e-06

TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 2.65793531732e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199308249669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40712420/likelihoodResults_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7532677
delta logL = 0.151094375957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7434
delta logL = 0.160962058264

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24759.74     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      260 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8945        2.3290        .23280E-04    .20627E-02
   2  Index         1.4785        .78975        .18453E-01    .18643E-04
   3  Normalizat    1.1365        .12601        .29053E-03    .13329E-02
   4  Prefactor     1.0886        .14466        .33862E-03    .78858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89454
  Index      = 1.47852
  Normalizat = 1.1365
  Prefactor  = 1.08859
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.74     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8945        2.3890        .93121E-06   -1.5680    
   2  Index         1.4785        .81020        .73813E-03   -.78143    
   3  Normalizat    1.1365        .12613        .58106E-04   -.88588    
   4  Prefactor     1.0886        .14480        .13545E-04   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1659e-10
Minuit parameter uncertainties:
  1  2.38899
  2  0.817409
  3  0.126163
  4  0.144847
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) = 24759.7433998
delta logL = 0.160962281636

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  1.895e+00  2.389e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.479e+00  8.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.089e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.136e+00  1.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 187.935 28.792
Photon Index (Free Index): 1.48 +/- 0.82
Photon Flux (Free Index): 2.29e-09 +/- 4.06e-09
Energy Flux (Free Index): 7.80e-06 +/- 1.37e-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/40712420/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', comment='SUCCESS', photon_flux='5.70e-09', energy_flux2='7.80e-06', photon_flux_error='6.31e-09', dlogl='1.61e-01', energy_flux='3.96e-06', photon_flux2='2.29e-09', job_status='DONE', time_completed='2026-10-13 10:26:03.596856', photon_index_error2='0.82', photon_index2='1.48', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.66e-08', energy_flux_error2='1.37e-05', EG='1.13', time_epoch_completed='1791912363.6', return_code='0', job_id='40712420', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='4.39e-06', photon_flux_error2='4.06e-09', ts2='2.86', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1231.7+2847' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:26:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  2.246e+00  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.090e+00  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.133e+00  1.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.70e-09 +/- 6.31e-09
Energy Flux (Fixed Index): 3.96e-06 +/- 4.39e-06

TS (Fixed Index): 2.54
Ra Dec: 187.935 28.792
Photon Flux Upper Limit: 2.65793531732e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199308249669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40712446/likelihoodResults_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7532677
delta logL = 0.151094375957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24759.7434
delta logL = 0.160962058264

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24759.74     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      260 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8945        2.3290        .23280E-04    .20627E-02
   2  Index         1.4785        .78975        .18453E-01    .18643E-04
   3  Normalizat    1.1365        .12601        .29053E-03    .13329E-02
   4  Prefactor     1.0886        .14466        .33862E-03    .78858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89454
  Index      = 1.47852
  Normalizat = 1.1365
  Prefactor  = 1.08859
 **********
 **   18 **HESSE 
 **********

 FCN=   24759.74     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8945        2.3890        .93121E-06   -1.5680    
   2  Index         1.4785        .81020        .73813E-03   -.78143    
   3  Normalizat    1.1365        .12613        .58106E-04   -.88588    
   4  Prefactor     1.0886        .14480        .13545E-04   -.89832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1659e-10
Minuit parameter uncertainties:
  1  2.38899
  2  0.817409
  3  0.126163
  4  0.144847
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) = 24759.7433998
delta logL = 0.160962281636

Extracting fit parameters...

4FGL J1231.7+2847
   Spectrum: PowerLaw
334    Prefactor:  1.895e+00  2.389e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.479e+00  8.174e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.597e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.089e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.136e+00  1.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 187.935 28.792
Photon Index (Free Index): 1.48 +/- 0.82
Photon Flux (Free Index): 2.29e-09 +/- 4.06e-09
Energy Flux (Free Index): 7.80e-06 +/- 1.37e-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/40712446/cmap_HighResolution_812937601_813542401_4FGL_J1231.7+2847_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-03', comment='SUCCESS', photon_flux='5.70e-09', energy_flux2='7.80e-06', photon_flux_error='6.31e-09', dlogl='1.61e-01', energy_flux='3.96e-06', photon_flux2='2.29e-09', job_status='DONE', time_completed='2026-10-13 10:26:21.765449', photon_index_error2='0.82', photon_index2='1.48', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.66e-08', energy_flux_error2='1.37e-05', EG='1.13', time_epoch_completed='1791912381.77', return_code='0', job_id='40712446', GAL2='1.09', EG2='1.14', return_code2='0', energy_flux_error='4.39e-06', photon_flux_error2='4.06e-09', ts2='2.86', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1231.7+2847' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 10:26:21 PDT 2026

