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

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


Performing analysis on: 4FGL_J1129.1+3703_weekly_bin935
RA = 172.296, Dec = 37.0644
tmin = 804470401, tmax = 805075201
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='31102287', job_status='RUN', time_executed='2026-07-09 02:44:47.281532', time_epoch_executed='1783590287.28' WHERE source_name='4FGL J1129.1+3703' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31102287

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31102287/ft1_4FGL_J1129.1+3703_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31102287/ft1_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102287/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits ra=172.296 dec=37.0644 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.57
user 4.95
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.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/31102287/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.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.67
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 1476

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

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

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


Performing analysis on: 4FGL_J1129.1+3703_weekly_bin935
RA = 172.296, Dec = 37.0644
tmin = 804470401, tmax = 805075201
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='31102569', job_status='RUN', time_executed='2026-07-09 02:47:44.086336', time_epoch_executed='1783590464.09' WHERE source_name='4FGL J1129.1+3703' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31102569

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31102569/ft1_4FGL_J1129.1+3703_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31102569/ft1_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102569/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits ra=172.296 dec=37.0644 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.05
user 5.21
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.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/31102569/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1476

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA"number of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.1+3703_weekly_bin935
RA = 172.296, Dec = 37.0644
tmin = 804470401, tmax = 805075201
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='31102655', job_status='RUN', time_executed='2026-07-09 02:49:03.750128', time_epoch_executed='1783590543.75' WHERE source_name='4FGL J1129.1+3703' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31102655

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31102655/ft1_4FGL_J1129.1+3703_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31102655/ft1_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102655/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits ra=172.296 dec=37.0644 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.99
user 5.32
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.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/31102655/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.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.68
user 0.22
sys 0.15

Number of photons that the gtmktime cut: 1476

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA"number of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.1+3703_weekly_bin935
RA = 172.296, Dec = 37.0644
tmin = 804470401, tmax = 805075201
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='31102653', job_status='RUN', time_executed='2026-07-09 02:49:03.776521', time_epoch_executed='1783590543.78' WHERE source_name='4FGL J1129.1+3703' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31102653

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31102653/ft1_4FGL_J1129.1+3703_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31102653/ft1_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102653/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits ra=172.296 dec=37.0644 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.06
user 5.33
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.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/31102653/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1476

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31102287/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 19.11
user 18.38
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31102287/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102287/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102287/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 67.37
user 62.69
sys 3.91

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

Setting source of interest to:
4FGL J1129.1+3703 @ 172.296 37.0644

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102287/cmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102287/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31102287/Model_4FGL_J1129.1+3703_weekly_bin935.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/31102569/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 19.46
user 18.48
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31102569/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102569/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102569/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 71.12
user 66.02
sys 4.02

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

Setting source of interest to:
4FGL J1129.1+3703 @ 172.296 37.0644

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102569/cmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 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.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102569/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 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.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31102569/Model_4FGL_J1129.1+3703_weekly_bin935.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 = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.1+3703_weekly_bin935
RA = 172.296, Dec = 37.0644
tmin = 804470401, tmax = 805075201
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='31102751', job_status='RUN', time_executed='2026-07-09 02:50:39.581987', time_epoch_executed='1783590639.58' WHERE source_name='4FGL J1129.1+3703' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31102751

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31102751/ft1_4FGL_J1129.1+3703_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31102751/ft1_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102751/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits ra=172.296 dec=37.0644 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.06
user 5.22
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.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/31102751/ft1_filteredMKT_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1476

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31102655/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 19.62
user 18.84
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31102655/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102655/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102655/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 71.70
user 66.67
sys 4.18

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

Setting source of interest to:
4FGL J1129.1+3703 @ 172.296 37.0644

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102655/cmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102655/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31102655/Model_4FGL_J1129.1+3703_weekly_bin935.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/31102653/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 19.42
user 18.73
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31102653/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102653/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102653/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 71.70
user 66.70
sys 4.13

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

Setting source of interest to:
4FGL J1129.1+3703 @ 172.296 37.0644

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102653/cmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 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.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102653/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31102653/Model_4FGL_J1129.1+3703_weekly_bin935.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/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits.....................!
real 47.83
user 46.09
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits', '/lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits', expMap='/lscratch/kocevski/31102287/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', expCube='/lscratch/kocevski/31102287/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31102287/Model_4FGL_J1129.1+3703_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1+3703'

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  7.179e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31102287/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31102287/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31102287/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31102287/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31102287/Model_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.8603298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9066       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7098       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.751       1.0000          .0000       .10000E+07
     4 'Prefactor '    34.634       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0743       1.0000          .0000       .10000E+07
     6 'norm      '    1.1913       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51925E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47800E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51629E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .15757E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9061       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.209       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.536       1.0000          .0000       .10000E+07
    14 'norm      '    13.060       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38441E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .70820E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10556E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .28118       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.226       1.0000          .0000       .10000E+07
    20 'norm      '    4.6580       1.0000          .0000       .10000E+07
    21 'Prefactor '    .39477E-03   1.0000          .0000       .10000E+07
    22 'norm      '    18.718       1.0000          .0000       .10000E+07
    23 'Prefactor '    .89819       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2964       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16328.81     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2130 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8444        1.6609       -.25342E-07    .80012E-02
   2  Prefactor     1.7104        2.7488        .21733E-06   -.43806E-02
   3  Prefactor     11.712        4.1514       -.63552E-06    .11326E-02
   4  Prefactor     34.742        9.0755        .49917E-06   -.76082E-01
   5  Prefactor     2.0727        2.9758        .96158E-07   -.24969E-02
   6  norm          1.1916        .21107        .42336E-08    .19330E-01
   7  Prefactor      .0000        .41521       -.94874E-07** at limit **
   8  Prefactor     .94369E-09    5.1717        .10176E-05** at limit **
   9  Prefactor     .33307E-09    3.5926        .74718E-06** at limit **
  10  norm          .27756E-09    3.3466       -.43985E-07** at limit **
  11  Prefactor     2.8850        2.7225       -.81337E-07   -.29048E-02
  12  Prefactor     13.734        38.164        .18806E-05    .10701E-01
  13  Prefactor     17.435        13.802       -.58003E-06   -.10667E-01
  14  norm          13.049        2.9202       -.12755E-06    .12303E-01
  15  Prefactor     .88818E-09    3.3725       -.99150E-06** at limit **
  16  Prefactor     .11102E-08    3.7687        .37550E-06** at limit **
  17  Prefactor     .38858E-09    13.914       -.66972E-06** at limit **
  18  norm          .27983        .59220        .74223E-07   -.74778E-02
  19  Prefactor     10.160        2.5525       -.21551E-06    .20174E-01
  20  norm          4.6572        3.8111       -.22887E-06    .81717E-02
  21  Prefactor     .69389E-08    26.423        .21284E-05** at limit **
  22  norm          18.721        1.7631        .44571E-07   -.20791E-01
  23  Prefactor     .89189        6.0674       -.26040E-05   -.10158E-01
  24  Normalizat    1.2966        .14593        .28062E-05   -.18525E-04
  25  Prefactor     .84298        .16321        .56463E-07    .31043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.84436
  Prefactor  = 1.71038
  Prefactor  = 11.7115
  Prefactor  = 34.742
  Prefactor  = 2.07275
  norm       = 1.19165
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 3.33067e-10
  norm       = 2.77556e-10
  Prefactor  = 2.88501
  Prefactor  = 13.7338
  Prefactor  = 17.4347
  norm       = 13.049
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-09
  Prefactor  = 3.88578e-10
  norm       = 0.279829
  Prefactor  = 10.1599
  norm       = 4.65718
  Prefactor  = 6.93889e-09
  norm       = 18.7209
  Prefactor  = 0.89189
  Normalizat = 1.29657
  Prefactor  = 0.842976
 outfile=/lscratch/kocevski/31102751/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 19.17
user 18.29
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31102751/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102751/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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/31102751/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
.....................!
real 71.09
user 66.02
sys 3.94

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

Setting source of interest to:
4FGL J1129.1+3703 @ 172.296 37.0644

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102751/cmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits scfile=/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits outfile=/lscratch/kocevski/31102751/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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=172.296 yref=37.0644 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31102751/Model_4FGL_J1129.1+3703_weekly_bin935.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=   16328.81     FROM HESSE     STATUS=OK           485 CALLS     2615 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8444        41.227        .59572E-03   -1.5674    
   2  Prefactor     1.7104        2.7806        .80364E-03   -1.5682    
   3  Prefactor     11.712        11.486        .29198E-03   -1.5640    
   4  Prefactor     34.742        64.858        .16994E-03   -1.5590    
   5  Prefactor     2.0727        2.9968        .71689E-03   -1.5679    
   6  norm          1.1916        .21072        .54038E-03   -1.5686    
   7  Prefactor      .0000        .41431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94369E-09    5.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33307E-09    3.5926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27756E-09    3.3448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8850        2.8050        .59577E-03   -1.5674    
  12  Prefactor     13.734        39.036        .27535E-03   -1.5634    
  13  Prefactor     17.435        13.969        .23890E-03   -1.5624    
  14  norm          13.049        2.9412        .27691E-03   -1.5636    
  15  Prefactor     .88818E-09    3.3730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-08    3.7426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38858E-09    13.918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .27983        .60553        .10479E-02   -1.5697    
  19  Prefactor     10.160        18.797        .31309E-03   -1.5644    
  20  norm          4.6572        3.8144        .46607E-03   -1.5665    
  21  Prefactor     .69389E-08    26.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.721        1.7918        .23122E-03   -1.5621    
  23  Prefactor     .89189        6.8659        .45886E-03   -1.5689    
  24  Normalizat    1.2966        .12443        .57685E-01   -.83669    
  25  Prefactor     .84298        .13822        .79170E-01   -.98163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82034e-07
Minuit parameter uncertainties:
  1  21.6578
  2  2.78065
  3  11.4861
  4  64.8593
  5  2.99684
  6  0.210715
  7  5.73488e-06
  8  0.000140899
  9  6.95928e-05
  10  6.06736e-05
  11  2.80498
  12  39.0369
  13  13.9693
  14  2.94123
  15  0.000107932
  16  0.000128141
  17  0.000150192
  18  0.605534
  19  18.7973
  20  3.81437
  21  0.000856177
  22  1.79178
  23  4.94921
  24  0.124459
  25  0.138275
e GAL_V02
Working on...
/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits.....................!
real 52.00
user 49.80
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits', '/lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits', expMap='/lscratch/kocevski/31102569/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', expCube='/lscratch/kocevski/31102569/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31102569/Model_4FGL_J1129.1+3703_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1+3703'

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  7.179e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31102569/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31102569/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31102569/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31102569/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31102569/Model_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.8603298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9066       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7098       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.751       1.0000          .0000       .10000E+07
     4 'Prefactor '    34.634       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0743       1.0000          .0000       .10000E+07
     6 'norm      '    1.1913       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51925E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47800E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51629E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .15757E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9061       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.209       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.536       1.0000          .0000       .10000E+07
    14 'norm      '    13.060       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38441E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .70820E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10556E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .28118       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.226       1.0000          .0000       .10000E+07
    20 'norm      '    4.6580       1.0000          .0000       .10000E+07
    21 'Prefactor '    .39477E-03   1.0000          .0000       .10000E+07
    22 'norm      '    18.718       1.0000          .0000       .10000E+07
    23 'Prefactor '    .89819       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2964       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16328.81     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2130 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8444        1.6609       -.25342E-07    .80012E-02
   2  Prefactor     1.7104        2.7488        .21733E-06   -.43806E-02
   3  Prefactor     11.712        4.1514       -.63552E-06    .11326E-02
   4  Prefactor     34.742        9.0755        .49917E-06   -.76082E-01
   5  Prefactor     2.0727        2.9758        .96158E-07   -.24969E-02
   6  norm          1.1916        .21107        .42336E-08    .19330E-01
   7  Prefactor      .0000        .41521       -.94874E-07** at limit **
   8  Prefactor     .94369E-09    5.1717        .10176E-05** at limit **
   9  Prefactor     .33307E-09    3.5926        .74718E-06** at limit **
  10  norm          .27756E-09    3.3466       -.43985E-07** at limit **
  11  Prefactor     2.8850        2.7225       -.81337E-07   -.29048E-02
  12  Prefactor     13.734        38.164        .18806E-05    .10701E-01
  13  Prefactor     17.435        13.802       -.58003E-06   -.10667E-01
  14  norm          13.049        2.9202       -.12755E-06    .12303E-01
  15  Prefactor     .88818E-09    3.3725       -.99150E-06** at limit **
  16  Prefactor     .11102E-08    3.7687        .37550E-06** at limit **
  17  Prefactor     .38858E-09    13.914       -.66972E-06** at limit **
  18  norm          .27983        .59220        .74223E-07   -.74778E-02
  19  Prefactor     10.160        2.5525       -.21551E-06    .20174E-01
  20  norm          4.6572        3.8111       -.22887E-06    .81717E-02
  21  Prefactor     .69389E-08    26.423        .21284E-05** at limit **
  22  norm          18.721        1.7631        .44571E-07   -.20791E-01
  23  Prefactor     .89189        6.0674       -.26040E-05   -.10158E-01
  24  Normalizat    1.2966        .14593        .28062E-05   -.18525E-04
  25  Prefactor     .84298        .16321        .56463E-07    .31043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.84436
  Prefactor  = 1.71038
  Prefactor  = 11.7115
  Prefactor  = 34.742
  Prefactor  = 2.07275
  norm       = 1.19165
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 3.33067e-10
  norm       = 2.77556e-10
  Prefactor  = 2.88501
  Prefactor  = 13.7338
  Prefactor  = 17.4347
  norm       = 13.049
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-09
  Prefactor  = 3.88578e-10
  norm       = 0.279829
  Prefactor  = 10.1599
  norm       = 4.65718
  Prefactor  = 6.93889e-09
  norm       = 18.7209
  Prefactor  = 0.89189
  Normalizat = 1.29657
  Prefactor  = 0.842976
Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.373e+01  3.904e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.430e-01  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.297e+00  1.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 172.296 37.064
Photon Flux Upper Limit: 6.54307935728e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00497446578798 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31102287/likelihoodResults_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.7644244
delta logL = 0.0413699026485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16328.7598978
delta logL = 0.0458965733305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.208       1.0000          .0000       .10000E+07
     2 'Index     '    2.4904       1.0000          .0000       10.000    
     3 'Normalizat'    1.2908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   16328.76     FROM MIGRAD    STATUS=FAILED        92 CALLS      252 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.221        30.410        .11960E-04    .91089E-02
   2  Index         2.4889        1.1896        .85257E-02    .81584E-03
   3  Normalizat    1.2908        .14497        .25550E-03   -.77705E-03
   4  Prefactor     .84597        .16306        .34983E-03   -.71560E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   16328.76     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      326 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.221        30.410        .26302E-04   -1.5641    
   2  Index         2.4889        1.1896        .55582E-03   -.52616    
   3  Normalizat    1.2908        .14497        .18377E-03   -.83841    
   4  Prefactor     .84597        .16306        .21133E-03   -.98055    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16328.76     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      355 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.223        26.937        .23920E-05    .46824E-02
   2  Index         2.4887        1.0552        .34103E-03    .73074E-04
   3  Normalizat    1.2908        .14477        .51100E-04   -.39156E-05
   4  Prefactor     .84597        .16294        .13993E-04   -.53296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2235
  Index      = 2.48875
  Normalizat = 1.2908
  Prefactor  = 0.845972
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.76     FROM HESSE     STATUS=OK            23 CALLS      378 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.223        26.813        .47841E-06   -1.5641    
   2  Index         2.4887        1.0506        .13641E-04   -.52620    
   3  Normalizat    1.2908        .14479        .10220E-04   -.83841    
   4  Prefactor     .84597        .16296        .27986E-05   -.98055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92725e-10
Minuit parameter uncertainties:
  1  26.8138
  2  1.06119
  3  0.144833
  4  0.163049
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) = 16328.7598963
delta logL = 0.0458980294388

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.122e+01  2.681e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.489e+00  1.061e+00  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.460e-01  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.291e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 172.296 37.064

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/31102287/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2026-07-09 02:59:04.120109', job_id='31102287', GAL2='0.85', fit_tolerance='1e-08', EG2='1.29', EG='1.30', time_epoch_completed='1783591144.12', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.59e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='935' AND source_name='4FGL J1129.1+3703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 02:59:04 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits.....................!
real 50.17
user 48.33
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits', '/lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits', expMap='/lscratch/kocevski/31102653/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', expCube='/lscratch/kocevski/31102653/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31102653/Model_4FGL_J1129.1+3703_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1+3703'

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  7.179e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31102653/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31102653/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31102653/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31102653/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31102653/Model_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.8603298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9066       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7098       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.751       1.0000          .0000       .10000E+07
     4 'Prefactor '    34.634       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0743       1.0000          .0000       .10000E+07
     6 'norm      '    1.1913       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51925E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47800E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51629E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .15757E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9061       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.209       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.536       1.0000          .0000       .10000E+07
    14 'norm      '    13.060       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38441E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .70820E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10556E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .28118       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.226       1.0000          .0000       .10000E+07
    20 'norm      '    4.6580       1.0000          .0000       .10000E+07
    21 'Prefactor '    .39477E-03   1.0000          .0000       .10000E+07
    22 'norm      '    18.718       1.0000          .0000       .10000E+07
    23 'Prefactor '    .89819       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2964       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
e GAL_V02
Working on...
/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits.....................!
real 50.23
user 48.57
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits', '/lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits', expMap='/lscratch/kocevski/31102655/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', expCube='/lscratch/kocevski/31102655/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31102655/Model_4FGL_J1129.1+3703_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1+3703'

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  7.179e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31102655/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31102655/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31102655/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31102655/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31102655/Model_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.8603298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9066       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7098       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.751       1.0000          .0000       .10000E+07
     4 'Prefactor '    34.634       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0743       1.0000          .0000       .10000E+07
     6 'norm      '    1.1913       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51925E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47800E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51629E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .15757E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9061       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.209       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.536       1.0000          .0000       .10000E+07
    14 'norm      '    13.060       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38441E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .70820E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10556E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .28118       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.226       1.0000          .0000       .10000E+07
    20 'norm      '    4.6580       1.0000          .0000       .10000E+07
    21 'Prefactor '    .39477E-03   1.0000          .0000       .10000E+07
    22 'norm      '    18.718       1.0000          .0000       .10000E+07
    23 'Prefactor '    .89819       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2964       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.81     FROM HESSE     STATUS=OK           485 CALLS     2615 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8444        41.227        .59572E-03   -1.5674    
   2  Prefactor     1.7104        2.7806        .80364E-03   -1.5682    
   3  Prefactor     11.712        11.486        .29198E-03   -1.5640    
   4  Prefactor     34.742        64.858        .16994E-03   -1.5590    
   5  Prefactor     2.0727        2.9968        .71689E-03   -1.5679    
   6  norm          1.1916        .21072        .54038E-03   -1.5686    
   7  Prefactor      .0000        .41431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94369E-09    5.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33307E-09    3.5926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27756E-09    3.3448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8850        2.8050        .59577E-03   -1.5674    
  12  Prefactor     13.734        39.036        .27535E-03   -1.5634    
  13  Prefactor     17.435        13.969        .23890E-03   -1.5624    
  14  norm          13.049        2.9412        .27691E-03   -1.5636    
  15  Prefactor     .88818E-09    3.3730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-08    3.7426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38858E-09    13.918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .27983        .60553        .10479E-02   -1.5697    
  19  Prefactor     10.160        18.797        .31309E-03   -1.5644    
  20  norm          4.6572        3.8144        .46607E-03   -1.5665    
  21  Prefactor     .69389E-08    26.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.721        1.7918        .23122E-03   -1.5621    
  23  Prefactor     .89189        6.8659        .45886E-03   -1.5689    
  24  Normalizat    1.2966        .12443        .57685E-01   -.83669    
  25  Prefactor     .84298        .13822        .79170E-01   -.98163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82034e-07
Minuit parameter uncertainties:
  1  21.6578
  2  2.78065
  3  11.4861
  4  64.8593
  5  2.99684
  6  0.210715
  7  5.73488e-06
  8  0.000140899
  9  6.95928e-05
  10  6.06736e-05
  11  2.80498
  12  39.0369
  13  13.9693
  14  2.94123
  15  0.000107932
  16  0.000128141
  17  0.000150192
  18  0.605534
  19  18.7973
  20  3.81437
  21  0.000856177
  22  1.79178
  23  4.94921
  24  0.124459
  25  0.138275
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16328.81     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2130 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8444        1.6609       -.25342E-07    .80012E-02
   2  Prefactor     1.7104        2.7488        .21733E-06   -.43806E-02
   3  Prefactor     11.712        4.1514       -.63552E-06    .11326E-02
   4  Prefactor     34.742        9.0755        .49917E-06   -.76082E-01
   5  Prefactor     2.0727        2.9758        .96158E-07   -.24969E-02
   6  norm          1.1916        .21107        .42336E-08    .19330E-01
   7  Prefactor      .0000        .41521       -.94874E-07** at limit **
   8  Prefactor     .94369E-09    5.1717        .10176E-05** at limit **
   9  Prefactor     .33307E-09    3.5926        .74718E-06** at limit **
  10  norm          .27756E-09    3.3466       -.43985E-07** at limit **
  11  Prefactor     2.8850        2.7225       -.81337E-07   -.29048E-02
  12  Prefactor     13.734        38.164        .18806E-05    .10701E-01
  13  Prefactor     17.435        13.802       -.58003E-06   -.10667E-01
  14  norm          13.049        2.9202       -.12755E-06    .12303E-01
  15  Prefactor     .88818E-09    3.3725       -.99150E-06** at limit **
  16  Prefactor     .11102E-08    3.7687        .37550E-06** at limit **
  17  Prefactor     .38858E-09    13.914       -.66972E-06** at limit **
  18  norm          .27983        .59220        .74223E-07   -.74778E-02
  19  Prefactor     10.160        2.5525       -.21551E-06    .20174E-01
  20  norm          4.6572        3.8111       -.22887E-06    .81717E-02
  21  Prefactor     .69389E-08    26.423        .21284E-05** at limit **
  22  norm          18.721        1.7631        .44571E-07   -.20791E-01
  23  Prefactor     .89189        6.0674       -.26040E-05   -.10158E-01
  24  Normalizat    1.2966        .14593        .28062E-05   -.18525E-04
  25  Prefactor     .84298        .16321        .56463E-07    .31043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.84436
  Prefactor  = 1.71038
  Prefactor  = 11.7115
  Prefactor  = 34.742
  Prefactor  = 2.07275
  norm       = 1.19165
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 3.33067e-10
  norm       = 2.77556e-10
  Prefactor  = 2.88501
  Prefactor  = 13.7338
  Prefactor  = 17.4347
  norm       = 13.049
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-09
  Prefactor  = 3.88578e-10
  norm       = 0.279829
  Prefactor  = 10.1599
  norm       = 4.65718
  Prefactor  = 6.93889e-09
  norm       = 18.7209
  Prefactor  = 0.89189
  Normalizat = 1.29657
  Prefactor  = 0.842976
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16328.81     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2130 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8444        1.6609       -.25342E-07    .80012E-02
   2  Prefactor     1.7104        2.7488        .21733E-06   -.43806E-02
   3  Prefactor     11.712        4.1514       -.63552E-06    .11326E-02
   4  Prefactor     34.742        9.0755        .49917E-06   -.76082E-01
   5  Prefactor     2.0727        2.9758        .96158E-07   -.24969E-02
   6  norm          1.1916        .21107        .42336E-08    .19330E-01
   7  Prefactor      .0000        .41521       -.94874E-07** at limit **
   8  Prefactor     .94369E-09    5.1717        .10176E-05** at limit **
   9  Prefactor     .33307E-09    3.5926        .74718E-06** at limit **
  10  norm          .27756E-09    3.3466       -.43985E-07** at limit **
  11  Prefactor     2.8850        2.7225       -.81337E-07   -.29048E-02
  12  Prefactor     13.734        38.164        .18806E-05    .10701E-01
  13  Prefactor     17.435        13.802       -.58003E-06   -.10667E-01
  14  norm          13.049        2.9202       -.12755E-06    .12303E-01
  15  Prefactor     .88818E-09    3.3725       -.99150E-06** at limit **
  16  Prefactor     .11102E-08    3.7687        .37550E-06** at limit **
  17  Prefactor     .38858E-09    13.914       -.66972E-06** at limit **
  18  norm          .27983        .59220        .74223E-07   -.74778E-02
  19  Prefactor     10.160        2.5525       -.21551E-06    .20174E-01
  20  norm          4.6572        3.8111       -.22887E-06    .81717E-02
  21  Prefactor     .69389E-08    26.423        .21284E-05** at limit **
  22  norm          18.721        1.7631        .44571E-07   -.20791E-01
  23  Prefactor     .89189        6.0674       -.26040E-05   -.10158E-01
  24  Normalizat    1.2966        .14593        .28062E-05   -.18525E-04
  25  Prefactor     .84298        .16321        .56463E-07    .31043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.84436
  Prefactor  = 1.71038
  Prefactor  = 11.7115
  Prefactor  = 34.742
  Prefactor  = 2.07275
  norm       = 1.19165
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 3.33067e-10
  norm       = 2.77556e-10
  Prefactor  = 2.88501
  Prefactor  = 13.7338
  Prefactor  = 17.4347
  norm       = 13.049
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-09
  Prefactor  = 3.88578e-10
  norm       = 0.279829
  Prefactor  = 10.1599
  norm       = 4.65718
  Prefactor  = 6.93889e-09
  norm       = 18.7209
  Prefactor  = 0.89189
  Normalizat = 1.29657
  Prefactor  = 0.842976
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.81     FROM HESSE     STATUS=OK           485 CALLS     2615 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8444        41.227        .59572E-03   -1.5674    
   2  Prefactor     1.7104        2.7806        .80364E-03   -1.5682    
   3  Prefactor     11.712        11.486        .29198E-03   -1.5640    
   4  Prefactor     34.742        64.858        .16994E-03   -1.5590    
   5  Prefactor     2.0727        2.9968        .71689E-03   -1.5679    
   6  norm          1.1916        .21072        .54038E-03   -1.5686    
   7  Prefactor      .0000        .41431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94369E-09    5.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33307E-09    3.5926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27756E-09    3.3448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8850        2.8050        .59577E-03   -1.5674    
  12  Prefactor     13.734        39.036        .27535E-03   -1.5634    
  13  Prefactor     17.435        13.969        .23890E-03   -1.5624    
  14  norm          13.049        2.9412        .27691E-03   -1.5636    
  15  Prefactor     .88818E-09    3.3730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-08    3.7426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38858E-09    13.918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .27983        .60553        .10479E-02   -1.5697    
  19  Prefactor     10.160        18.797        .31309E-03   -1.5644    
  20  norm          4.6572        3.8144        .46607E-03   -1.5665    
  21  Prefactor     .69389E-08    26.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.721        1.7918        .23122E-03   -1.5621    
  23  Prefactor     .89189        6.8659        .45886E-03   -1.5689    
  24  Normalizat    1.2966        .12443        .57685E-01   -.83669    
  25  Prefactor     .84298        .13822        .79170E-01   -.98163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82034e-07
Minuit parameter uncertainties:
  1  21.6578
  2  2.78065
  3  11.4861
  4  64.8593
  5  2.99684
  6  0.210715
  7  5.73488e-06
  8  0.000140899
  9  6.95928e-05
  10  6.06736e-05
  11  2.80498
  12  39.0369
  13  13.9693
  14  2.94123
  15  0.000107932
  16  0.000128141
  17  0.000150192
  18  0.605534
  19  18.7973
  20  3.81437
  21  0.000856177
  22  1.79178
  23  4.94921
  24  0.124459
  25  0.138275
e GAL_V02
Working on...
/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits.....................!
real 52.34
user 50.25
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits', '/lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits', expMap='/lscratch/kocevski/31102751/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', expCube='/lscratch/kocevski/31102751/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31102751/Model_4FGL_J1129.1+3703_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1+3703'

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  7.179e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31102751/ft1_filtered_4FGL_J1129.1+3703_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31102751/ft2_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31102751/expmap_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31102751/ltcube_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31102751/Model_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.8603298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9066       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7098       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.751       1.0000          .0000       .10000E+07
     4 'Prefactor '    34.634       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0743       1.0000          .0000       .10000E+07
     6 'norm      '    1.1913       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51925E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47800E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51629E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .15757E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9061       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.209       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.536       1.0000          .0000       .10000E+07
    14 'norm      '    13.060       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38441E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .70820E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10556E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .28118       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.226       1.0000          .0000       .10000E+07
    20 'norm      '    4.6580       1.0000          .0000       .10000E+07
    21 'Prefactor '    .39477E-03   1.0000          .0000       .10000E+07
    22 'norm      '    18.718       1.0000          .0000       .10000E+07
    23 'Prefactor '    .89819       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2964       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.81     FROM HESSE     STATUS=OK           485 CALLS     2615 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8444        41.227        .59572E-03   -1.5674    
   2  Prefactor     1.7104        2.7806        .80364E-03   -1.5682    
   3  Prefactor     11.712        11.486        .29198E-03   -1.5640    
   4  Prefactor     34.742        64.858        .16994E-03   -1.5590    
   5  Prefactor     2.0727        2.9968        .71689E-03   -1.5679    
   6  norm          1.1916        .21072        .54038E-03   -1.5686    
   7  Prefactor      .0000        .41431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94369E-09    5.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33307E-09    3.5926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27756E-09    3.3448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8850        2.8050        .59577E-03   -1.5674    
  12  Prefactor     13.734        39.036        .27535E-03   -1.5634    
  13  Prefactor     17.435        13.969        .23890E-03   -1.5624    
  14  norm          13.049        2.9412        .27691E-03   -1.5636    
  15  Prefactor     .88818E-09    3.3730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-08    3.7426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38858E-09    13.918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .27983        .60553        .10479E-02   -1.5697    
  19  Prefactor     10.160        18.797        .31309E-03   -1.5644    
  20  norm          4.6572        3.8144        .46607E-03   -1.5665    
  21  Prefactor     .69389E-08    26.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.721        1.7918        .23122E-03   -1.5621    
  23  Prefactor     .89189        6.8659        .45886E-03   -1.5689    
  24  Normalizat    1.2966        .12443        .57685E-01   -.83669    
  25  Prefactor     .84298        .13822        .79170E-01   -.98163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82034e-07
Minuit parameter uncertainties:
  1  21.6578
  2  2.78065
  3  11.4861
  4  64.8593
  5  2.99684
  6  0.210715
  7  5.73488e-06
  8  0.000140899
  9  6.95928e-05
  10  6.06736e-05
  11  2.80498
  12  39.0369
  13  13.9693
  14  2.94123
  15  0.000107932
  16  0.000128141
  17  0.000150192
  18  0.605534
  19  18.7973
  20  3.81437
  21  0.000856177
  22  1.79178
  23  4.94921
  24  0.124459
  25  0.138275
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16328.81     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2130 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8444        1.6609       -.25342E-07    .80012E-02
   2  Prefactor     1.7104        2.7488        .21733E-06   -.43806E-02
   3  Prefactor     11.712        4.1514       -.63552E-06    .11326E-02
   4  Prefactor     34.742        9.0755        .49917E-06   -.76082E-01
   5  Prefactor     2.0727        2.9758        .96158E-07   -.24969E-02
   6  norm          1.1916        .21107        .42336E-08    .19330E-01
   7  Prefactor      .0000        .41521       -.94874E-07** at limit **
   8  Prefactor     .94369E-09    5.1717        .10176E-05** at limit **
   9  Prefactor     .33307E-09    3.5926        .74718E-06** at limit **
  10  norm          .27756E-09    3.3466       -.43985E-07** at limit **
  11  Prefactor     2.8850        2.7225       -.81337E-07   -.29048E-02
  12  Prefactor     13.734        38.164        .18806E-05    .10701E-01
  13  Prefactor     17.435        13.802       -.58003E-06   -.10667E-01
  14  norm          13.049        2.9202       -.12755E-06    .12303E-01
  15  Prefactor     .88818E-09    3.3725       -.99150E-06** at limit **
  16  Prefactor     .11102E-08    3.7687        .37550E-06** at limit **
  17  Prefactor     .38858E-09    13.914       -.66972E-06** at limit **
  18  norm          .27983        .59220        .74223E-07   -.74778E-02
  19  Prefactor     10.160        2.5525       -.21551E-06    .20174E-01
  20  norm          4.6572        3.8111       -.22887E-06    .81717E-02
  21  Prefactor     .69389E-08    26.423        .21284E-05** at limit **
  22  norm          18.721        1.7631        .44571E-07   -.20791E-01
  23  Prefactor     .89189        6.0674       -.26040E-05   -.10158E-01
  24  Normalizat    1.2966        .14593        .28062E-05   -.18525E-04
  25  Prefactor     .84298        .16321        .56463E-07    .31043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.84436
  Prefactor  = 1.71038
  Prefactor  = 11.7115
  Prefactor  = 34.742
  Prefactor  = 2.07275
  norm       = 1.19165
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 3.33067e-10
  norm       = 2.77556e-10
  Prefactor  = 2.88501
  Prefactor  = 13.7338
  Prefactor  = 17.4347
  norm       = 13.049
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-09
  Prefactor  = 3.88578e-10
  norm       = 0.279829
  Prefactor  = 10.1599
  norm       = 4.65718
  Prefactor  = 6.93889e-09
  norm       = 18.7209
  Prefactor  = 0.89189
  Normalizat = 1.29657
  Prefactor  = 0.842976
Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.373e+01  3.904e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.430e-01  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.297e+00  1.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 172.296 37.064
Photon Flux Upper Limit: 6.54307935728e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00497446578798 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31102569/likelihoodResults_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.7644244
delta logL = 0.0413699026485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16328.7598978
delta logL = 0.0458965733305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.208       1.0000          .0000       .10000E+07
     2 'Index     '    2.4904       1.0000          .0000       10.000    
     3 'Normalizat'    1.2908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   16328.76     FROM MIGRAD    STATUS=FAILED        92 CALLS      252 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.221        30.410        .11960E-04    .91089E-02
   2  Index         2.4889        1.1896        .85257E-02    .81584E-03
   3  Normalizat    1.2908        .14497        .25550E-03   -.77705E-03
   4  Prefactor     .84597        .16306        .34983E-03   -.71560E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   16328.76     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      326 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.221        30.410        .26302E-04   -1.5641    
   2  Index         2.4889        1.1896        .55582E-03   -.52616    
   3  Normalizat    1.2908        .14497        .18377E-03   -.83841    
   4  Prefactor     .84597        .16306        .21133E-03   -.98055    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16328.76     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      355 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.223        26.937        .23920E-05    .46824E-02
   2  Index         2.4887        1.0552        .34103E-03    .73074E-04
   3  Normalizat    1.2908        .14477        .51100E-04   -.39156E-05
   4  Prefactor     .84597        .16294        .13993E-04   -.53296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2235
  Index      = 2.48875
  Normalizat = 1.2908
  Prefactor  = 0.845972
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.76     FROM HESSE     STATUS=OK            23 CALLS      378 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.223        26.813        .47841E-06   -1.5641    
   2  Index         2.4887        1.0506        .13641E-04   -.52620    
   3  Normalizat    1.2908        .14479        .10220E-04   -.83841    
   4  Prefactor     .84597        .16296        .27986E-05   -.98055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92725e-10
Minuit parameter uncertainties:
  1  26.8138
  2  1.06119
  3  0.144833
  4  0.163049
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) = 16328.7598963
delta logL = 0.0458980294388

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.122e+01  2.681e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.489e+00  1.061e+00  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.460e-01  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.291e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 172.296 37.064

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/31102569/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2026-07-09 03:01:18.154355', job_id='31102569', GAL2='0.85', fit_tolerance='1e-08', EG2='1.29', EG='1.30', time_epoch_completed='1783591278.15', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.59e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='935' AND source_name='4FGL J1129.1+3703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 03:01:18 PDT 2026

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

 FCN=   16328.81     FROM HESSE     STATUS=OK           485 CALLS     2615 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8444        41.227        .59572E-03   -1.5674    
   2  Prefactor     1.7104        2.7806        .80364E-03   -1.5682    
   3  Prefactor     11.712        11.486        .29198E-03   -1.5640    
   4  Prefactor     34.742        64.858        .16994E-03   -1.5590    
   5  Prefactor     2.0727        2.9968        .71689E-03   -1.5679    
   6  norm          1.1916        .21072        .54038E-03   -1.5686    
   7  Prefactor      .0000        .41431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94369E-09    5.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33307E-09    3.5926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27756E-09    3.3448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8850        2.8050        .59577E-03   -1.5674    
  12  Prefactor     13.734        39.036        .27535E-03   -1.5634    
  13  Prefactor     17.435        13.969        .23890E-03   -1.5624    
  14  norm          13.049        2.9412        .27691E-03   -1.5636    
  15  Prefactor     .88818E-09    3.3730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-08    3.7426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38858E-09    13.918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .27983        .60553        .10479E-02   -1.5697    
  19  Prefactor     10.160        18.797        .31309E-03   -1.5644    
  20  norm          4.6572        3.8144        .46607E-03   -1.5665    
  21  Prefactor     .69389E-08    26.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.721        1.7918        .23122E-03   -1.5621    
  23  Prefactor     .89189        6.8659        .45886E-03   -1.5689    
  24  Normalizat    1.2966        .12443        .57685E-01   -.83669    
  25  Prefactor     .84298        .13822        .79170E-01   -.98163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82034e-07
Minuit parameter uncertainties:
  1  21.6578
  2  2.78065
  3  11.4861
  4  64.8593
  5  2.99684
  6  0.210715
  7  5.73488e-06
  8  0.000140899
  9  6.95928e-05
  10  6.06736e-05
  11  2.80498
  12  39.0369
  13  13.9693
  14  2.94123
  15  0.000107932
  16  0.000128141
  17  0.000150192
  18  0.605534
  19  18.7973
  20  3.81437
  21  0.000856177
  22  1.79178
  23  4.94921
  24  0.124459
  25  0.138275
Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.373e+01  3.904e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.430e-01  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.297e+00  1.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 172.296 37.064
Photon Flux Upper Limit: 6.54307935728e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00497446578798 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31102653/likelihoodResults_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.7644244
delta logL = 0.0413699026485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16328.7598978
delta logL = 0.0458965733305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.208       1.0000          .0000       .10000E+07
     2 'Index     '    2.4904       1.0000          .0000       10.000    
     3 'Normalizat'    1.2908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   16328.76     FROM MIGRAD    STATUS=FAILED        92 CALLS      252 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.221        30.410        .11960E-04    .91089E-02
   2  Index         2.4889        1.1896        .85257E-02    .81584E-03
   3  Normalizat    1.2908        .14497        .25550E-03   -.77705E-03
   4  Prefactor     .84597        .16306        .34983E-03   -.71560E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   16328.76     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      326 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.221        30.410        .26302E-04   -1.5641    
   2  Index         2.4889        1.1896        .55582E-03   -.52616    
   3  Normalizat    1.2908        .14497        .18377E-03   -.83841    
   4  Prefactor     .84597        .16306        .21133E-03   -.98055    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16328.76     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      355 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.223        26.937        .23920E-05    .46824E-02
   2  Index         2.4887        1.0552        .34103E-03    .73074E-04
   3  Normalizat    1.2908        .14477        .51100E-04   -.39156E-05
   4  Prefactor     .84597        .16294        .13993E-04   -.53296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2235
  Index      = 2.48875
  Normalizat = 1.2908
  Prefactor  = 0.845972
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.76     FROM HESSE     STATUS=OK            23 CALLS      378 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.223        26.813        .47841E-06   -1.5641    
   2  Index         2.4887        1.0506        .13641E-04   -.52620    
   3  Normalizat    1.2908        .14479        .10220E-04   -.83841    
   4  Prefactor     .84597        .16296        .27986E-05   -.98055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92725e-10
Minuit parameter uncertainties:
  1  26.8138
  2  1.06119
  3  0.144833
  4  0.163049
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) = 16328.7598963
delta logL = 0.0458980294388

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.122e+01  2.681e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.489e+00  1.061e+00  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.460e-01  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.291e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 172.296 37.064

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/31102653/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2026-07-09 03:02:29.586188', job_id='31102653', GAL2='0.85', fit_tolerance='1e-08', EG2='1.29', EG='1.30', time_epoch_completed='1783591349.59', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.59e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='935' AND source_name='4FGL J1129.1+3703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 03:02:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.373e+01  3.904e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.430e-01  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.297e+00  1.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 172.296 37.064
Photon Flux Upper Limit: 6.54307935728e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00497446578798 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31102655/likelihoodResults_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.7644244
delta logL = 0.0413699026485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16328.7598978
delta logL = 0.0458965733305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.208       1.0000          .0000       .10000E+07
     2 'Index     '    2.4904       1.0000          .0000       10.000    
     3 'Normalizat'    1.2908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   16328.76     FROM MIGRAD    STATUS=FAILED        92 CALLS      252 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.221        30.410        .11960E-04    .91089E-02
   2  Index         2.4889        1.1896        .85257E-02    .81584E-03
   3  Normalizat    1.2908        .14497        .25550E-03   -.77705E-03
   4  Prefactor     .84597        .16306        .34983E-03   -.71560E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   16328.76     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      326 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.221        30.410        .26302E-04   -1.5641    
   2  Index         2.4889        1.1896        .55582E-03   -.52616    
   3  Normalizat    1.2908        .14497        .18377E-03   -.83841    
   4  Prefactor     .84597        .16306        .21133E-03   -.98055    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16328.76     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      355 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.223        26.937        .23920E-05    .46824E-02
   2  Index         2.4887        1.0552        .34103E-03    .73074E-04
   3  Normalizat    1.2908        .14477        .51100E-04   -.39156E-05
   4  Prefactor     .84597        .16294        .13993E-04   -.53296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2235
  Index      = 2.48875
  Normalizat = 1.2908
  Prefactor  = 0.845972
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.76     FROM HESSE     STATUS=OK            23 CALLS      378 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.223        26.813        .47841E-06   -1.5641    
   2  Index         2.4887        1.0506        .13641E-04   -.52620    
   3  Normalizat    1.2908        .14479        .10220E-04   -.83841    
   4  Prefactor     .84597        .16296        .27986E-05   -.98055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92725e-10
Minuit parameter uncertainties:
  1  26.8138
  2  1.06119
  3  0.144833
  4  0.163049
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) = 16328.7598963
delta logL = 0.0458980294388

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.122e+01  2.681e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.489e+00  1.061e+00  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.460e-01  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.291e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 172.296 37.064

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/31102655/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2026-07-09 03:02:48.614001', job_id='31102655', GAL2='0.85', fit_tolerance='1e-08', EG2='1.29', EG='1.30', time_epoch_completed='1783591368.61', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.59e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='935' AND source_name='4FGL J1129.1+3703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 03:02:48 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.373e+01  3.904e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.430e-01  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.297e+00  1.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 172.296 37.064
Photon Flux Upper Limit: 6.54307935728e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00497446578798 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31102751/likelihoodResults_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.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) = 16328.7644244
delta logL = 0.0413699026485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16328.7598978
delta logL = 0.0458965733305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.208       1.0000          .0000       .10000E+07
     2 'Index     '    2.4904       1.0000          .0000       10.000    
     3 'Normalizat'    1.2908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   16328.76     FROM MIGRAD    STATUS=FAILED        92 CALLS      252 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.221        30.410        .11960E-04    .91089E-02
   2  Index         2.4889        1.1896        .85257E-02    .81584E-03
   3  Normalizat    1.2908        .14497        .25550E-03   -.77705E-03
   4  Prefactor     .84597        .16306        .34983E-03   -.71560E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   16328.76     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      326 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.221        30.410        .26302E-04   -1.5641    
   2  Index         2.4889        1.1896        .55582E-03   -.52616    
   3  Normalizat    1.2908        .14497        .18377E-03   -.83841    
   4  Prefactor     .84597        .16306        .21133E-03   -.98055    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16328.76     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      355 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.223        26.937        .23920E-05    .46824E-02
   2  Index         2.4887        1.0552        .34103E-03    .73074E-04
   3  Normalizat    1.2908        .14477        .51100E-04   -.39156E-05
   4  Prefactor     .84597        .16294        .13993E-04   -.53296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2235
  Index      = 2.48875
  Normalizat = 1.2908
  Prefactor  = 0.845972
 **********
 **   18 **HESSE 
 **********

 FCN=   16328.76     FROM HESSE     STATUS=OK            23 CALLS      378 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.223        26.813        .47841E-06   -1.5641    
   2  Index         2.4887        1.0506        .13641E-04   -.52620    
   3  Normalizat    1.2908        .14479        .10220E-04   -.83841    
   4  Prefactor     .84597        .16296        .27986E-05   -.98055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92725e-10
Minuit parameter uncertainties:
  1  26.8138
  2  1.06119
  3  0.144833
  4  0.163049
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) = 16328.7598963
delta logL = 0.0458980294388

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  1.122e+01  2.681e+01  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.489e+00  1.061e+00  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  8.460e-01  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.291e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 172.296 37.064

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/31102751/cmap_HighResolution_804470401_805075201_4FGL_J1129.1+3703_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2026-07-09 03:03:35.896465', job_id='31102751', GAL2='0.85', fit_tolerance='1e-08', EG2='1.29', EG='1.30', time_epoch_completed='1783591415.9', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.59e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='935' AND source_name='4FGL J1129.1+3703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 03:03:36 PDT 2026

