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

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

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

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

Done.


Performing analysis on: 4FGL_J1051.6+2109_weekly_bin949
RA = 162.913, Dec = 21.1651
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='40705563', job_status='RUN', time_executed='2026-10-13 08:25:13.600006', time_epoch_executed='1791905113.6' WHERE source_name='4FGL J1051.6+2109' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40705563

Creating custom pfile directory:
/lscratch/kocevski/40705563/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/40705563/ft1_4FGL_J1051.6+2109_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/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40705563/ft1_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705563/ft1_filteredMKT_4FGL_J1051.6+2109_weekly_bin949.fits ra=162.913 dec=21.1651 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.70
user 4.16
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_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/40705563/ft1_filteredMKT_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_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.96
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 1759

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

 outfile=/lscratch/kocevski/40705473/ltcube_812937601_813542401_4FGL_J1051.6+2109_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/40705473/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 18.62
user 17.92
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40705473/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705473/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40705473/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705473/expmap_812937601_813542401_4FGL_J1051.6+2109_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/40705473/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 67.93
user 63.37
sys 3.88

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

Setting source of interest to:
4FGL J1051.6+2109 @ 162.913 21.1651

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40705473/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705473/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705473/cmap_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 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.66
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40705473/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705473/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705473/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 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.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40705473/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705473/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40705473/Model_4FGL_J1051.6+2109_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/40705551/ltcube_812937601_813542401_4FGL_J1051.6+2109_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/40705551/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 19.71
user 18.92
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40705551/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705551/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40705551/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705551/expmap_812937601_813542401_4FGL_J1051.6+2109_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/40705551/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 71.51
user 66.80
sys 4.12

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

Setting source of interest to:
4FGL J1051.6+2109 @ 162.913 21.1651

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40705551/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705551/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705551/cmap_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40705551/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705551/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705551/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40705551/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705551/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40705551/Model_4FGL_J1051.6+2109_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 sourcoutfile=/lscratch/kocevski/40705563/ltcube_812937601_813542401_4FGL_J1051.6+2109_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/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 18.64
user 17.90
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40705563/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705563/expmap_812937601_813542401_4FGL_J1051.6+2109_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/40705563/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 68.06
user 63.46
sys 3.85

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

Setting source of interest to:
4FGL J1051.6+2109 @ 162.913 21.1651

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705563/cmap_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705563/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40705563/Model_4FGL_J1051.6+2109_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 sourcenumber of points = 17394
number of fields = 31
RA_SUN column already exists. File will not be modified.
e GAL_V02
Working on...
/lscratch/kocevski/40705473/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits.....................!
real 58.31
user 56.64
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40705473/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits', '/lscratch/kocevski/40705473/ft2_4FGL_J1051.6+2109_weekly_bin949.fits', expMap='/lscratch/kocevski/40705473/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', expCube='/lscratch/kocevski/40705473/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40705473/Model_4FGL_J1051.6+2109_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.6+2109'

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.594e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40705473/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40705473/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40705473/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40705473/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40705473/Model_4FGL_J1051.6+2109_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) = 19558.6409808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.197       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16647E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    27.470       1.0000          .0000       .10000E+07
     4 'Prefactor '    30.369       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11657E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.708       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36471E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .30667E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.2819       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.7068       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.4344       1.0000          .0000       .10000E+07
    12 'norm      '    1.3026       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0079       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7462       1.0000          .0000       .10000E+07
    15 'norm      '    15.582       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.764       1.0000          .0000       .10000E+07
    17 'Normalizat'    .96387       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1284 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.191        2.1289       -.14700E-06   -.68192E-01
   2  Prefactor     .33307E-09    4.3488        .30377E-06** at limit **
   3  Prefactor     27.506        3.3225        .17359E-06   -.16104    
   4  Prefactor     30.395        5.0265        .42782E-07    .46063E-01
   5  Prefactor     .55511E-10    1.0076        .10026E-06** at limit **
   6  Prefactor     15.713        3.4514       -.24572E-06   -.11084    
   7  Prefactor      .0000        1.3154       -.24189E-06** at limit **
   8  Prefactor     .11102E-09    8.5630        .41381E-06** at limit **
   9  Prefactor     8.2717        3.6764       -.36584E-07   -.44100E-02
  10  Prefactor     7.7119        1.2555        .19735E-07    .10244E-01
  11  Prefactor     4.4149        3.5851        .23092E-06    .10875E-01
  12  norm          1.3024        .71949       -.61138E-07   -.85397E-02
  13  Prefactor     2.0081        1.3857        .63991E-07    .57604E-02
  14  Prefactor     5.7489        3.7587       -.94923E-07   -.84855E-02
  15  norm          15.585        3.7763        .26997E-06   -.64650E-01
  16  Prefactor     14.768        1.7213       -.94103E-07    .28738E-03
  17  Normalizat    .96380        .11809       -.25537E-06    .15811E-03
  18  Prefactor     1.1019        .12310        .19400E-05    .23657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.1907
  Prefactor  = 3.33067e-10
  Prefactor  = 27.5057
  Prefactor  = 30.3952
  Prefactor  = 5.55112e-11
  Prefactor  = 15.713
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 8.27168
  Prefactor  = 7.71189
  Prefactor  = 4.41495
  norm       = 1.30243
  Prefactor  = 2.00808
  Prefactor  = 5.74889
  norm       = 15.5854
  Prefactor  = 14.7682
  Normalizat = 0.963797
  Prefactor  = 1.10193
Done.


Performing analysis on: 4FGL_J1051.6+2109_weekly_bin949
RA = 162.913, Dec = 21.1651
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='40705795', job_status='RUN', time_executed='2026-10-13 08:28:19.630273', time_epoch_executed='1791905299.63' WHERE source_name='4FGL J1051.6+2109' and cadence='weekly' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40705795

Creating custom pfile directory:
/lscratch/kocevski/40705795/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/40705795/ft1_4FGL_J1051.6+2109_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/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40705795/ft1_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705795/ft1_filteredMKT_4FGL_J1051.6+2109_weekly_bin949.fits ra=162.913 dec=21.1651 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.95
user 4.32
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_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/40705795/ft1_filteredMKT_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" outfile="/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_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.65
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 1759

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   19558.64     FROM HESSE     STATUS=OK           290 CALLS     1574 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.191        4.4293        .28658E-03   -1.5638    
   2  Prefactor     .33307E-09    4.3651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.506        25.446        .19083E-03   -1.5603    
   4  Prefactor     30.395        5.2560        .18149E-03   -1.5598    
   5  Prefactor     .55511E-10    .97319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.713        4.7022        .25245E-03   -1.5629    
   7  Prefactor      .0000        1.3215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    8.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2717        4.9754        .34812E-03   -1.5650    
  10  Prefactor     7.7119        4.9097        .36098E-03   -1.5652    
  11  Prefactor     4.4149        5.0704        .47797E-03   -1.5666    
  12  norm          1.3024        .72915        .96736E-03   -1.5685    
  13  Prefactor     2.0081        1.4264        .73038E-03   -1.5680    
  14  Prefactor     5.7489        3.8451        .41877E-03   -1.5660    
  15  norm          15.585        8.4957        .25347E-03   -1.5629    
  16  Prefactor     14.768        6.3327        .26040E-03   -1.5631    
  17  Normalizat    .96380        .10259        .45713E-01   -.94253    
  18  Prefactor     1.1019        .10577        .59508E-01   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69049e-07
Minuit parameter uncertainties:
  1  4.42935
  2  7.93317e-05
  3  25.4463
  4  5.25599
  5  1.05018e-05
  6  4.70219
  7  7.23345e-06
  8  6.27911e-05
  9  4.97536
  10  4.9097
  11  5.07041
  12  0.72915
  13  1.42643
  14  3.84512
  15  8.49571
  16  6.33266
  17  0.102615
  18  0.105789
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  7.233e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 162.913 21.165
Photon Flux Upper Limit: 3.00027349028e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0023714474873 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40705473/likelihoodResults_812937601_813542401_4FGL_J1051.6+2109_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) = 19558.6369414
delta logL = -0.00150729137022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19558.6354427
delta logL = -8.61749140313e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      244 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .78011        .42118E-03** at limit **
   2  Index         4.2829        1.7269        .22558E-04     .0000    
   3  Normalizat    .96380        1.2959       -.19033E-07    .30431E-04
   4  Prefactor     1.1019        1.1478       -.69041E-06    .41951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.28288
  Normalizat = 0.963798
  Prefactor  = 1.10193
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19558.64     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .78011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9585        2.3695        .22558E-04   -.14392    
   3  Normalizat    .96380        1.2959       -.19033E-07   -.94253    
   4  Prefactor     1.1019        1.1478       -.69041E-06   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.11489e-13
Minuit parameter uncertainties:
  1  1.28589e-06
  2  1.76399
  3  1.34214
  4  1.17521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 19558.6354341
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  1.286e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  4.283e+00  1.764e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.175e+00  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.342e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 162.913 21.165

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/40705473/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.00e-08', time_completed='2026-10-13 08:32:29.110347', job_id='40705473', GAL2='1.10', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1791905549.11', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='949' AND source_name='4FGL J1051.6+2109' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 08:32:29 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/40705551/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits.....................!
real 62.98
user 61.27
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40705551/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits', '/lscratch/kocevski/40705551/ft2_4FGL_J1051.6+2109_weekly_bin949.fits', expMap='/lscratch/kocevski/40705551/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', expCube='/lscratch/kocevski/40705551/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40705551/Model_4FGL_J1051.6+2109_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.6+2109'

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.594e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40705551/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40705551/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40705551/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40705551/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40705551/Model_4FGL_J1051.6+2109_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) = 19558.6409808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.197       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16647E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    27.470       1.0000          .0000       .10000E+07
     4 'Prefactor '    30.369       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11657E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.708       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36471E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .30667E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.2819       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.7068       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.4344       1.0000          .0000       .10000E+07
    12 'norm      '    1.3026       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0079       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7462       1.0000          .0000       .10000E+07
    15 'norm      '    15.582       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.764       1.0000          .0000       .10000E+07
    17 'Normalizat'    .96387       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1284 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.191        2.1289       -.14700E-06   -.68192E-01
   2  Prefactor     .33307E-09    4.3488        .30377E-06** at limit **
   3  Prefactor     27.506        3.3225        .17359E-06   -.16104    
   4  Prefactor     30.395        5.0265        .42782E-07    .46063E-01
   5  Prefactor     .55511E-10    1.0076        .10026E-06** at limit **
   6  Prefactor     15.713        3.4514       -.24572E-06   -.11084    
   7  Prefactor      .0000        1.3154       -.24189E-06** at limit **
   8  Prefactor     .11102E-09    8.5630        .41381E-06** at limit **
   9  Prefactor     8.2717        3.6764       -.36584E-07   -.44100E-02
  10  Prefactor     7.7119        1.2555        .19735E-07    .10244E-01
  11  Prefactor     4.4149        3.5851        .23092E-06    .10875E-01
  12  norm          1.3024        .71949       -.61138E-07   -.85397E-02
  13  Prefactor     2.0081        1.3857        .63991E-07    .57604E-02
  14  Prefactor     5.7489        3.7587       -.94923E-07   -.84855E-02
  15  norm          15.585        3.7763        .26997E-06   -.64650E-01
  16  Prefactor     14.768        1.7213       -.94103E-07    .28738E-03
  17  Normalizat    .96380        .11809       -.25537E-06    .15811E-03
  18  Prefactor     1.1019        .12310        .19400E-05    .23657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.1907
  Prefactor  = 3.33067e-10
  Prefactor  = 27.5057
  Prefactor  = 30.3952
  Prefactor  = 5.55112e-11
  Prefactor  = 15.713
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 8.27168
  Prefactor  = 7.71189
  Prefactor  = 4.41495
  norm       = 1.30243
  Prefactor  = 2.00808
  Prefactor  = 5.74889
  norm       = 15.5854
  Prefactor  = 14.7682
  Normalizat = 0.963797
  Prefactor  = 1.10193
 GAL_V02
Working on...
/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits.....................!
real 59.67
user 57.95
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits', '/lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits', expMap='/lscratch/kocevski/40705563/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', expCube='/lscratch/kocevski/40705563/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40705563/Model_4FGL_J1051.6+2109_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.6+2109'

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.594e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40705563/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40705563/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40705563/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40705563/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40705563/Model_4FGL_J1051.6+2109_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) = 19558.6409808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.197       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16647E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    27.470       1.0000          .0000       .10000E+07
     4 'Prefactor '    30.369       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11657E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.708       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36471E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .30667E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.2819       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.7068       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.4344       1.0000          .0000       .10000E+07
    12 'norm      '    1.3026       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0079       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7462       1.0000          .0000       .10000E+07
    15 'norm      '    15.582       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.764       1.0000          .0000       .10000E+07
    17 'Normalizat'    .96387       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1284 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.191        2.1289       -.14700E-06   -.68192E-01
   2  Prefactor     .33307E-09    4.3488        .30377E-06** at limit **
   3  Prefactor     27.506        3.3225        .17359E-06   -.16104    
   4  Prefactor     30.395        5.0265        .42782E-07    .46063E-01
   5  Prefactor     .55511E-10    1.0076        .10026E-06** at limit **
   6  Prefactor     15.713        3.4514       -.24572E-06   -.11084    
   7  Prefactor      .0000        1.3154       -.24189E-06** at limit **
   8  Prefactor     .11102E-09    8.5630        .41381E-06** at limit **
   9  Prefactor     8.2717        3.6764       -.36584E-07   -.44100E-02
  10  Prefactor     7.7119        1.2555        .19735E-07    .10244E-01
  11  Prefactor     4.4149        3.5851        .23092E-06    .10875E-01
  12  norm          1.3024        .71949       -.61138E-07   -.85397E-02
  13  Prefactor     2.0081        1.3857        .63991E-07    .57604E-02
  14  Prefactor     5.7489        3.7587       -.94923E-07   -.84855E-02
  15  norm          15.585        3.7763        .26997E-06   -.64650E-01
  16  Prefactor     14.768        1.7213       -.94103E-07    .28738E-03
  17  Normalizat    .96380        .11809       -.25537E-06    .15811E-03
  18  Prefactor     1.1019        .12310        .19400E-05    .23657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.1907
  Prefactor  = 3.33067e-10
  Prefactor  = 27.5057
  Prefactor  = 30.3952
  Prefactor  = 5.55112e-11
  Prefactor  = 15.713
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 8.27168
  Prefactor  = 7.71189
  Prefactor  = 4.41495
  norm       = 1.30243
  Prefactor  = 2.00808
  Prefactor  = 5.74889
  norm       = 15.5854
  Prefactor  = 14.7682
  Normalizat = 0.963797
  Prefactor  = 1.10193
 **********
 **   18 **HESSE 
 **********

 FCN=   19558.64     FROM HESSE     STATUS=OK           290 CALLS     1574 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.191        4.4293        .28658E-03   -1.5638    
   2  Prefactor     .33307E-09    4.3651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.506        25.446        .19083E-03   -1.5603    
   4  Prefactor     30.395        5.2560        .18149E-03   -1.5598    
   5  Prefactor     .55511E-10    .97319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.713        4.7022        .25245E-03   -1.5629    
   7  Prefactor      .0000        1.3215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    8.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2717        4.9754        .34812E-03   -1.5650    
  10  Prefactor     7.7119        4.9097        .36098E-03   -1.5652    
  11  Prefactor     4.4149        5.0704        .47797E-03   -1.5666    
  12  norm          1.3024        .72915        .96736E-03   -1.5685    
  13  Prefactor     2.0081        1.4264        .73038E-03   -1.5680    
  14  Prefactor     5.7489        3.8451        .41877E-03   -1.5660    
  15  norm          15.585        8.4957        .25347E-03   -1.5629    
  16  Prefactor     14.768        6.3327        .26040E-03   -1.5631    
  17  Normalizat    .96380        .10259        .45713E-01   -.94253    
  18  Prefactor     1.1019        .10577        .59508E-01   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69049e-07
Minuit parameter uncertainties:
  1  4.42935
  2  7.93317e-05
  3  25.4463
  4  5.25599
  5  1.05018e-05
  6  4.70219
  7  7.23345e-06
  8  6.27911e-05
  9  4.97536
  10  4.9097
  11  5.07041
  12  0.72915
  13  1.42643
  14  3.84512
  15  8.49571
  16  6.33266
  17  0.102615
  18  0.105789
 outfile=/lscratch/kocevski/40705795/ltcube_812937601_813542401_4FGL_J1051.6+2109_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/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 19.41
user 18.68
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40705795/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705795/expmap_812937601_813542401_4FGL_J1051.6+2109_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/40705795/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
.....................!
real 71.41
user 66.48
sys 4.25

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

Setting source of interest to:
4FGL J1051.6+2109 @ 162.913 21.1651

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705795/cmap_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits scfile=/lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits outfile=/lscratch/kocevski/40705795/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_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=162.913 yref=21.1651 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits evtable="EVENTS" scfile=/lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40705795/Model_4FGL_J1051.6+2109_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 **********
 **   18 **HESSE 
 **********

 FCN=   19558.64     FROM HESSE     STATUS=OK           290 CALLS     1574 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.191        4.4293        .28658E-03   -1.5638    
   2  Prefactor     .33307E-09    4.3651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.506        25.446        .19083E-03   -1.5603    
   4  Prefactor     30.395        5.2560        .18149E-03   -1.5598    
   5  Prefactor     .55511E-10    .97319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.713        4.7022        .25245E-03   -1.5629    
   7  Prefactor      .0000        1.3215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    8.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2717        4.9754        .34812E-03   -1.5650    
  10  Prefactor     7.7119        4.9097        .36098E-03   -1.5652    
  11  Prefactor     4.4149        5.0704        .47797E-03   -1.5666    
  12  norm          1.3024        .72915        .96736E-03   -1.5685    
  13  Prefactor     2.0081        1.4264        .73038E-03   -1.5680    
  14  Prefactor     5.7489        3.8451        .41877E-03   -1.5660    
  15  norm          15.585        8.4957        .25347E-03   -1.5629    
  16  Prefactor     14.768        6.3327        .26040E-03   -1.5631    
  17  Normalizat    .96380        .10259        .45713E-01   -.94253    
  18  Prefactor     1.1019        .10577        .59508E-01   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69049e-07
Minuit parameter uncertainties:
  1  4.42935
  2  7.93317e-05
  3  25.4463
  4  5.25599
  5  1.05018e-05
  6  4.70219
  7  7.23345e-06
  8  6.27911e-05
  9  4.97536
  10  4.9097
  11  5.07041
  12  0.72915
  13  1.42643
  14  3.84512
  15  8.49571
  16  6.33266
  17  0.102615
  18  0.105789
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  7.233e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 162.913 21.165
Photon Flux Upper Limit: 3.00027349028e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0023714474873 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40705551/likelihoodResults_812937601_813542401_4FGL_J1051.6+2109_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) = 19558.6369414
delta logL = -0.00150729137022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19558.6354427
delta logL = -8.61749140313e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      244 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .78011        .42118E-03** at limit **
   2  Index         4.2829        1.7269        .22558E-04     .0000    
   3  Normalizat    .96380        1.2959       -.19033E-07    .30431E-04
   4  Prefactor     1.1019        1.1478       -.69041E-06    .41951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.28288
  Normalizat = 0.963798
  Prefactor  = 1.10193
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19558.64     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .78011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9585        2.3695        .22558E-04   -.14392    
   3  Normalizat    .96380        1.2959       -.19033E-07   -.94253    
   4  Prefactor     1.1019        1.1478       -.69041E-06   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.11489e-13
Minuit parameter uncertainties:
  1  1.28589e-06
  2  1.76399
  3  1.34214
  4  1.17521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 19558.6354341
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  1.286e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  4.283e+00  1.764e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.175e+00  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.342e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 162.913 21.165

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/40705551/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.00e-08', time_completed='2026-10-13 08:34:37.118169', job_id='40705551', GAL2='1.10', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1791905677.12', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='949' AND source_name='4FGL J1051.6+2109' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 08:34:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  7.233e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 162.913 21.165
Photon Flux Upper Limit: 3.00027349028e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0023714474873 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40705563/likelihoodResults_812937601_813542401_4FGL_J1051.6+2109_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) = 19558.6369414
delta logL = -0.00150729137022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19558.6354427
delta logL = -8.61749140313e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      244 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .78011        .42118E-03** at limit **
   2  Index         4.2829        1.7269        .22558E-04     .0000    
   3  Normalizat    .96380        1.2959       -.19033E-07    .30431E-04
   4  Prefactor     1.1019        1.1478       -.69041E-06    .41951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.28288
  Normalizat = 0.963798
  Prefactor  = 1.10193
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19558.64     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .78011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9585        2.3695        .22558E-04   -.14392    
   3  Normalizat    .96380        1.2959       -.19033E-07   -.94253    
   4  Prefactor     1.1019        1.1478       -.69041E-06   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.11489e-13
Minuit parameter uncertainties:
  1  1.28589e-06
  2  1.76399
  3  1.34214
  4  1.17521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 19558.6354341
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  1.286e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  4.283e+00  1.764e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.175e+00  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.342e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 162.913 21.165

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/40705563/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.00e-08', time_completed='2026-10-13 08:34:49.202256', job_id='40705563', GAL2='1.10', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1791905689.2', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='949' AND source_name='4FGL J1051.6+2109' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 08:34:49 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits.....................!
real 61.44
user 59.63
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits', '/lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits', expMap='/lscratch/kocevski/40705795/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', expCube='/lscratch/kocevski/40705795/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40705795/Model_4FGL_J1051.6+2109_weekly_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.6+2109'

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.594e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40705795/ft1_filtered_4FGL_J1051.6+2109_weekly_bin949.fits
Spacecraft file(s): /lscratch/kocevski/40705795/ft2_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure map: /lscratch/kocevski/40705795/expmap_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
Exposure cube: /lscratch/kocevski/40705795/ltcube_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40705795/Model_4FGL_J1051.6+2109_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) = 19558.6409808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.197       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16647E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    27.470       1.0000          .0000       .10000E+07
     4 'Prefactor '    30.369       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11657E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.708       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36471E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .30667E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.2819       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.7068       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.4344       1.0000          .0000       .10000E+07
    12 'norm      '    1.3026       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0079       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7462       1.0000          .0000       .10000E+07
    15 'norm      '    15.582       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.764       1.0000          .0000       .10000E+07
    17 'Normalizat'    .96387       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1284 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.191        2.1289       -.14700E-06   -.68192E-01
   2  Prefactor     .33307E-09    4.3488        .30377E-06** at limit **
   3  Prefactor     27.506        3.3225        .17359E-06   -.16104    
   4  Prefactor     30.395        5.0265        .42782E-07    .46063E-01
   5  Prefactor     .55511E-10    1.0076        .10026E-06** at limit **
   6  Prefactor     15.713        3.4514       -.24572E-06   -.11084    
   7  Prefactor      .0000        1.3154       -.24189E-06** at limit **
   8  Prefactor     .11102E-09    8.5630        .41381E-06** at limit **
   9  Prefactor     8.2717        3.6764       -.36584E-07   -.44100E-02
  10  Prefactor     7.7119        1.2555        .19735E-07    .10244E-01
  11  Prefactor     4.4149        3.5851        .23092E-06    .10875E-01
  12  norm          1.3024        .71949       -.61138E-07   -.85397E-02
  13  Prefactor     2.0081        1.3857        .63991E-07    .57604E-02
  14  Prefactor     5.7489        3.7587       -.94923E-07   -.84855E-02
  15  norm          15.585        3.7763        .26997E-06   -.64650E-01
  16  Prefactor     14.768        1.7213       -.94103E-07    .28738E-03
  17  Normalizat    .96380        .11809       -.25537E-06    .15811E-03
  18  Prefactor     1.1019        .12310        .19400E-05    .23657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.1907
  Prefactor  = 3.33067e-10
  Prefactor  = 27.5057
  Prefactor  = 30.3952
  Prefactor  = 5.55112e-11
  Prefactor  = 15.713
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 8.27168
  Prefactor  = 7.71189
  Prefactor  = 4.41495
  norm       = 1.30243
  Prefactor  = 2.00808
  Prefactor  = 5.74889
  norm       = 15.5854
  Prefactor  = 14.7682
  Normalizat = 0.963797
  Prefactor  = 1.10193
 **********
 **   18 **HESSE 
 **********

 FCN=   19558.64     FROM HESSE     STATUS=OK           290 CALLS     1574 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.191        4.4293        .28658E-03   -1.5638    
   2  Prefactor     .33307E-09    4.3651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.506        25.446        .19083E-03   -1.5603    
   4  Prefactor     30.395        5.2560        .18149E-03   -1.5598    
   5  Prefactor     .55511E-10    .97319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.713        4.7022        .25245E-03   -1.5629    
   7  Prefactor      .0000        1.3215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    8.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2717        4.9754        .34812E-03   -1.5650    
  10  Prefactor     7.7119        4.9097        .36098E-03   -1.5652    
  11  Prefactor     4.4149        5.0704        .47797E-03   -1.5666    
  12  norm          1.3024        .72915        .96736E-03   -1.5685    
  13  Prefactor     2.0081        1.4264        .73038E-03   -1.5680    
  14  Prefactor     5.7489        3.8451        .41877E-03   -1.5660    
  15  norm          15.585        8.4957        .25347E-03   -1.5629    
  16  Prefactor     14.768        6.3327        .26040E-03   -1.5631    
  17  Normalizat    .96380        .10259        .45713E-01   -.94253    
  18  Prefactor     1.1019        .10577        .59508E-01   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69049e-07
Minuit parameter uncertainties:
  1  4.42935
  2  7.93317e-05
  3  25.4463
  4  5.25599
  5  1.05018e-05
  6  4.70219
  7  7.23345e-06
  8  6.27911e-05
  9  4.97536
  10  4.9097
  11  5.07041
  12  0.72915
  13  1.42643
  14  3.84512
  15  8.49571
  16  6.33266
  17  0.102615
  18  0.105789
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  7.233e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 162.913 21.165
Photon Flux Upper Limit: 3.00027349028e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0023714474873 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40705795/likelihoodResults_812937601_813542401_4FGL_J1051.6+2109_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) = 19558.6369414
delta logL = -0.00150729137022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19558.6354427
delta logL = -8.61749140313e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19558.64     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      244 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .78011        .42118E-03** at limit **
   2  Index         4.2829        1.7269        .22558E-04     .0000    
   3  Normalizat    .96380        1.2959       -.19033E-07    .30431E-04
   4  Prefactor     1.1019        1.1478       -.69041E-06    .41951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.28288
  Normalizat = 0.963798
  Prefactor  = 1.10193
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19558.64     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .78011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9585        2.3695        .22558E-04   -.14392    
   3  Normalizat    .96380        1.2959       -.19033E-07   -.94253    
   4  Prefactor     1.1019        1.1478       -.69041E-06   -.89405    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.11489e-13
Minuit parameter uncertainties:
  1  1.28589e-06
  2  1.76399
  3  1.34214
  4  1.17521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 19558.6354341
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  1.286e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  4.283e+00  1.764e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.102e+00  1.175e+00  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.638e-01  1.342e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 162.913 21.165

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/40705795/cmap_HighResolution_812937601_813542401_4FGL_J1051.6+2109_weekly_bin949.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.00e-08', time_completed='2026-10-13 08:37:48.783094', job_id='40705795', GAL2='1.10', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1791905868.78', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='949' AND source_name='4FGL J1051.6+2109' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 13 08:37:48 PDT 2026

