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


Performing analysis on: 4FGL_J1058.0+4305_weekly_bin780
RA = 164.518, Dec = 43.0938
tmin = 710726401, tmax = 711331201
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='19655673', job_status='RUN', time_executed='2023-07-18 00:59:20.228049', time_epoch_executed='1689667160.23' WHERE source_name='4FGL J1058.0+4305' and cadence='weekly' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19655673

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19655673/ft1_4FGL_J1058.0+4305_weekly_bin780.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19655673/ft1_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655673/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits ra=164.518 dec=43.0938 rad=12.0 tmin=710726401.0 tmax=711331201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.54
user 3.88
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.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/19655673/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.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.83
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1408

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1058.0+4305_weekly_bin780
RA = 164.518, Dec = 43.0938
tmin = 710726401, tmax = 711331201
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='19655644', job_status='RUN', time_executed='2023-07-18 00:59:11.623525', time_epoch_executed='1689667151.62' WHERE source_name='4FGL J1058.0+4305' and cadence='weekly' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19655644

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19655644/ft1_4FGL_J1058.0+4305_weekly_bin780.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19655644/ft1_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655644/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits ra=164.518 dec=43.0938 rad=12.0 tmin=710726401.0 tmax=711331201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.38
user 3.80
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.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/19655644/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1408

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

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/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)

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

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

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

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

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


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

 outfile=/lscratch/kocevski/19655644/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 17.09
user 16.44
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19655644/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655644/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19655644/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 64.28
user 59.83
sys 3.69

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

Setting source of interest to:
4FGL J1058.0+4305 @ 164.518 43.0938

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655644/cmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655644/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19655644/Model_4FGL_J1058.0+4305_weekly_bin780.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/19655673/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 17.74
user 16.93
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19655673/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655673/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19655673/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 67.16
user 62.52
sys 3.84

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

Setting source of interest to:
4FGL J1058.0+4305 @ 164.518 43.0938

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655673/cmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 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.87
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19655673/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 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.93
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19655673/Model_4FGL_J1058.0+4305_weekly_bin780.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/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits.....................!
real 42.66
user 40.79
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits', '/lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits', expMap='/lscratch/kocevski/19655644/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', expCube='/lscratch/kocevski/19655644/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19655644/Model_4FGL_J1058.0+4305_weekly_bin780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.0+4305'

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  7.092e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/19655644/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits
Spacecraft file(s): /lscratch/kocevski/19655644/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure map: /lscratch/kocevski/19655644/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure cube: /lscratch/kocevski/19655644/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19655644/Model_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.8953973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9966       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4231       1.0000          .0000       .10000E+07
     3 'norm      '    7.6156       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0795       1.0000          .0000       .10000E+07
     5 'norm      '    11.015       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79182E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11602E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20601E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6648       1.0000          .0000       .10000E+07
    10 'Prefactor '    34.980       1.0000          .0000       .10000E+07
    11 'norm      '    2.0457       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22847E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.178       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58916E-02   1.0000          .0000       .10000E+07
    15 'norm      '    6.0447       1.0000          .0000       .10000E+07
    16 'norm      '    .41207E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17444E-02   1.0000          .0000       .10000E+07
    19 'norm      '    10.190       1.0000          .0000       .10000E+07
    20 'Prefactor '    .99363E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    14.821       1.0000          .0000       .10000E+07
    22 'norm      '    1.5234       1.0000          .0000       .10000E+07
    23 'norm      '    12.222       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.3356       1.0000          .0000       .10000E+07
    25 'Prefactor '    18.798       1.0000          .0000       .10000E+07
    26 'Prefactor '    13.694       1.0000          .0000       .10000E+07
    27 'Normalizat'    .94272       1.0000        e GAL_V02
Working on...
/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits.....................!
real 43.94
user 42.62
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits', '/lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits', expMap='/lscratch/kocevski/19655673/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', expCube='/lscratch/kocevski/19655673/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19655673/Model_4FGL_J1058.0+4305_weekly_bin780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.0+4305'

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  7.092e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/19655673/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits
Spacecraft file(s): /lscratch/kocevski/19655673/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure map: /lscratch/kocevski/19655673/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure cube: /lscratch/kocevski/19655673/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19655673/Model_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.8953973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9966       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4231       1.0000          .0000       .10000E+07
     3 'norm      '    7.6156       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0795       1.0000          .0000       .10000E+07
     5 'norm      '    11.015       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79182E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11602E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20601E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6648       1.0000          .0000       .10000E+07
    10 'Prefactor '    34.980       1.0000          .0000       .10000E+07
    11 'norm      '    2.0457       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22847E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.178       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58916E-02   1.0000          .0000       .10000E+07
    15 'norm      '    6.0447       1.0000          .0000       .10000E+07
    16 'norm      '    .41207E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17444E-02   1.0000          .0000       .10000E+07
    19 'norm      '    10.190       1.0000          .0000       .10000E+07
    20 'Prefactor '    .99363E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    14.821       1.0000          .0000       .10000E+07
    22 'norm      '    1.5234       1.0000          .0000       .10000E+07
    23 'norm      '    12.222       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.3356       1.0000          .0000       .10000E+07
    25 'Prefactor '    18.798       1.0000          .0000       .10000E+07
    26 'Prefactor '    13.694       1.0000          .0000       .10000E+07
    27 'Normalizat'    .94272       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1984 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9883        6.0373        .36540E-06   -.17558E-02
   2  Prefactor     4.4522        4.0834       -.12958E-06   -.14422E-02
   3  norm          7.6139        1.9265       -.17380E-06    .10084E-01
   4  Prefactor     5.0447        3.9221        .28145E-06   -.34720E-02
   5  norm          10.977        6.3522       -.68275E-07    .26661E-03
   6  Prefactor     .68834E-08    13.042       -.10599E-05** at limit **
   7  Prefactor     .55511E-10    1.3651        .43669E-06** at limit **
   8  Prefactor      .0000        6.2079        .53790E-07** at limit **
   9  Prefactor     2.6835        232.16       -.11195E-04    .13233E-02
  10  Prefactor     33.778        7.1375       -.64277E-07    .46976E-01
  11  norm          2.0461        .26691        .14529E-07   -.21236E-01
  12  Prefactor     .11102E-09    7.2558       -.74205E-06** at limit **
  13  Prefactor     12.017        9.4099        .62468E-06   -.23343E-02
  14  Prefactor     .16653E-09    10.597       -.74267E-06** at limit **
  15  norm          6.1144        7.0243       -.32380E-06    .57228E-03
  16  norm          .27756E-08    17.429       -.51054E-06** at limit **
  17  Prefactor     .11102E-09    .80781       -.60861E-06** at limit **
  18  Prefactor     .18857E-06    30.357       -.45194E-06** at limit **
  19  norm          10.194        2.1539       -.89195E-07    .16172E-02
  20  Prefactor     .11102E-09    2.0828       -.80243E-06** at limit **
  21  Prefactor     14.502        2.2475        .17757E-07    .40422E-01
  22  norm          1.5252        .60450        .17730E-06   -.27062E-01
  23  norm          12.211        5.9649        .99084E-07   -.15692E-02
  24  Prefactor     2.3277        1.8121        .23162E-06   -.58275E-02
  25  Prefactor     18.646        1.2413       -.42468E-07   -.11316E-01
  26  Prefactor     13.857        1.1785       -.23124E-07   -.75826E-02
  27  Normalizat    .94404        .12064        .24529E-05   -.93696E-04
  28  Prefactor     1.0294        .14789        .13950E-05   -.99436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.9883
  Prefactor  = 4.45216
  norm       = 7.61392
  Prefactor  = 5.0447
  norm       = 10.9765
  Prefactor  = 6.88338e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.68352
  Prefactor  = 33.7779
  norm       = 2.04615
  Prefactor  = 1.11022e-10
  Prefactor  = 12.0171
  Prefactor  = 1.66533e-10
  norm       = 6.11438
  norm       = 2.77556e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 1.88571e-07
  norm       = 10.1937
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5017
  norm       = 1.5252
  norm       = 12.2111
  Prefactor  = 2.32766
  Prefactor  = 18.6464
  Prefactor  = 13.8574
  Normalizat = 0.944035
  Prefactor  = 1.02944
 .10000E-01   10.000    
    28 'Prefactor '    1.0299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1984 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9883        6.0373        .36540E-06   -.17558E-02
   2  Prefactor     4.4522        4.0834       -.12958E-06   -.14422E-02
   3  norm          7.6139        1.9265       -.17380E-06    .10084E-01
   4  Prefactor     5.0447        3.9221        .28145E-06   -.34720E-02
   5  norm          10.977        6.3522       -.68275E-07    .26661E-03
   6  Prefactor     .68834E-08    13.042       -.10599E-05** at limit **
   7  Prefactor     .55511E-10    1.3651        .43669E-06** at limit **
   8  Prefactor      .0000        6.2079        .53790E-07** at limit **
   9  Prefactor     2.6835        232.16       -.11195E-04    .13233E-02
  10  Prefactor     33.778        7.1375       -.64277E-07    .46976E-01
  11  norm          2.0461        .26691        .14529E-07   -.21236E-01
  12  Prefactor     .11102E-09    7.2558       -.74205E-06** at limit **
  13  Prefactor     12.017        9.4099        .62468E-06   -.23343E-02
  14  Prefactor     .16653E-09    10.597       -.74267E-06** at limit **
  15  norm          6.1144        7.0243       -.32380E-06    .57228E-03
  16  norm          .27756E-08    17.429       -.51054E-06** at limit **
  17  Prefactor     .11102E-09    .80781       -.60861E-06** at limit **
  18  Prefactor     .18857E-06    30.357       -.45194E-06** at limit **
  19  norm          10.194        2.1539       -.89195E-07    .16172E-02
  20  Prefactor     .11102E-09    2.0828       -.80243E-06** at limit **
  21  Prefactor     14.502        2.2475        .17757E-07    .40422E-01
  22  norm          1.5252        .60450        .17730E-06   -.27062E-01
  23  norm          12.211        5.9649        .99084E-07   -.15692E-02
  24  Prefactor     2.3277        1.8121        .23162E-06   -.58275E-02
  25  Prefactor     18.646        1.2413       -.42468E-07   -.11316E-01
  26  Prefactor     13.857        1.1785       -.23124E-07   -.75826E-02
  27  Normalizat    .94404        .12064        .24529E-05   -.93696E-04
  28  Prefactor     1.0294        .14789        .13950E-05   -.99436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.9883
  Prefactor  = 4.45216
  norm       = 7.61392
  Prefactor  = 5.0447
  norm       = 10.9765
  Prefactor  = 6.88338e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.68352
  Prefactor  = 33.7779
  norm       = 2.04615
  Prefactor  = 1.11022e-10
  Prefactor  = 12.0171
  Prefactor  = 1.66533e-10
  norm       = 6.11438
  norm       = 2.77556e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 1.88571e-07
  norm       = 10.1937
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5017
  norm       = 1.5252
  norm       = 12.2111
  Prefactor  = 2.32766
  Prefactor  = 18.6464
  Prefactor  = 13.8574
  Normalizat = 0.944035
  Prefactor  = 1.02944
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK           583 CALLS     2567 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9883        6.0540        .40980E-03   -1.5659    
   2  Prefactor     4.4522        4.1030        .47859E-03   -1.5666    
   3  norm          7.6139        1.9288        .36316E-03   -1.5653    
   4  Prefactor     5.0447        3.9433        .44589E-03   -1.5663    
   5  norm          10.977        6.3565        .30162E-03   -1.5642    
   6  Prefactor     .68834E-08    13.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    1.3601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6835        246.93        .52740E-03   -1.5675    
  10  Prefactor     33.778        26.255        .16910E-03   -1.5592    
  11  norm          2.0461        .26568        .48921E-03   -1.5679    
  12  Prefactor     .11102E-09    7.2547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.017        9.3789        .28681E-03   -1.5639    
  14  Prefactor     .16653E-09    10.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1144        7.0501        .40815E-03   -1.5659    
  16  norm          .27756E-08    17.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    .80673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18857E-06    32.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.194        2.1854        .31365E-03   -1.5644    
  20  Prefactor     .11102E-09    2.0792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.502        23.959        .25990E-03   -1.5632    
  22  norm          1.5252        .63567        .86506E-03   -1.5683    
  23  norm          12.211        5.9835        .28628E-03   -1.5638    
  24  Prefactor     2.3277        1.8823        .67068E-03   -1.5677    
  25  Prefactor     18.646        17.709        .23073E-03   -1.5622    
  26  Prefactor     13.857        13.167        .27042E-03   -1.5634    
  27  Normalizat    .94404        .10486        .45445E-01   -.94930    
  28  Prefactor     1.0294        .12725        .66421E-01   -.91754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57981e-07
Minuit parameter uncertainties:
  1  6.05398
  2  4.10298
  3  1.92879
  4  3.94335
  5  6.35651
  6  0.000602452
  7  1.59114e-05
  8  8.17215e-06
  9  51.4858
  10  26.2546
  11  0.265685
  12  5.52251e-05
  13  9.37891
  14  8.48796e-05
  15  7.05007
  16  0.0004408
  17  1.71932e-05
  18  0.0049866
  19  2.18542
  20  2.87854e-05
  21  23.9593
  22  0.635666
  23  5.98347
  24  1.88229
  25  17.7095
  26  13.1666
  27  0.104881
  28  0.127292
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK           583 CALLS     2567 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9883        6.0540        .40980E-03   -1.5659    
   2  Prefactor     4.4522        4.1030        .47859E-03   -1.5666    
   3  norm          7.6139        1.9288        .36316E-03   -1.5653    
   4  Prefactor     5.0447        3.9433        .44589E-03   -1.5663    
   5  norm          10.977        6.3565        .30162E-03   -1.5642    
   6  Prefactor     .68834E-08    13.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    1.3601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6835        246.93        .52740E-03   -1.5675    
  10  Prefactor     33.778        26.255        .16910E-03   -1.5592    
  11  norm          2.0461        .26568        .48921E-03   -1.5679    
  12  Prefactor     .11102E-09    7.2547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.017        9.3789        .28681E-03   -1.5639    
  14  Prefactor     .16653E-09    10.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1144        7.0501        .40815E-03   -1.5659    
  16  norm          .27756E-08    17.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    .80673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18857E-06    32.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.194        2.1854        .31365E-03   -1.5644    
  20  Prefactor     .11102E-09    2.0792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.502        23.959        .25990E-03   -1.5632    
  22  norm          1.5252        .63567        .86506E-03   -1.5683    
  23  norm          12.211        5.9835        .28628E-03   -1.5638    
  24  Prefactor     2.3277        1.8823        .67068E-03   -1.5677    
  25  Prefactor     18.646        17.709        .23073E-03   -1.5622    
  26  Prefactor     13.857        13.167        .27042E-03   -1.5634    
  27  Normalizat    .94404        .10486        .45445E-01   -.94930    
  28  Prefactor     1.0294        .12725        .66421E-01   -.91754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57981e-07
Minuit parameter uncertainties:
  1  6.05398
  2  4.10298
  3  1.92879
  4  3.94335
  5  6.35651
  6  0.000602452
  7  1.59114e-05
  8  8.17215e-06
  9  51.4858
  10  26.2546
  11  0.265685
  12  5.52251e-05
  13  9.37891
  14  8.48796e-05
  15  7.05007
  16  0.0004408
  17  1.71932e-05
  18  0.0049866
  19  2.18542
  20  2.87854e-05
  21  23.9593
  22  0.635666
  23  5.98347
  24  1.88229
  25  17.7095
  26  13.1666
  27  0.104881
  28  0.127292
number of points = 17189
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1058.0+4305_weekly_bin780
RA = 164.518, Dec = 43.0938
tmin = 710726401, tmax = 711331201
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='19656654', job_status='RUN', time_executed='2023-07-18 01:06:15.159252', time_epoch_executed='1689667575.16' WHERE source_name='4FGL J1058.0+4305' and cadence='weekly' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19656654

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19656654/ft1_4FGL_J1058.0+4305_weekly_bin780.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19656654/ft1_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656654/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits ra=164.518 dec=43.0938 rad=12.0 tmin=710726401.0 tmax=711331201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.27
user 3.56
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.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/19656654/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.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.87
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 1408

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA"number of points = 17189
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1058.0+4305_weekly_bin780
RA = 164.518, Dec = 43.0938
tmin = 710726401, tmax = 711331201
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='19656637', job_status='RUN', time_executed='2023-07-18 01:06:13.038224', time_epoch_executed='1689667573.04' WHERE source_name='4FGL J1058.0+4305' and cadence='weekly' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/19656637

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/19656637/ft1_4FGL_J1058.0+4305_weekly_bin780.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/19656637/ft1_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656637/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits ra=164.518 dec=43.0938 rad=12.0 tmin=710726401.0 tmax=711331201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.20
user 3.50
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.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/19656637/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1408

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  2.684e+00  5.149e+01  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.440e-01  1.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.518 43.094
Photon Flux Upper Limit: 4.40638158324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00339245298886 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/19655644/likelihoodResults_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.1358823
delta logL = 0.596587914562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15302.8600097
delta logL = 0.872460489532

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      318 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .63671        .42118E-03** at limit **
   2  Index         .33402E-02    6.1337        .50000       -.15461E-09
   3  Normalizat    .94486        .10001        .44850E-01   -.19697E-03
   4  Prefactor     1.0293        .12660        .66420E-01   -.26952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 0.00334022
  Normalizat = 0.944864
  Prefactor  = 1.02929
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK            29 CALLS      347 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .60162        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .33402E-02    6.0739        .50000       -1.5342    
   3  Normalizat    .94486        .11620        .24235E-03   -.94901    
   4  Prefactor     1.0293        .14701        .29382E-03   -.91759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00816e-10
Minuit parameter uncertainties:
  1  2.82595e-05
  2  0.182941
  3  0.116236
  4  0.147062
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) = 15303.7338537
delta logL = -0.00138344292282

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  3.331e-10  2.826e-05  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  3.340e-03  1.829e-01  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.471e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.449e-01  1.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.518 43.094

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/19655644/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-03', job_status='DONE', photon_flux_upper_limit='4.41e-08', time_completed='2023-07-18 01:14:33.687341', job_id='19655644', GAL2='1.03', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1689668073.69', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-1.38e-03', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='780' AND source_name='4FGL J1058.0+4305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 01:14:34 PDT 2023

Done.

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

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  2.684e+00  5.149e+01  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.440e-01  1.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.518 43.094
Photon Flux Upper Limit: 4.40638158324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00339245298886 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/19655673/likelihoodResults_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.1358823
delta logL = 0.596587914562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15302.8600097
delta logL = 0.872460489532

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      318 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .63671        .42118E-03** at limit **
   2  Index         .33402E-02    6.1337        .50000       -.15461E-09
   3  Normalizat    .94486        .10001        .44850E-01   -.19697E-03
   4  Prefactor     1.0293        .12660        .66420E-01   -.26952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 0.00334022
  Normalizat = 0.944864
  Prefactor  = 1.02929
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK            29 CALLS      347 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .60162        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .33402E-02    6.0739        .50000       -1.5342    
   3  Normalizat    .94486        .11620        .24235E-03   -.94901    
   4  Prefactor     1.0293        .14701        .29382E-03   -.91759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00816e-10
Minuit parameter uncertainties:
  1  2.82595e-05
  2  0.182941
  3  0.116236
  4  0.147062
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) = 15303.7338537
delta logL = -0.00138344292282

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  3.331e-10  2.826e-05  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  3.340e-03  1.829e-01  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.471e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.449e-01  1.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.518 43.094

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/19655673/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-03', job_status='DONE', photon_flux_upper_limit='4.41e-08', time_completed='2023-07-18 01:15:07.047174', job_id='19655673', GAL2='1.03', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1689668107.05', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-1.38e-03', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='780' AND source_name='4FGL J1058.0+4305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 01:15:07 PDT 2023

 outfile=/lscratch/kocevski/19656654/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 16.06
user 15.20
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19656654/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656654/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19656654/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 61.04
user 55.70
sys 3.55

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

Setting source of interest to:
4FGL J1058.0+4305 @ 164.518 43.0938

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656654/cmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 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.70
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656654/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 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.80
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19656654/Model_4FGL_J1058.0+4305_weekly_bin780.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/19656637/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 15.70
user 15.11
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19656637/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656637/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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/19656637/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
.....................!
real 59.37
user 55.59
sys 3.15

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

Setting source of interest to:
4FGL J1058.0+4305 @ 164.518 43.0938

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656637/cmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits scfile=/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits outfile=/lscratch/kocevski/19656637/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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=164.518 yref=43.0938 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19656637/Model_4FGL_J1058.0+4305_weekly_bin780.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/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits.....................!
real 39.50
user 37.92
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits', '/lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits', expMap='/lscratch/kocevski/19656637/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', expCube='/lscratch/kocevski/19656637/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19656637/Model_4FGL_J1058.0+4305_weekly_bin780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.0+4305'

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  7.092e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/19656637/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits
Spacecraft file(s): /lscratch/kocevski/19656637/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure map: /lscratch/kocevski/19656637/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure cube: /lscratch/kocevski/19656637/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19656637/Model_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.8953973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9966       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4231       1.0000          .0000       .10000E+07
     3 'norm      '    7.6156       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0795       1.0000          .0000       .10000E+07
     5 'norm      '    11.015       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79182E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11602E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20601E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6648       1.0000          .0000       .10000E+07
    10 'Prefactor '    34.980       1.0000          .0000       .10000E+07
    11 'norm      '    2.0457       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22847E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.178       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58916E-02   1.0000          .0000       .10000E+07
    15 'norm      '    6.0447       1.0000          .0000       .10000E+07
    16 'norm      '    .41207E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17444E-02   1.0000          .0000       .10000E+07
    19 'norm      '    10.190       1.0000          .0000       .10000E+07
    20 'Prefactor '    .99363E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    14.821       1.0000          .0000       .10000E+07
    22 'norm      '    1.5234       1.0000          .0000       .10000E+07
    23 'norm      '    12.222       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.3356       1.0000          .0000       .10000E+07
    25 'Prefactor '    18.798       1.0000          .0000       .10000E+07
    26 'Prefactor '    13.694       1.0000          .0000       .10000E+07
    27 'Normalizat'    .94272       1.0000        e GAL_V02
Working on...
/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits.....................!
real 39.19
user 37.76
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits', '/lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits', expMap='/lscratch/kocevski/19656654/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', expCube='/lscratch/kocevski/19656654/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19656654/Model_4FGL_J1058.0+4305_weekly_bin780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1058.0+4305'

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  7.092e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/19656654/ft1_filtered_4FGL_J1058.0+4305_weekly_bin780.fits
Spacecraft file(s): /lscratch/kocevski/19656654/ft2_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure map: /lscratch/kocevski/19656654/expmap_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
Exposure cube: /lscratch/kocevski/19656654/ltcube_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/19656654/Model_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.8953973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9966       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4231       1.0000          .0000       .10000E+07
     3 'norm      '    7.6156       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0795       1.0000          .0000       .10000E+07
     5 'norm      '    11.015       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79182E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11602E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20601E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6648       1.0000          .0000       .10000E+07
    10 'Prefactor '    34.980       1.0000          .0000       .10000E+07
    11 'norm      '    2.0457       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22847E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.178       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58916E-02   1.0000          .0000       .10000E+07
    15 'norm      '    6.0447       1.0000          .0000       .10000E+07
    16 'norm      '    .41207E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17444E-02   1.0000          .0000       .10000E+07
    19 'norm      '    10.190       1.0000          .0000       .10000E+07
    20 'Prefactor '    .99363E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    14.821       1.0000          .0000       .10000E+07
    22 'norm      '    1.5234       1.0000          .0000       .10000E+07
    23 'norm      '    12.222       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.3356       1.0000          .0000       .10000E+07
    25 'Prefactor '    18.798       1.0000          .0000       .10000E+07
    26 'Prefactor '    13.694       1.0000          .0000       .10000E+07
    27 'Normalizat'    .94272       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1984 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9883        6.0373        .36540E-06   -.17558E-02
   2  Prefactor     4.4522        4.0834       -.12958E-06   -.14422E-02
   3  norm          7.6139        1.9265       -.17380E-06    .10084E-01
   4  Prefactor     5.0447        3.9221        .28145E-06   -.34720E-02
   5  norm          10.977        6.3522       -.68275E-07    .26661E-03
   6  Prefactor     .68834E-08    13.042       -.10599E-05** at limit **
   7  Prefactor     .55511E-10    1.3651        .43669E-06** at limit **
   8  Prefactor      .0000        6.2079        .53790E-07** at limit **
   9  Prefactor     2.6835        232.16       -.11195E-04    .13233E-02
  10  Prefactor     33.778        7.1375       -.64277E-07    .46976E-01
  11  norm          2.0461        .26691        .14529E-07   -.21236E-01
  12  Prefactor     .11102E-09    7.2558       -.74205E-06** at limit **
  13  Prefactor     12.017        9.4099        .62468E-06   -.23343E-02
  14  Prefactor     .16653E-09    10.597       -.74267E-06** at limit **
  15  norm          6.1144        7.0243       -.32380E-06    .57228E-03
  16  norm          .27756E-08    17.429       -.51054E-06** at limit **
  17  Prefactor     .11102E-09    .80781       -.60861E-06** at limit **
  18  Prefactor     .18857E-06    30.357       -.45194E-06** at limit **
  19  norm          10.194        2.1539       -.89195E-07    .16172E-02
  20  Prefactor     .11102E-09    2.0828       -.80243E-06** at limit **
  21  Prefactor     14.502        2.2475        .17757E-07    .40422E-01
  22  norm          1.5252        .60450        .17730E-06   -.27062E-01
  23  norm          12.211        5.9649        .99084E-07   -.15692E-02
  24  Prefactor     2.3277        1.8121        .23162E-06   -.58275E-02
  25  Prefactor     18.646        1.2413       -.42468E-07   -.11316E-01
  26  Prefactor     13.857        1.1785       -.23124E-07   -.75826E-02
  27  Normalizat    .94404        .12064        .24529E-05   -.93696E-04
  28  Prefactor     1.0294        .14789        .13950E-05   -.99436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.9883
  Prefactor  = 4.45216
  norm       = 7.61392
  Prefactor  = 5.0447
  norm       = 10.9765
  Prefactor  = 6.88338e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.68352
  Prefactor  = 33.7779
  norm       = 2.04615
  Prefactor  = 1.11022e-10
  Prefactor  = 12.0171
  Prefactor  = 1.66533e-10
  norm       = 6.11438
  norm       = 2.77556e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 1.88571e-07
  norm       = 10.1937
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5017
  norm       = 1.5252
  norm       = 12.2111
  Prefactor  = 2.32766
  Prefactor  = 18.6464
  Prefactor  = 13.8574
  Normalizat = 0.944035
  Prefactor  = 1.02944
 .10000E-01   10.000    
    28 'Prefactor '    1.0299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1984 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9883        6.0373        .36540E-06   -.17558E-02
   2  Prefactor     4.4522        4.0834       -.12958E-06   -.14422E-02
   3  norm          7.6139        1.9265       -.17380E-06    .10084E-01
   4  Prefactor     5.0447        3.9221        .28145E-06   -.34720E-02
   5  norm          10.977        6.3522       -.68275E-07    .26661E-03
   6  Prefactor     .68834E-08    13.042       -.10599E-05** at limit **
   7  Prefactor     .55511E-10    1.3651        .43669E-06** at limit **
   8  Prefactor      .0000        6.2079        .53790E-07** at limit **
   9  Prefactor     2.6835        232.16       -.11195E-04    .13233E-02
  10  Prefactor     33.778        7.1375       -.64277E-07    .46976E-01
  11  norm          2.0461        .26691        .14529E-07   -.21236E-01
  12  Prefactor     .11102E-09    7.2558       -.74205E-06** at limit **
  13  Prefactor     12.017        9.4099        .62468E-06   -.23343E-02
  14  Prefactor     .16653E-09    10.597       -.74267E-06** at limit **
  15  norm          6.1144        7.0243       -.32380E-06    .57228E-03
  16  norm          .27756E-08    17.429       -.51054E-06** at limit **
  17  Prefactor     .11102E-09    .80781       -.60861E-06** at limit **
  18  Prefactor     .18857E-06    30.357       -.45194E-06** at limit **
  19  norm          10.194        2.1539       -.89195E-07    .16172E-02
  20  Prefactor     .11102E-09    2.0828       -.80243E-06** at limit **
  21  Prefactor     14.502        2.2475        .17757E-07    .40422E-01
  22  norm          1.5252        .60450        .17730E-06   -.27062E-01
  23  norm          12.211        5.9649        .99084E-07   -.15692E-02
  24  Prefactor     2.3277        1.8121        .23162E-06   -.58275E-02
  25  Prefactor     18.646        1.2413       -.42468E-07   -.11316E-01
  26  Prefactor     13.857        1.1785       -.23124E-07   -.75826E-02
  27  Normalizat    .94404        .12064        .24529E-05   -.93696E-04
  28  Prefactor     1.0294        .14789        .13950E-05   -.99436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.9883
  Prefactor  = 4.45216
  norm       = 7.61392
  Prefactor  = 5.0447
  norm       = 10.9765
  Prefactor  = 6.88338e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.68352
  Prefactor  = 33.7779
  norm       = 2.04615
  Prefactor  = 1.11022e-10
  Prefactor  = 12.0171
  Prefactor  = 1.66533e-10
  norm       = 6.11438
  norm       = 2.77556e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 1.88571e-07
  norm       = 10.1937
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5017
  norm       = 1.5252
  norm       = 12.2111
  Prefactor  = 2.32766
  Prefactor  = 18.6464
  Prefactor  = 13.8574
  Normalizat = 0.944035
  Prefactor  = 1.02944
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK           583 CALLS     2567 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9883        6.0540        .40980E-03   -1.5659    
   2  Prefactor     4.4522        4.1030        .47859E-03   -1.5666    
   3  norm          7.6139        1.9288        .36316E-03   -1.5653    
   4  Prefactor     5.0447        3.9433        .44589E-03   -1.5663    
   5  norm          10.977        6.3565        .30162E-03   -1.5642    
   6  Prefactor     .68834E-08    13.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    1.3601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6835        246.93        .52740E-03   -1.5675    
  10  Prefactor     33.778        26.255        .16910E-03   -1.5592    
  11  norm          2.0461        .26568        .48921E-03   -1.5679    
  12  Prefactor     .11102E-09    7.2547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.017        9.3789        .28681E-03   -1.5639    
  14  Prefactor     .16653E-09    10.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1144        7.0501        .40815E-03   -1.5659    
  16  norm          .27756E-08    17.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    .80673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18857E-06    32.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.194        2.1854        .31365E-03   -1.5644    
  20  Prefactor     .11102E-09    2.0792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.502        23.959        .25990E-03   -1.5632    
  22  norm          1.5252        .63567        .86506E-03   -1.5683    
  23  norm          12.211        5.9835        .28628E-03   -1.5638    
  24  Prefactor     2.3277        1.8823        .67068E-03   -1.5677    
  25  Prefactor     18.646        17.709        .23073E-03   -1.5622    
  26  Prefactor     13.857        13.167        .27042E-03   -1.5634    
  27  Normalizat    .94404        .10486        .45445E-01   -.94930    
  28  Prefactor     1.0294        .12725        .66421E-01   -.91754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57981e-07
Minuit parameter uncertainties:
  1  6.05398
  2  4.10298
  3  1.92879
  4  3.94335
  5  6.35651
  6  0.000602452
  7  1.59114e-05
  8  8.17215e-06
  9  51.4858
  10  26.2546
  11  0.265685
  12  5.52251e-05
  13  9.37891
  14  8.48796e-05
  15  7.05007
  16  0.0004408
  17  1.71932e-05
  18  0.0049866
  19  2.18542
  20  2.87854e-05
  21  23.9593
  22  0.635666
  23  5.98347
  24  1.88229
  25  17.7095
  26  13.1666
  27  0.104881
  28  0.127292
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK           583 CALLS     2567 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9883        6.0540        .40980E-03   -1.5659    
   2  Prefactor     4.4522        4.1030        .47859E-03   -1.5666    
   3  norm          7.6139        1.9288        .36316E-03   -1.5653    
   4  Prefactor     5.0447        3.9433        .44589E-03   -1.5663    
   5  norm          10.977        6.3565        .30162E-03   -1.5642    
   6  Prefactor     .68834E-08    13.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    1.3601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6835        246.93        .52740E-03   -1.5675    
  10  Prefactor     33.778        26.255        .16910E-03   -1.5592    
  11  norm          2.0461        .26568        .48921E-03   -1.5679    
  12  Prefactor     .11102E-09    7.2547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.017        9.3789        .28681E-03   -1.5639    
  14  Prefactor     .16653E-09    10.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1144        7.0501        .40815E-03   -1.5659    
  16  norm          .27756E-08    17.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    .80673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18857E-06    32.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.194        2.1854        .31365E-03   -1.5644    
  20  Prefactor     .11102E-09    2.0792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.502        23.959        .25990E-03   -1.5632    
  22  norm          1.5252        .63567        .86506E-03   -1.5683    
  23  norm          12.211        5.9835        .28628E-03   -1.5638    
  24  Prefactor     2.3277        1.8823        .67068E-03   -1.5677    
  25  Prefactor     18.646        17.709        .23073E-03   -1.5622    
  26  Prefactor     13.857        13.167        .27042E-03   -1.5634    
  27  Normalizat    .94404        .10486        .45445E-01   -.94930    
  28  Prefactor     1.0294        .12725        .66421E-01   -.91754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57981e-07
Minuit parameter uncertainties:
  1  6.05398
  2  4.10298
  3  1.92879
  4  3.94335
  5  6.35651
  6  0.000602452
  7  1.59114e-05
  8  8.17215e-06
  9  51.4858
  10  26.2546
  11  0.265685
  12  5.52251e-05
  13  9.37891
  14  8.48796e-05
  15  7.05007
  16  0.0004408
  17  1.71932e-05
  18  0.0049866
  19  2.18542
  20  2.87854e-05
  21  23.9593
  22  0.635666
  23  5.98347
  24  1.88229
  25  17.7095
  26  13.1666
  27  0.104881
  28  0.127292
Done.

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

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  2.684e+00  5.149e+01  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.440e-01  1.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.518 43.094
Photon Flux Upper Limit: 4.40638158324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00339245298886 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/19656637/likelihoodResults_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.1358823
delta logL = 0.596587914562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15302.8600097
delta logL = 0.872460489532

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      318 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .63671        .42118E-03** at limit **
   2  Index         .33402E-02    6.1337        .50000       -.15461E-09
   3  Normalizat    .94486        .10001        .44850E-01   -.19697E-03
   4  Prefactor     1.0293        .12660        .66420E-01   -.26952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 0.00334022
  Normalizat = 0.944864
  Prefactor  = 1.02929
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK            29 CALLS      347 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .60162        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .33402E-02    6.0739        .50000       -1.5342    
   3  Normalizat    .94486        .11620        .24235E-03   -.94901    
   4  Prefactor     1.0293        .14701        .29382E-03   -.91759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00816e-10
Minuit parameter uncertainties:
  1  2.82595e-05
  2  0.182941
  3  0.116236
  4  0.147062
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) = 15303.7338537
delta logL = -0.00138344292282

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  3.331e-10  2.826e-05  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  3.340e-03  1.829e-01  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.471e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.449e-01  1.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.518 43.094

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/19656637/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-03', job_status='DONE', photon_flux_upper_limit='4.41e-08', time_completed='2023-07-18 01:22:08.909300', job_id='19656637', GAL2='1.03', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1689668528.91', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-1.38e-03', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='780' AND source_name='4FGL J1058.0+4305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 01:22:09 PDT 2023

Done.

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

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  2.684e+00  5.149e+01  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.440e-01  1.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.518 43.094
Photon Flux Upper Limit: 4.40638158324e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00339245298886 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/19656654/likelihoodResults_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.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) = 15303.1358823
delta logL = 0.596587914562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15302.8600097
delta logL = 0.872460489532

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15303.73     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      318 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .63671        .42118E-03** at limit **
   2  Index         .33402E-02    6.1337        .50000       -.15461E-09
   3  Normalizat    .94486        .10001        .44850E-01   -.19697E-03
   4  Prefactor     1.0293        .12660        .66420E-01   -.26952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 0.00334022
  Normalizat = 0.944864
  Prefactor  = 1.02929
 **********
 **   18 **HESSE 
 **********

 FCN=   15303.73     FROM HESSE     STATUS=OK            29 CALLS      347 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .60162        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .33402E-02    6.0739        .50000       -1.5342    
   3  Normalizat    .94486        .11620        .24235E-03   -.94901    
   4  Prefactor     1.0293        .14701        .29382E-03   -.91759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00816e-10
Minuit parameter uncertainties:
  1  2.82595e-05
  2  0.182941
  3  0.116236
  4  0.147062
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) = 15303.7338537
delta logL = -0.00138344292282

Extracting fit parameters...

4FGL J1058.0+4305
   Spectrum: PowerLaw
355    Prefactor:  3.331e-10  2.826e-05  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  3.340e-03  1.829e-01  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.363e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.029e+00  1.471e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.449e-01  1.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.518 43.094

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/19656654/cmap_HighResolution_710726401_711331201_4FGL_J1058.0+4305_weekly_bin780.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-03', job_status='DONE', photon_flux_upper_limit='4.41e-08', time_completed='2023-07-18 01:22:19.149646', job_id='19656654', GAL2='1.03', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1689668539.15', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-1.38e-03', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='780' AND source_name='4FGL J1058.0+4305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 18 01:22:19 PDT 2023

