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

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

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

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

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


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin943
RA = 154.548, Dec = 19.0963
tmin = 809308801, tmax = 809913601
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='36624147', job_status='RUN', time_executed='2026-09-01 07:50:47.734562', time_epoch_executed='1788274247.73' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36624147

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36624147/ft1_4FGL_J1018.1+1905_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36624147/ft1_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624147/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits ra=154.548 dec=19.0963 rad=12.0 tmin=809308801.0 tmax=809913601.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 7.35
user 6.50
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.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/36624147/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.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.73
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 1171

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

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

 outfile=/lscratch/kocevski/36624058/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624058/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 20.60
user 19.48
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624058/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624058/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624058/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624058/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624058/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 77.18
user 71.64
sys 4.44

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624058/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624058/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624058/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.94
user 0.26
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624058/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624058/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624058/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.94
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624058/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624058/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624058/Model_4FGL_J1018.1+1905_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin943
RA = 154.548, Dec = 19.0963
tmin = 809308801, tmax = 809913601
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='36624190', job_status='RUN', time_executed='2026-09-01 07:52:17.604380', time_epoch_executed='1788274337.6' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36624190

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36624190/ft1_4FGL_J1018.1+1905_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36624190/ft1_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624190/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits ra=154.548 dec=19.0963 rad=12.0 tmin=809308801.0 tmax=809913601.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 8.22
user 7.08
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.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/36624190/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1171

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin943
RA = 154.548, Dec = 19.0963
tmin = 809308801, tmax = 809913601
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='36624189', job_status='RUN', time_executed='2026-09-01 07:52:17.396723', time_epoch_executed='1788274337.4' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36624189

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36624189/ft1_4FGL_J1018.1+1905_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36624189/ft1_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624189/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits ra=154.548 dec=19.0963 rad=12.0 tmin=809308801.0 tmax=809913601.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 8.00
user 7.07
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.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/36624189/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.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.89
user 0.25
sys 0.14

Number of photons that the gtmktime cut: 1171

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin943
RA = 154.548, Dec = 19.0963
tmin = 809308801, tmax = 809913601
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='36624197', job_status='RUN', time_executed='2026-09-01 07:52:42.327223', time_epoch_executed='1788274362.33' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36624197

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36624197/ft1_4FGL_J1018.1+1905_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36624197/ft1_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624197/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits ra=154.548 dec=19.0963 rad=12.0 tmin=809308801.0 tmax=809913601.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 7.13
user 6.22
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.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/36624197/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1171

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA"e GAL_V02
Working on...
/lscratch/kocevski/36624048/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 52.80
user 50.67
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624048/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624048/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624048/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624048/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624048/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624048/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624048/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624048/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624048/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624048/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
 outfile=/lscratch/kocevski/36624117/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624117/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 17.48
user 16.67
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624117/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624117/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624117/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624117/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624117/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 67.36
user 62.41
sys 4.05

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624117/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624117/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624117/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.90
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624117/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624117/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624117/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624117/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624117/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624117/Model_4FGL_J1018.1+1905_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/36624100/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624100/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 19.73
user 18.47
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624100/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624100/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624100/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624100/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624100/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 72.55
user 67.17
sys 4.21

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624100/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624100/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624100/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.91
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624100/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624100/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624100/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.94
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624100/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624100/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624100/Model_4FGL_J1018.1+1905_weekly_bin943.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 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
 outfile=/lscratch/kocevski/36624106/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624106/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 19.59
user 18.61
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624106/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624106/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624106/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624106/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624106/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 73.74
user 68.66
sys 4.21

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624106/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624106/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624106/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.82
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624106/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624106/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624106/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624106/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624106/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624106/Model_4FGL_J1018.1+1905_weekly_bin943.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/36624095/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624095/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 20.40
user 18.95
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624095/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624095/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624095/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624095/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624095/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 74.51
user 69.20
sys 4.19

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624095/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624095/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624095/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624095/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624095/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624095/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.97
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624095/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624095/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624095/Model_4FGL_J1018.1+1905_weekly_bin943.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/36624105/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624105/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 20.69
user 19.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624105/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624105/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624105/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624105/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624105/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 78.56
user 72.96
sys 4.58

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624105/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624105/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624105/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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 1.01
user 0.27
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624105/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624105/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624105/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.78
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624105/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624105/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624105/Model_4FGL_J1018.1+1905_weekly_bin943.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/36624058/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 50.69
user 48.63
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624058/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624058/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624058/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624058/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624058/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624058/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624058/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624058/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624058/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624058/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
 outfile=/lscratch/kocevski/36624090/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624090/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 22.57
user 20.67
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624090/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624090/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624090/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624090/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624090/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 82.24
user 75.82
sys 4.62

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624090/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624090/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624090/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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 1.18
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624090/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624090/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624090/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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 1.02
user 0.28
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624090/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624090/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624090/Model_4FGL_J1018.1+1905_weekly_bin943.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  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
 outfile=/lscratch/kocevski/36624120/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624120/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 20.54
user 19.61
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624120/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624120/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624120/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624120/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624120/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 78.46
user 72.93
sys 4.40

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624120/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624120/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624120/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.96
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624120/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624120/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624120/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624120/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624120/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624120/Model_4FGL_J1018.1+1905_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
 outfile=/lscratch/kocevski/36624147/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 18.86
user 17.96
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624147/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624147/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624147/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 70.76
user 65.86
sys 4.05

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624147/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.67
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624147/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624147/Model_4FGL_J1018.1+1905_weekly_bin943.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 sourcDone.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624048/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624048/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 07:57:53.134282', job_id='36624048', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274673.13', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 07:57:53 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36624117/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 44.41
user 42.52
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624117/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624117/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624117/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624117/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624117/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624117/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624117/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624117/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624117/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624117/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
 GAL_V02
Working on...
/lscratch/kocevski/36624100/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 47.50
user 45.40
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624100/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624100/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624100/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624100/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624100/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624100/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624100/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624100/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624100/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624100/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
number of points = 17387
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin943
RA = 154.548, Dec = 19.0963
tmin = 809308801, tmax = 809913601
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='36624291', job_status='RUN', time_executed='2026-09-01 07:55:29.627154', time_epoch_executed='1788274529.63' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36624291

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36624291/ft1_4FGL_J1018.1+1905_weekly_bin943.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36624291/ft1_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624291/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits ra=154.548 dec=19.0963 rad=12.0 tmin=809308801.0 tmax=809913601.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 7.23
user 6.52
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.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/36624291/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.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.73
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 1171

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA"e GAL_V02
Working on...
/lscratch/kocevski/36624095/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 48.60
user 46.69
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624095/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624095/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624095/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624095/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624095/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624095/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624095/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624095/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624095/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624095/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
e GAL_V02
Working on...
/lscratch/kocevski/36624106/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 50.53
user 48.56
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624106/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624106/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624106/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624106/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624106/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624106/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624106/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624106/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624106/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624106/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624058/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
e GAL_V02
Working on...
/lscratch/kocevski/36624105/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 51.03
user 49.09
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624105/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624105/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624105/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624105/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624105/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624105/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624105/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624105/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624105/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624105/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624058/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 07:58:29.593884', job_id='36624058', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274709.59', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 07:58:29 PDT 2026

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

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
 outfile=/lscratch/kocevski/36624197/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 18.39
user 17.17
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624197/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624197/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624197/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 69.26
user 64.22
sys 4.09

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624197/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624197/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624197/Model_4FGL_J1018.1+1905_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
e GAL_V02
Working on...
/lscratch/kocevski/36624090/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 55.18
user 51.80
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624090/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624090/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624090/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624090/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624090/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624090/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624090/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624090/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624090/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624090/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
e GAL_V02
Working on...
/lscratch/kocevski/36624120/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 50.33
user 48.62
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624120/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624120/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624120/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624120/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624120/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624120/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624120/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624120/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624120/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624120/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
outfile=/lscratch/kocevski/36624189/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 19.94
user 19.17
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624189/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624189/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624189/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 76.13
user 71.02
sys 4.30

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624189/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624189/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624189/Model_4FGL_J1018.1+1905_weekly_bin943.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 sourceoutfile=/lscratch/kocevski/36624190/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 20.74
user 19.45
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624190/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624190/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624190/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 77.98
user 70.79
sys 4.78

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624190/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624190/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.78
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624190/Model_4FGL_J1018.1+1905_weekly_bin943.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 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
e GAL_V02
Working on...
/lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 46.25
user 44.53
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624147/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624147/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624147/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624147/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624147/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624147/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624147/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624147/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624117/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624117/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 07:59:19.167027', job_id='36624117', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274759.17', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 07:59:19 PDT 2026

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

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624100/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624100/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 07:59:29.305671', job_id='36624100', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274769.31', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 07:59:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624095/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624106/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624095/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 07:59:42.335481', job_id='36624095', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274782.34', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 07:59:42 PDT 2026

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

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624106/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 07:59:46.699949', job_id='36624106', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274786.7', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 07:59:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624105/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624105/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 07:59:56.893275', job_id='36624105', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274796.89', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 07:59:57 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 46.52
user 44.73
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624197/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624197/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624197/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624197/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624197/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624197/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624197/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624197/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624090/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624120/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624120/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 08:00:14.232213', job_id='36624120', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274814.23', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 08:00:14 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624090/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 08:00:15.122960', job_id='36624090', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274815.12', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 08:00:15 PDT 2026

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

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
 GAL_V02
Working on...
/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 52.61
user 50.28
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624189/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624189/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624189/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624189/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624189/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624189/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624189/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624189/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624147/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624147/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 08:00:28.621772', job_id='36624147', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274828.62', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 08:00:28 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 52.65
user 49.42
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624190/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624190/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624190/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624190/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624190/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624190/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624190/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624190/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
 outfile=/lscratch/kocevski/36624291/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 18.62
user 17.81
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36624291/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624291/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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/36624291/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
.....................!
real 71.01
user 66.48
sys 3.71

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624291/cmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits scfile=/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits outfile=/lscratch/kocevski/36624291/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.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=154.548 yref=19.0963 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.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36624291/Model_4FGL_J1018.1+1905_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624197/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624197/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 08:01:26.222864', job_id='36624197', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274886.22', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 08:01:26 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624189/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624189/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 08:01:43.968307', job_id='36624189', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274903.97', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 08:01:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624190/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624190/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 08:01:50.908266', job_id='36624190', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274910.91', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 08:01:51 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits.....................!
real 46.11
user 43.91
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits', '/lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits', expMap='/lscratch/kocevski/36624291/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', expCube='/lscratch/kocevski/36624291/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36624291/Model_4FGL_J1018.1+1905_weekly_bin943.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36624291/ft1_filtered_4FGL_J1018.1+1905_weekly_bin943.fits
Spacecraft file(s): /lscratch/kocevski/36624291/ft2_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure map: /lscratch/kocevski/36624291/expmap_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
Exposure cube: /lscratch/kocevski/36624291/ltcube_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36624291/Model_4FGL_J1018.1+1905_weekly_bin943.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) = 13597.9514135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25641E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57300E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17361E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14835       1.0000          .0000       .10000E+07
     6 'norm      '    8.9344       1.0000          .0000       .10000E+07
     7 'Prefactor '    26.181       1.0000          .0000       .10000E+07
     8 'Prefactor '    .64744E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.010       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9627       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5092       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76088E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5973       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.602       1.0000          .0000       .10000E+07
    15 'Normalizat'    .88217       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.5861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13597.86     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      965 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    6.6249       -.35372E-06** at limit **
   2  norm           .0000        .51456       -.12969E-06** at limit **
   3  Prefactor     .21094E-07    9.0237       -.40067E-07** at limit **
   4  Prefactor     .55511E-10    41.914       -.79858E-06** at limit **
   5  Prefactor     .14796        1.7017       -.94758E-07** at limit **
   6  norm          8.8716        5.7199       -.31106E-07    .45380E-04
   7  Prefactor     24.906        31.221        .24159E-06    .32070E-03
   8  Prefactor     .83378E-07    7.6200       -.31261E-06** at limit **
   9  Prefactor     20.014        7.8430       -.10964E-06    .76252E-03
  10  Prefactor     2.9592        2.2806        .28559E-07    .14592E-03
  11  Prefactor     2.4985        4.3389       -.68920E-07    .15752E-03
  12  Prefactor     .84044E-07    11.559       -.15528E-06** at limit **
  13  Prefactor     4.6243        4.9356        .74405E-07   -.13557E-03
  14  Prefactor     11.644        12.133       -.19154E-06    .14901E-03
  15  Normalizat    .88264        .16874        .65853E-06   -.42920E-04
  16  Prefactor     1.5861        .16159        .66927E-06   -.61330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  norm       = 0
  Prefactor  = 2.10942e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.147961
  norm       = 8.87156
  Prefactor  = 24.9057
  Prefactor  = 8.33777e-08
  Prefactor  = 20.0141
  Prefactor  = 2.95918
  Prefactor  = 2.49852
  Prefactor  = 8.40439e-08
  Prefactor  = 4.62433
  Prefactor  = 11.6437
  Normalizat = 0.882644
  Prefactor  = 1.58605
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.86     FROM HESSE     STATUS=OK           249 CALLS     1214 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    11.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .50976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-07    9.7506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.7030        .10928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14796        .72230        .34287E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8716        5.7415        .33508E-03   -1.5648    
   7  Prefactor     24.906        31.217        .19547E-03   -1.5608    
   8  Prefactor     .83378E-07    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.014        7.8430        .22362E-03   -1.5618    
  10  Prefactor     2.9592        2.2996        .58969E-03   -1.5674    
  11  Prefactor     2.4985        4.3677        .64479E-03   -1.5676    
  12  Prefactor     .84044E-07    14.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6243        4.9432        .46921E-03   -1.5665    
  14  Prefactor     11.644        12.136        .29386E-03   -1.5640    
  15  Normalizat    .88264        .14204        .70680E-01   -.97073    
  16  Prefactor     1.5861        .13436        .54099E-01   -.75157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37012e-08
Minuit parameter uncertainties:
  1  0.00256959
  2  1.73571e-06
  3  0.000906716
  4  1.74116e-05
  5  0.653825
  6  5.74147
  7  31.2176
  8  0.00188163
  9  7.84297
  10  2.29957
  11  4.36772
  12  0.00220343
  13  4.94316
  14  12.136
  15  0.142099
  16  0.134392
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.338e-08  1.882e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.586e+00  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.826e-01  1.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.47057588297e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00261614988416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36624291/likelihoodResults_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13597.9026045
delta logL = -0.0450748921739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13597.8575296
delta logL = -1.87901605386e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .92548       1.0000          .0000       10.000    
     3 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED       379 CALLS      539 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07     .0000    ** at limit **
   2  Index        10.0000        6.0345         .0000       -.62925E-03
   3  Normalizat    .85124        .31342E-01     .0000       -.11680    
   4  Prefactor     1.6074        .30873E-01     .0000       -.19278    
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13597.47     FROM SIMPLEX   STATUS=PROGRESS      82 CALLS      621 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .42494E-07    .59768E-09** at limit **
   2  Index        10.0000        6.0345        .11762E-01   -.62925E-03
   3  Normalizat    .85127        .31342E-01    .11106E-04   -.11680    
   4  Prefactor     1.6074        .30873E-01    .30987E-05   -.19278    
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13597.47     FROM MIGRAD    STATUS=FAILED        56 CALLS      677 TOTAL
                     EDM=   .11E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    .43493E-07     .0000    ** at limit **
   2  Index        10.0000        5.6966         .0000       -.62700E-03
   3  Normalizat    .85127        .31840E-01     .0000       -.97837E-01
   4  Prefactor     1.6074        .31348E-01     .0000       -.16885    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Index      = 9.99998
  Normalizat = 0.851266
  Prefactor  = 1.60739
 **********
 **   18 **HESSE 
 **********

 FCN=   13597.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      710 TOTAL
                     EDM=   .23E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    .43493E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.6966        .50000        1.5680    
   3  Normalizat    .85127        .31840E-01    .63578E-04   -.98194    
   4  Prefactor     1.6074        .31348E-01    .47573E-04   -.74575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 228.038
Minuit parameter uncertainties:
  1  2.17982e-08
  2  0.0771887
  3  0.0318407
  4  0.0313489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 13597.4712572
delta logL = 0.386272434656

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.720e-09  2.180e-08  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.000e+01  7.719e-02  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.607e+00  3.135e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.513e-01  3.184e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/36624291/cmap_HighResolution_809308801_809913601_4FGL_J1018.1+1905_weekly_bin943.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2026-09-01 08:03:12.493390', job_id='36624291', GAL2='1.61', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1788274992.49', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.59', dlogl='3.86e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='943' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  1 08:03:12 PDT 2026

