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

 outfile=/lscratch/kocevski/38318280/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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/38318280/ft2_4FGL_J1706.9+4543_weekly_bin945.fits
.....................!
real 17.34
user 16.79
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38318280/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38318280/ft2_4FGL_J1706.9+4543_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38318280/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318280/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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/38318280/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
.....................!
real 66.35
user 61.93
sys 3.87

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

Setting source of interest to:
4FGL J1706.9+4543 @ 256.743 45.7248

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38318280/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits scfile=/lscratch/kocevski/38318280/ft2_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318280/cmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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=256.743 yref=45.7248 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.54
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38318280/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits scfile=/lscratch/kocevski/38318280/ft2_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318280/cmap_HighResolution_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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=256.743 yref=45.7248 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.54
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38318280/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38318280/ft2_4FGL_J1706.9+4543_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38318280/Model_4FGL_J1706.9+4543_weekly_bin945.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/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)
 outfile=/lscratch/kocevski/38318274/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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/38318274/ft2_4FGL_J1706.9+4543_weekly_bin945.fits
.....................!
real 19.76
user 19.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38318274/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38318274/ft2_4FGL_J1706.9+4543_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38318274/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318274/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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/38318274/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
.....................!
real 74.84
user 69.62
sys 4.49

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

Setting source of interest to:
4FGL J1706.9+4543 @ 256.743 45.7248

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38318274/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits scfile=/lscratch/kocevski/38318274/ft2_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318274/cmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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=256.743 yref=45.7248 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.57
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38318274/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits scfile=/lscratch/kocevski/38318274/ft2_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318274/cmap_HighResolution_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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=256.743 yref=45.7248 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.55
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38318274/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38318274/ft2_4FGL_J1706.9+4543_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38318274/Model_4FGL_J1706.9+4543_weekly_bin945.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
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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


Performing analysis on: 4FGL_J1706.9+4543_weekly_bin945
RA = 256.743, Dec = 45.7248
tmin = 810518401, tmax = 811123201
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='38318355', job_status='RUN', time_executed='2026-09-15 13:24:04.910815', time_epoch_executed='1789503844.91' WHERE source_name='4FGL J1706.9+4543' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38318355

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38318355/ft1_4FGL_J1706.9+4543_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38318355/ft1_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318355/ft1_filteredMKT_4FGL_J1706.9+4543_weekly_bin945.fits ra=256.743 dec=45.7248 rad=12.0 tmin=810518401.0 tmax=811123201.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.09
user 5.64
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.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/38318355/ft1_filteredMKT_4FGL_J1706.9+4543_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.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.60
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 1666

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38318355/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits
.....................!
real 19.31
user 18.76
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38318355/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318355/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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/38318355/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
.....................!
real 73.46
user 68.54
sys 4.19

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

Setting source of interest to:
4FGL J1706.9+4543 @ 256.743 45.7248

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits scfile=/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318355/cmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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=256.743 yref=45.7248 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits scfile=/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits outfile=/lscratch/kocevski/38318355/cmap_HighResolution_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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=256.743 yref=45.7248 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.52
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38318355/Model_4FGL_J1706.9+4543_weekly_bin945.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/38318280/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits.....................!
real 48.38
user 46.47
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38318280/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits', '/lscratch/kocevski/38318280/ft2_4FGL_J1706.9+4543_weekly_bin945.fits', expMap='/lscratch/kocevski/38318280/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits', expCube='/lscratch/kocevski/38318280/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38318280/Model_4FGL_J1706.9+4543_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1706.9+4543'

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  1.137e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  2.819e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38318280/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38318280/ft2_4FGL_J1706.9+4543_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38318280/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38318280/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38318280/Model_4FGL_J1706.9+4543_weekly_bin945.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) = 17613.3418324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27167E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61949E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89294E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.3689       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1632       1.0000          .0000       .10000E+07
     6 'norm      '    6.7779       1.0000          .0000       .10000E+07
     7 'norm      '    .72852E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .39531E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.8177       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9233       1.0000          .0000       .10000E+07
    11 'norm      '    30.863       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2992       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41417E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.2581       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21570       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30141E-04   1.0000          .0000       .10000E+07
    17 'norm      '    5.2782       1.0000          .0000       .10000E+07
    18 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20225       1.0000          .0000       .10000E+07
    20 'norm      '    .42907E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .35361E-07   1.0000          .0000       .10000E+07
    22 'norm      '    .79931       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.2636       1.0000          .0000       .10000E+07
    24 'norm      '    3.3469       1.0000          .0000       .10000E+07
    25 'Prefactor '    33.946       1.0000          .0000       .10000E+07
    26 'norm      '    1.5439       1.0000          .0000       .10000E+07
    27 'Prefactor '    28.895       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.3372       1.0000          .0000       .10000E+07
    29 'Prefactor '    15.679       1.0000          .0000       .10000E+07
    30 'Prefactor '    5.5476       1.0000          .0000       .10000E+07
    31 'norm      '    6.0899       1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0946       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .88137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17613.33     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     3349 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23187E-06    71.629        .66921E-06** at limit **
   2  Prefactor     .72720E-08    12.082       -.16527E-06** at limit **
   3  Prefactor     .71443E-07    21.091        .19382E-06** at limit **
   4  Prefactor     4.3778        3.3765        .66348E-07   -.47824E-03
   5  Prefactor     2.1633        1.5671       -.35360E-09   -.17444E-04
   6  norm          6.7846        1.0864        .16490E-07   -.59226E-02
   7  norm          .72834E-01    .49348E-01   -.30544E-08** at limit **
   8  norm           .0000        2.8547        .63158E-07** at limit **
   9  Prefactor     5.8079        6.5589        .42093E-07    .20236E-02
  10  Prefactor     3.9097        2.4746        .28223E-08   -.38340E-03
  11  norm          30.818        1.0082        .85738E-09    .15271E-03
  12  Prefactor     1.2995        .54969       -.49129E-08    .15135E-03
  13  Prefactor      .0000        .39179        .22747E-07** at limit **
  14  Prefactor     3.2588        1.9008        .18038E-07   -.16779E-03
  15  Prefactor     .21325        2.0631        .48787E-07** at limit **
  16  Prefactor     .27756E-09    4.4769       -.33918E-07** at limit **
  17  norm          5.2778        1.2419       -.11086E-08   -.15707E-02
  18  norm           .0000        .17621        .13456E-07** at limit **
  19  Prefactor     .18610        18.215        .86333E-06** at limit **
  20  norm          .42003E-02    4.9965        .82439E-06** at limit **
  21  norm           .0000        1.4368        .11031E-07** at limit **
  22  norm          .79939        .61736       -.66479E-08    .39178E-03
  23  Prefactor     3.2642        2.2734       -.39970E-08    .24783E-03
  24  norm          3.3365        2.3321       -.48267E-08   -.13120E-03
  25  Prefactor     34.101        1.4529        .71201E-08    .70018E-01
  26  norm          1.5469        3.3212        .99486E-07   -.11909E-02
  27  Prefactor     28.820        1.4206       -.18423E-07   -.89955E-01
  28  Prefactor     4.3358        3.1294       -.39478E-08    .30716E-02
  29  Prefactor     15.453        2.5057       -.64631E-07   -.16704    
  30  Prefactor     5.4718        4.1517        .77572E-08   -.72219E-03
  31  norm          6.1143        4.6126        .41593E-07   -.75435E-04
  32  Normalizat    1.0949        .14283       -.60677E-06   -.58322E-05
  33  Prefactor     .88145        .10866        .30889E-06   -.70571E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.3187e-07
  Prefactor  = 7.27196e-09
  Prefactor  = 7.14429e-08
  Prefactor  = 4.37779
  Prefactor  = 2.16333
  norm       = 6.78462
  norm       = 0.072834
  norm       = 0
  Prefactor  = 5.8079
  Prefactor  = 3.90972
  norm       = 30.8178
  Prefactor  = 1.29949
  Prefactor  = 0
  Prefactor  = 3.25878
  Prefactor  = 0.213253
  Prefactor  = 2.77556e-10
  norm       = 5.27785
  norm       = 0
  Prefactor  = 0.1861
  norm       = 0.00420029
  norm       = 0
  norm       = 0.79939
  Prefactor  = 3.26416
  norm       = 3.33651
  Prefactor  = 34.1008
  norm       = 1.54695
  Prefactor  = 28.8201
  Prefactor  = 4.33584
  Prefactor  = 15.4533
  Prefactor  = 5.47184
  norm       = 6.11432
  Normalizat = 1.09491
  Prefactor  = 0.881452
e GAL_V02
Working on...
/lscratch/kocevski/38318274/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits.....................!
real 53.51
user 52.11
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38318274/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits', '/lscratch/kocevski/38318274/ft2_4FGL_J1706.9+4543_weekly_bin945.fits', expMap='/lscratch/kocevski/38318274/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits', expCube='/lscratch/kocevski/38318274/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38318274/Model_4FGL_J1706.9+4543_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1706.9+4543'

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  1.137e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  2.819e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38318274/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38318274/ft2_4FGL_J1706.9+4543_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38318274/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38318274/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38318274/Model_4FGL_J1706.9+4543_weekly_bin945.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) = 17613.3418324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27167E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61949E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89294E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.3689       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1632       1.0000          .0000       .10000E+07
     6 'norm      '    6.7779       1.0000          .0000       .10000E+07
     7 'norm      '    .72852E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .39531E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.8177       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9233       1.0000          .0000       .10000E+07
    11 'norm      '    30.863       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2992       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41417E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.2581       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21570       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30141E-04   1.0000          .0000       .10000E+07
    17 'norm      '    5.2782       1.0000          .0000       .10000E+07
    18 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20225       1.0000          .0000       .10000E+07
    20 'norm      '    .42907E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .35361E-07   1.0000          .0000       .10000E+07
    22 'norm      '    .79931       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.2636       1.0000          .0000       .10000E+07
    24 'norm      '    3.3469       1.0000          .0000       .10000E+07
    25 'Prefactor '    33.946       1.0000          .0000       .10000E+07
    26 'norm      '    1.5439       1.0000          .0000       .10000E+07
    27 'Prefactor '    28.895       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.3372       1.0000          .0000       .10000E+07
    29 'Prefactor '    15.679       1.0000          .0000       .10000E+07
    30 'Prefactor '    5.5476       1.0000          .0000       .10000E+07
    31 'norm      '    6.0899       1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0946       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .88137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17613.33     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     3349 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23187E-06    71.629        .66921E-06** at limit **
   2  Prefactor     .72720E-08    12.082       -.16527E-06** at limit **
   3  Prefactor     .71443E-07    21.091        .19382E-06** at limit **
   4  Prefactor     4.3778        3.3765        .66348E-07   -.47824E-03
   5  Prefactor     2.1633        1.5671       -.35360E-09   -.17444E-04
   6  norm          6.7846        1.0864        .16490E-07   -.59226E-02
   7  norm          .72834E-01    .49348E-01   -.30544E-08** at limit **
   8  norm           .0000        2.8547        .63158E-07** at limit **
   9  Prefactor     5.8079        6.5589        .42093E-07    .20236E-02
  10  Prefactor     3.9097        2.4746        .28223E-08   -.38340E-03
  11  norm          30.818        1.0082        .85738E-09    .15271E-03
  12  Prefactor     1.2995        .54969       -.49129E-08    .15135E-03
  13  Prefactor      .0000        .39179        .22747E-07** at limit **
  14  Prefactor     3.2588        1.9008        .18038E-07   -.16779E-03
  15  Prefactor     .21325        2.0631        .48787E-07** at limit **
  16  Prefactor     .27756E-09    4.4769       -.33918E-07** at limit **
  17  norm          5.2778        1.2419       -.11086E-08   -.15707E-02
  18  norm           .0000        .17621        .13456E-07** at limit **
  19  Prefactor     .18610        18.215        .86333E-06** at limit **
  20  norm          .42003E-02    4.9965        .82439E-06** at limit **
  21  norm           .0000        1.4368        .11031E-07** at limit **
  22  norm          .79939        .61736       -.66479E-08    .39178E-03
  23  Prefactor     3.2642        2.2734       -.39970E-08    .24783E-03
  24  norm          3.3365        2.3321       -.48267E-08   -.13120E-03
  25  Prefactor     34.101        1.4529        .71201E-08    .70018E-01
  26  norm          1.5469        3.3212        .99486E-07   -.11909E-02
  27  Prefactor     28.820        1.4206       -.18423E-07   -.89955E-01
  28  Prefactor     4.3358        3.1294       -.39478E-08    .30716E-02
  29  Prefactor     15.453        2.5057       -.64631E-07   -.16704    
  30  Prefactor     5.4718        4.1517        .77572E-08   -.72219E-03
  31  norm          6.1143        4.6126        .41593E-07   -.75435E-04
  32  Normalizat    1.0949        .14283       -.60677E-06   -.58322E-05
  33  Prefactor     .88145        .10866        .30889E-06   -.70571E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.3187e-07
  Prefactor  = 7.27196e-09
  Prefactor  = 7.14429e-08
  Prefactor  = 4.37779
  Prefactor  = 2.16333
  norm       = 6.78462
  norm       = 0.072834
  norm       = 0
  Prefactor  = 5.8079
  Prefactor  = 3.90972
  norm       = 30.8178
  Prefactor  = 1.29949
  Prefactor  = 0
  Prefactor  = 3.25878
  Prefactor  = 0.213253
  Prefactor  = 2.77556e-10
  norm       = 5.27785
  norm       = 0
  Prefactor  = 0.1861
  norm       = 0.00420029
  norm       = 0
  norm       = 0.79939
  Prefactor  = 3.26416
  norm       = 3.33651
  Prefactor  = 34.1008
  norm       = 1.54695
  Prefactor  = 28.8201
  Prefactor  = 4.33584
  Prefactor  = 15.4533
  Prefactor  = 5.47184
  norm       = 6.11432
  Normalizat = 1.09491
  Prefactor  = 0.881452
 **********
 **   18 **HESSE 
 **********

 FCN=   17613.33     FROM HESSE     STATUS=OK           799 CALLS     4148 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23187E-06    71.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72720E-08    11.681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .71443E-07    21.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3778        3.4342        .48163E-03   -1.5666    
   5  Prefactor     2.1633        1.5803        .70001E-03   -1.5679    
   6  norm          6.7846        11.362        .38516E-03   -1.5656    
   7  norm          .72834E-01    .53877E-01    .52274E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8079        6.6046        .41615E-03   -1.5660    
  10  Prefactor     3.9097        2.4825        .50908E-03   -1.5668    
  11  norm          30.818        23.488        .18003E-03   -1.5597    
  12  Prefactor     1.2995        .56861        .96934E-03   -1.5685    
  13  Prefactor      .0000        .38271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2588        1.8988        .56082E-03   -1.5672    
  15  Prefactor     .21325        .69807        .51187E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .27756E-09    4.4859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.2778        1.2452        .43725E-03   -1.5662    
  18  norm           .0000        .16945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18610        1.1815        .87310E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .42003E-02    .12353        .26669E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.4326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .79939        .62252        .52987E-03   -1.5690    
  23  Prefactor     3.2642        2.2916        .56032E-03   -1.5672    
  24  norm          3.3365        2.4535        .55296E-03   -1.5671    
  25  Prefactor     34.101        36.548        .17166E-03   -1.5591    
  26  norm          1.5469        3.3916        .85748E-03   -1.5683    
  27  Prefactor     28.820        22.234        .18606E-03   -1.5601    
  28  Prefactor     4.3358        3.2596        .48344E-03   -1.5666    
  29  Prefactor     15.453        24.735        .25268E-03   -1.5629    
  30  Prefactor     5.4718        4.1566        .42632E-03   -1.5661    
  31  norm          6.1143        4.6169        .40661E-03   -1.5659    
  32  Normalizat    1.0949        .11975        .58175E-01   -.89915    
  33  Prefactor     .88145        .90897E-01    .44767E-01   -.96792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57717e-06
Minuit parameter uncertainties:
  1  0.00816898
  2  0.000582537
  3  0.00246121
  4  3.43419
  5  1.58026
  6  11.3621
  7  0.0538767
  8  1.3403e-05
  9  6.60459
  10  2.48249
  11  23.488
  12  0.568615
  13  3.53306e-06
  14  1.8988
  15  0.698068
  16  7.06011e-05
  17  1.24516
  18  1.54139e-06
  19  0.937812
  20  0.0455563
  21  7.02955e-06
  22  0.622519
  23  2.29155
  24  2.45348
  25  36.5482
  26  3.3916
  27  22.2338
  28  3.25965
  29  24.7353
  30  4.15659
  31  4.61692
  32  0.119782
  33  0.0909122
 **********
 **   18 **HESSE 
 **********

 FCN=   17613.33     FROM HESSE     STATUS=OK           799 CALLS     4148 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23187E-06    71.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72720E-08    11.681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .71443E-07    21.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3778        3.4342        .48163E-03   -1.5666    
   5  Prefactor     2.1633        1.5803        .70001E-03   -1.5679    
   6  norm          6.7846        11.362        .38516E-03   -1.5656    
   7  norm          .72834E-01    .53877E-01    .52274E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8079        6.6046        .41615E-03   -1.5660    
  10  Prefactor     3.9097        2.4825        .50908E-03   -1.5668    
  11  norm          30.818        23.488        .18003E-03   -1.5597    
  12  Prefactor     1.2995        .56861        .96934E-03   -1.5685    
  13  Prefactor      .0000        .38271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2588        1.8988        .56082E-03   -1.5672    
  15  Prefactor     .21325        .69807        .51187E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .27756E-09    4.4859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.2778        1.2452        .43725E-03   -1.5662    
  18  norm           .0000        .16945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18610        1.1815        .87310E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .42003E-02    .12353        .26669E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.4326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .79939        .62252        .52987E-03   -1.5690    
  23  Prefactor     3.2642        2.2916        .56032E-03   -1.5672    
  24  norm          3.3365        2.4535        .55296E-03   -1.5671    
  25  Prefactor     34.101        36.548        .17166E-03   -1.5591    
  26  norm          1.5469        3.3916        .85748E-03   -1.5683    
  27  Prefactor     28.820        22.234        .18606E-03   -1.5601    
  28  Prefactor     4.3358        3.2596        .48344E-03   -1.5666    
  29  Prefactor     15.453        24.735        .25268E-03   -1.5629    
  30  Prefactor     5.4718        4.1566        .42632E-03   -1.5661    
  31  norm          6.1143        4.6169        .40661E-03   -1.5659    
  32  Normalizat    1.0949        .11975        .58175E-01   -.89915    
  33  Prefactor     .88145        .90897E-01    .44767E-01   -.96792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57717e-06
Minuit parameter uncertainties:
  1  0.00816898
  2  0.000582537
  3  0.00246121
  4  3.43419
  5  1.58026
  6  11.3621
  7  0.0538767
  8  1.3403e-05
  9  6.60459
  10  2.48249
  11  23.488
  12  0.568615
  13  3.53306e-06
  14  1.8988
  15  0.698068
  16  7.06011e-05
  17  1.24516
  18  1.54139e-06
  19  0.937812
  20  0.0455563
  21  7.02955e-06
  22  0.622519
  23  2.29155
  24  2.45348
  25  36.5482
  26  3.3916
  27  22.2338
  28  3.25965
  29  24.7353
  30  4.15659
  31  4.61692
  32  0.119782
  33  0.0909122
e GAL_V02
Working on...
/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits.....................!
real 51.01
user 49.76
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits', '/lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits', expMap='/lscratch/kocevski/38318355/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits', expCube='/lscratch/kocevski/38318355/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38318355/Model_4FGL_J1706.9+4543_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1706.9+4543'

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  1.137e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  2.819e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38318355/ft1_filtered_4FGL_J1706.9+4543_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38318355/ft2_4FGL_J1706.9+4543_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38318355/expmap_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38318355/ltcube_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38318355/Model_4FGL_J1706.9+4543_weekly_bin945.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) = 17613.3418324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27167E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61949E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89294E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.3689       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1632       1.0000          .0000       .10000E+07
     6 'norm      '    6.7779       1.0000          .0000       .10000E+07
     7 'norm      '    .72852E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .39531E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.8177       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9233       1.0000          .0000       .10000E+07
    11 'norm      '    30.863       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2992       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41417E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.2581       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21570       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30141E-04   1.0000          .0000       .10000E+07
    17 'norm      '    5.2782       1.0000          .0000       .10000E+07
    18 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20225       1.0000          .0000       .10000E+07
    20 'norm      '    .42907E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .35361E-07   1.0000          .0000       .10000E+07
    22 'norm      '    .79931       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.2636       1.0000          .0000       .10000E+07
    24 'norm      '    3.3469       1.0000          .0000       .10000E+07
    25 'Prefactor '    33.946       1.0000          .0000       .10000E+07
    26 'norm      '    1.5439       1.0000          .0000       .10000E+07
    27 'Prefactor '    28.895       1.0000        Done.

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

Extracting fit parameters...

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  1.861e-01  9.378e-01  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  2.819e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  8.815e-01  9.091e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
685   Normalization:  1.095e+00  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 256.743 45.725
Photon Flux Upper Limit: 5.28056778351e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00418483016299 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38318280/likelihoodResults_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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): 102
logL (Free Index) = 17613.2410282
delta logL = 0.0876724247828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17613.2237259
delta logL = 0.104974693419

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17613.22     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      261 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37291        2.3428        .27315E-02    .30025E-01
   2  Index         4.1584        .96273        .50000       -.16486E-04
   3  Normalizat    1.0786        .81238E-02    .58568E-01   -.14188E-03
   4  Prefactor     .88901        .65721E-02    .44865E-01   -.93530E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.372909
  Index      = 4.15841
  Normalizat = 1.07863
  Prefactor  = 0.889012
  .0000       .10000E+07
    28 'Prefactor '    4.3372       1.0000          .0000       .10000E+07
    29 'Prefactor '    15.679       1.0000          .0000       .10000E+07
    30 'Prefactor '    5.5476       1.0000          .0000       .10000E+07
    31 'norm      '    6.0899       1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0946       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .88137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17613.33     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     3349 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23187E-06    71.629        .66921E-06** at limit **
   2  Prefactor     .72720E-08    12.082       -.16527E-06** at limit **
   3  Prefactor     .71443E-07    21.091        .19382E-06** at limit **
   4  Prefactor     4.3778        3.3765        .66348E-07   -.47824E-03
   5  Prefactor     2.1633        1.5671       -.35360E-09   -.17444E-04
   6  norm          6.7846        1.0864        .16490E-07   -.59226E-02
   7  norm          .72834E-01    .49348E-01   -.30544E-08** at limit **
   8  norm           .0000        2.8547        .63158E-07** at limit **
   9  Prefactor     5.8079        6.5589        .42093E-07    .20236E-02
  10  Prefactor     3.9097        2.4746        .28223E-08   -.38340E-03
  11  norm          30.818        1.0082        .85738E-09    .15271E-03
  12  Prefactor     1.2995        .54969       -.49129E-08    .15135E-03
  13  Prefactor      .0000        .39179        .22747E-07** at limit **
  14  Prefactor     3.2588        1.9008        .18038E-07   -.16779E-03
  15  Prefactor     .21325        2.0631        .48787E-07** at limit **
  16  Prefactor     .27756E-09    4.4769       -.33918E-07** at limit **
  17  norm          5.2778        1.2419       -.11086E-08   -.15707E-02
  18  norm           .0000        .17621        .13456E-07** at limit **
  19  Prefactor     .18610        18.215        .86333E-06** at limit **
  20  norm          .42003E-02    4.9965        .82439E-06** at limit **
  21  norm           .0000        1.4368        .11031E-07** at limit **
  22  norm          .79939        .61736       -.66479E-08    .39178E-03
  23  Prefactor     3.2642        2.2734       -.39970E-08    .24783E-03
  24  norm          3.3365        2.3321       -.48267E-08   -.13120E-03
  25  Prefactor     34.101        1.4529        .71201E-08    .70018E-01
  26  norm          1.5469        3.3212        .99486E-07   -.11909E-02
  27  Prefactor     28.820        1.4206       -.18423E-07   -.89955E-01
  28  Prefactor     4.3358        3.1294       -.39478E-08    .30716E-02
  29  Prefactor     15.453        2.5057       -.64631E-07   -.16704    
  30  Prefactor     5.4718        4.1517        .77572E-08   -.72219E-03
  31  norm          6.1143        4.6126        .41593E-07   -.75435E-04
  32  Normalizat    1.0949        .14283       -.60677E-06   -.58322E-05
  33  Prefactor     .88145        .10866        .30889E-06   -.70571E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.3187e-07
  Prefactor  = 7.27196e-09
  Prefactor  = 7.14429e-08
  Prefactor  = 4.37779
  Prefactor  = 2.16333
  norm       = 6.78462
  norm       = 0.072834
  norm       = 0
  Prefactor  = 5.8079
  Prefactor  = 3.90972
  norm       = 30.8178
  Prefactor  = 1.29949
  Prefactor  = 0
  Prefactor  = 3.25878
  Prefactor  = 0.213253
  Prefactor  = 2.77556e-10
  norm       = 5.27785
  norm       = 0
  Prefactor  = 0.1861
  norm       = 0.00420029
  norm       = 0
  norm       = 0.79939
  Prefactor  = 3.26416
  norm       = 3.33651
  Prefactor  = 34.1008
  norm       = 1.54695
  Prefactor  = 28.8201
  Prefactor  = 4.33584
  Prefactor  = 15.4533
  Prefactor  = 5.47184
  norm       = 6.11432
  Normalizat = 1.09491
  Prefactor  = 0.881452
 **********
 **   18 **HESSE 
 **********

 FCN=   17613.22     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      296 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37291        81.700        .13591E-03   -1.5696    
   2  Index         4.1584        7.5215        .87284E-02   -.16912    
   3  Normalizat    1.0786        .82253E-01    .25901E-03   -.90441    
   4  Prefactor     .88901        .63976E-01    .22735E-03   -.96526    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.27681e-06
Minuit parameter uncertainties:
  1  11.0395
  2  19.5681
  3  0.0822626
  4  0.0639817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17613.2237239
delta logL = 0.104976773215

Extracting fit parameters...

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  3.729e-01  1.104e+01  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  4.158e+00  1.957e+01  0.000e+00  1.000e+01 (-1.000e+00)
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  8.890e-01  6.398e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
685   Normalization:  1.079e+00  8.226e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 256.743 45.725

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/38318280/cmap_HighResolution_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-09-15 13:34:43.474141', job_id='38318280', GAL2='0.89', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1789504483.47', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.05e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='945' AND source_name='4FGL J1706.9+4543' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 13:34:43 PDT 2026

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

 FCN=   17613.33     FROM HESSE     STATUS=OK           799 CALLS     4148 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23187E-06    71.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72720E-08    11.681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .71443E-07    21.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3778        3.4342        .48163E-03   -1.5666    
   5  Prefactor     2.1633        1.5803        .70001E-03   -1.5679    
   6  norm          6.7846        11.362        .38516E-03   -1.5656    
   7  norm          .72834E-01    .53877E-01    .52274E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.8598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8079        6.6046        .41615E-03   -1.5660    
  10  Prefactor     3.9097        2.4825        .50908E-03   -1.5668    
  11  norm          30.818        23.488        .18003E-03   -1.5597    
  12  Prefactor     1.2995        .56861        .96934E-03   -1.5685    
  13  Prefactor      .0000        .38271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2588        1.8988        .56082E-03   -1.5672    
  15  Prefactor     .21325        .69807        .51187E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .27756E-09    4.4859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.2778        1.2452        .43725E-03   -1.5662    
  18  norm           .0000        .16945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18610        1.1815        .87310E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .42003E-02    .12353        .26669E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.4326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .79939        .62252        .52987E-03   -1.5690    
  23  Prefactor     3.2642        2.2916        .56032E-03   -1.5672    
  24  norm          3.3365        2.4535        .55296E-03   -1.5671    
  25  Prefactor     34.101        36.548        .17166E-03   -1.5591    
  26  norm          1.5469        3.3916        .85748E-03   -1.5683    
  27  Prefactor     28.820        22.234        .18606E-03   -1.5601    
  28  Prefactor     4.3358        3.2596        .48344E-03   -1.5666    
  29  Prefactor     15.453        24.735        .25268E-03   -1.5629    
  30  Prefactor     5.4718        4.1566        .42632E-03   -1.5661    
  31  norm          6.1143        4.6169        .40661E-03   -1.5659    
  32  Normalizat    1.0949        .11975        .58175E-01   -.89915    
  33  Prefactor     .88145        .90897E-01    .44767E-01   -.96792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57717e-06
Minuit parameter uncertainties:
  1  0.00816898
  2  0.000582537
  3  0.00246121
  4  3.43419
  5  1.58026
  6  11.3621
  7  0.0538767
  8  1.3403e-05
  9  6.60459
  10  2.48249
  11  23.488
  12  0.568615
  13  3.53306e-06
  14  1.8988
  15  0.698068
  16  7.06011e-05
  17  1.24516
  18  1.54139e-06
  19  0.937812
  20  0.0455563
  21  7.02955e-06
  22  0.622519
  23  2.29155
  24  2.45348
  25  36.5482
  26  3.3916
  27  22.2338
  28  3.25965
  29  24.7353
  30  4.15659
  31  4.61692
  32  0.119782
  33  0.0909122
Done.

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

Extracting fit parameters...

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  1.861e-01  9.378e-01  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  2.819e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  8.815e-01  9.091e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
685   Normalization:  1.095e+00  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 256.743 45.725
Photon Flux Upper Limit: 5.28056778351e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00418483016299 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38318274/likelihoodResults_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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): 102
logL (Free Index) = 17613.2410282
delta logL = 0.0876724247828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17613.2237259
delta logL = 0.104974693419

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17613.22     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      261 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37291        2.3428        .27315E-02    .30025E-01
   2  Index         4.1584        .96273        .50000       -.16486E-04
   3  Normalizat    1.0786        .81238E-02    .58568E-01   -.14188E-03
   4  Prefactor     .88901        .65721E-02    .44865E-01   -.93530E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.372909
  Index      = 4.15841
  Normalizat = 1.07863
  Prefactor  = 0.889012
 **********
 **   18 **HESSE 
 **********

 FCN=   17613.22     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      296 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37291        81.700        .13591E-03   -1.5696    
   2  Index         4.1584        7.5215        .87284E-02   -.16912    
   3  Normalizat    1.0786        .82253E-01    .25901E-03   -.90441    
   4  Prefactor     .88901        .63976E-01    .22735E-03   -.96526    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.27681e-06
Minuit parameter uncertainties:
  1  11.0395
  2  19.5681
  3  0.0822626
  4  0.0639817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17613.2237239
delta logL = 0.104976773215

Extracting fit parameters...

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  3.729e-01  1.104e+01  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  4.158e+00  1.957e+01  0.000e+00  1.000e+01 (-1.000e+00)
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  8.890e-01  6.398e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
685   Normalization:  1.079e+00  8.226e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 256.743 45.725

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/38318274/cmap_HighResolution_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-09-15 13:36:29.672761', job_id='38318274', GAL2='0.89', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1789504589.67', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.05e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='945' AND source_name='4FGL J1706.9+4543' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 13:36:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  1.861e-01  9.378e-01  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  2.819e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  8.815e-01  9.091e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
685   Normalization:  1.095e+00  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 256.743 45.725
Photon Flux Upper Limit: 5.28056778351e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00418483016299 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38318355/likelihoodResults_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.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): 102
logL (Free Index) = 17613.2410282
delta logL = 0.0876724247828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17613.2237259
delta logL = 0.104974693419

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17613.22     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      261 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37291        2.3428        .27315E-02    .30025E-01
   2  Index         4.1584        .96273        .50000       -.16486E-04
   3  Normalizat    1.0786        .81238E-02    .58568E-01   -.14188E-03
   4  Prefactor     .88901        .65721E-02    .44865E-01   -.93530E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.372909
  Index      = 4.15841
  Normalizat = 1.07863
  Prefactor  = 0.889012
 **********
 **   18 **HESSE 
 **********

 FCN=   17613.22     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      296 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37291        81.700        .13591E-03   -1.5696    
   2  Index         4.1584        7.5215        .87284E-02   -.16912    
   3  Normalizat    1.0786        .82253E-01    .25901E-03   -.90441    
   4  Prefactor     .88901        .63976E-01    .22735E-03   -.96526    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.27681e-06
Minuit parameter uncertainties:
  1  11.0395
  2  19.5681
  3  0.0822626
  4  0.0639817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17613.2237239
delta logL = 0.104976773215

Extracting fit parameters...

4FGL J1706.9+4543
   Spectrum: PowerLaw
350    Prefactor:  3.729e-01  1.104e+01  0.000e+00  1.000e+06 ( 1.000e-12)
351        Index:  4.158e+00  1.957e+01  0.000e+00  1.000e+01 (-1.000e+00)
352        Scale:  5.400e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  8.890e-01  6.398e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
685   Normalization:  1.079e+00  8.226e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 256.743 45.725

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/38318355/cmap_HighResolution_810518401_811123201_4FGL_J1706.9+4543_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-09-15 13:38:08.279020', job_id='38318355', GAL2='0.89', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1789504688.28', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.05e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='945' AND source_name='4FGL J1706.9+4543' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 13:38:08 PDT 2026

