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


Performing analysis on: 4FGL_J1318.7-1234_weekly_bin942
RA = 199.694, Dec = -12.581
tmin = 808704001, tmax = 809308801
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='35803338', job_status='RUN', time_executed='2026-08-25 10:10:16.012607', time_epoch_executed='1787677816.01' WHERE source_name='4FGL J1318.7-1234' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35803338

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35803338/ft1_4FGL_J1318.7-1234_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35803338/ft1_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803338/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits ra=199.694 dec=-12.581 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.83
user 4.86
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.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/35803338/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.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.84
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 2441

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

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

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

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

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

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

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


Performing analysis on: 4FGL_J1318.7-1234_weekly_bin942
RA = 199.694, Dec = -12.581
tmin = 808704001, tmax = 809308801
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='35803380', job_status='RUN', time_executed='2026-08-25 10:10:37.041096', time_epoch_executed='1787677837.04' WHERE source_name='4FGL J1318.7-1234' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35803380

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35803380/ft1_4FGL_J1318.7-1234_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35803380/ft1_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803380/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits ra=199.694 dec=-12.581 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.57
user 4.62
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.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/35803380/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.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.72
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2441

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA"number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1318.7-1234_weekly_bin942
RA = 199.694, Dec = -12.581
tmin = 808704001, tmax = 809308801
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='35803416', job_status='RUN', time_executed='2026-08-25 10:10:57.778691', time_epoch_executed='1787677857.78' WHERE source_name='4FGL J1318.7-1234' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35803416

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35803416/ft1_4FGL_J1318.7-1234_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35803416/ft1_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803416/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits ra=199.694 dec=-12.581 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.74
user 4.88
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.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/35803416/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2441

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA"outfile=/lscratch/kocevski/35803182/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803182/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 19.20
user 18.45
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35803182/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803182/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35803182/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803182/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803182/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 71.46
user 65.86
sys 4.02

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35803182/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803182/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803182/cmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35803182/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803182/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803182/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35803182/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803182/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35803182/Model_4FGL_J1318.7-1234_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcenumber of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
outfile=/lscratch/kocevski/35803185/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803185/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 19.20
user 18.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35803185/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803185/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35803185/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803185/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803185/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 71.65
user 65.85
sys 4.20

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35803185/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803185/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803185/cmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35803185/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803185/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803185/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.72
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35803185/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803185/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35803185/Model_4FGL_J1318.7-1234_weekly_bin942.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 sourceDone.


Performing analysis on: 4FGL_J1318.7-1234_weekly_bin942
RA = 199.694, Dec = -12.581
tmin = 808704001, tmax = 809308801
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='35803480', job_status='RUN', time_executed='2026-08-25 10:11:48.889650', time_epoch_executed='1787677908.89' WHERE source_name='4FGL J1318.7-1234' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35803480

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35803480/ft1_4FGL_J1318.7-1234_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35803480/ft1_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803480/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits ra=199.694 dec=-12.581 rad=12.0 tmin=808704001.0 tmax=809308801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.47
user 4.83
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.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/35803480/ft1_filteredMKT_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2441

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35803278/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803278/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 18.74
user 18.01
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35803278/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803278/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35803278/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803278/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803278/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 71.23
user 66.05
sys 4.16

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35803278/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803278/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803278/cmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.77
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35803278/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803278/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803278/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.86
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35803278/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803278/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35803278/Model_4FGL_J1318.7-1234_weekly_bin942.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/35803338/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 20.35
user 19.13
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35803338/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803338/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803338/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 75.76
user 69.62
sys 4.74

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803338/cmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.15
user 0.26
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803338/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.77
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35803338/Model_4FGL_J1318.7-1234_weekly_bin942.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/35803380/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 19.07
user 18.31
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35803380/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803380/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803380/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 70.97
user 65.94
sys 4.15

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803380/cmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803380/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.69
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35803380/Model_4FGL_J1318.7-1234_weekly_bin942.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/35803416/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 19.93
user 19.03
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35803416/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803416/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803416/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 72.57
user 67.72
sys 4.11

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803416/cmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.64
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803416/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.60
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35803416/Model_4FGL_J1318.7-1234_weekly_bin942.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/35803480/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 20.64
user 19.08
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35803480/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803480/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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/35803480/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
.....................!
real 76.83
user 69.23
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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803480/cmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits scfile=/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits outfile=/lscratch/kocevski/35803480/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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=199.694 yref=-12.581 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.69
user 0.27
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35803480/Model_4FGL_J1318.7-1234_weekly_bin942.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 GAL_V02
Working on...
/lscratch/kocevski/35803182/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits.....................!
real 70.07
user 68.11
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35803182/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits', '/lscratch/kocevski/35803182/ft2_4FGL_J1318.7-1234_weekly_bin942.fits', expMap='/lscratch/kocevski/35803182/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', expCube='/lscratch/kocevski/35803182/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35803182/Model_4FGL_J1318.7-1234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35803182/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35803182/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35803182/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35803182/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35803182/Model_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.4037898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3262       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11571E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6473       1.0000          .0000       .10000E+07
     5 'norm      '    .48156       1.0000          .0000       .10000E+07
     6 'norm      '    .41287       1.0000          .0000       .10000E+07
     7 'norm      '    4.7662       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40174E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1316       1.0000          .0000       .10000E+07
    11 'norm      '    16.991       1.0000          .0000       .10000E+07
    12 'norm      '    1.4373       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1386       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41514E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.161       1.0000          .0000       .10000E+07
    17 'norm      '    4.4253       1.0000          .0000       .10000E+07
    18 'norm      '    .49760E-06   1.0000          .0000       .10000E+07
    19 'norm      '    22.179       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5879       1.0000          .0000       .10000E+07
    22 'norm      '    3.6180       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8742       1.0000          .0000       .10000E+07
    24 'norm      '    5.6787       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4651       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ******* GAL_V02
Working on...
/lscratch/kocevski/35803185/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits.....................!
real 70.32
user 68.27
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35803185/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits', '/lscratch/kocevski/35803185/ft2_4FGL_J1318.7-1234_weekly_bin942.fits', expMap='/lscratch/kocevski/35803185/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', expCube='/lscratch/kocevski/35803185/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35803185/Model_4FGL_J1318.7-1234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35803185/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35803185/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35803185/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35803185/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35803185/Model_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.4037898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3262       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11571E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6473       1.0000          .0000       .10000E+07
     5 'norm      '    .48156       1.0000          .0000       .10000E+07
     6 'norm      '    .41287       1.0000          .0000       .10000E+07
     7 'norm      '    4.7662       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40174E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1316       1.0000          .0000       .10000E+07
    11 'norm      '    16.991       1.0000          .0000       .10000E+07
    12 'norm      '    1.4373       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1386       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41514E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.161       1.0000          .0000       .10000E+07
    17 'norm      '    4.4253       1.0000          .0000       .10000E+07
    18 'norm      '    .49760E-06   1.0000          .0000       .10000E+07
    19 'norm      '    22.179       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5879       1.0000          .0000       .10000E+07
    22 'norm      '    3.6180       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8742       1.0000          .0000       .10000E+07
    24 'norm      '    5.6787       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4651       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0356        1.3991        .28861E-07    .11521E-03
   2  Prefactor     3.3022        4.2466       -.20710E-06   -.16942E-01
   3  Prefactor     .13323E-08    19.003        .32291E-07** at limit **
   4  Prefactor     2.6658        4.6980        .72770E-07    .18503E-01
   5  norm          .48168        .11830        .10185E-07    .46289E-02
   6  norm          .41792        3.7698        .10971E-06    .44319E-02
   7  norm          4.8076        2.5157       -.58205E-07   -.44942E-03
   8  Prefactor     3.2053        2.2568        .15319E-06    .18315E-02
   9  Prefactor     .66114E-07    28.764        .56399E-06** at limit **
  10  norm          1.1315        .76486        .27581E-08    .41674E-03
  11  norm          16.994        5.8054       -.45972E-07   -.15377E-01
  12  norm          1.4345        2.6790       -.47888E-07   -.19315E-04
  13  Prefactor     3.1370        2.9964        .10816E-06    .10885E-02
  14  Prefactor     10.371        2.4355        .19936E-06   -.12627    
  15  Prefactor     .55511E-10    3.5373       -.80637E-07** at limit **
  16  Prefactor     23.191        9.0194       -.11574E-07    .38412E-03
  17  norm          4.4246        .97538        .59578E-08    .66800E-03
  18  norm           .0000        .69392        .12114E-06** at limit **
  19  norm          22.163        4.5934       -.17829E-07   -.11897E-02
  20  Prefactor     4.5912        2.9403        .14913E-06    .25910E-01
  21  Prefactor     5.5849        3.8668        .43788E-06    .38335E-01
  22  norm          3.6190        2.0283       -.42485E-07   -.19076E-02
  23  Prefactor     1.8913        3.2650       -.19238E-06    .53964E-03
  24  norm          5.6613        4.7666       -.15171E-07   -.50301E-02
  25  Normalizat    1.4650        .14294       -.30731E-05    .10395E-04
  26  Prefactor     .81313        .75789E-01    .19041E-05    .66469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03563
  Prefactor  = 3.30219
  Prefactor  = 1.33227e-09
  Prefactor  = 2.66582
  norm       = 0.481681
  norm       = 0.417925
  norm       = 4.80764
  Prefactor  = 3.2053
  Prefactor  = 6.61138e-08
  norm       = 1.13149
  norm       = 16.9942
  norm       = 1.43448
  Prefactor  = 3.137
  Prefactor  = 10.3708
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1911
  norm       = 4.42458
  norm       = 0
  norm       = 22.1626
  Prefactor  = 4.59124
  Prefactor  = 5.58494
  norm       = 3.61895
  Prefactor  = 1.89128
  norm       = 5.66134
  Normalizat = 1.46503
  Prefactor  = 0.813128
***
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0356        1.3991        .28861E-07    .11521E-03
   2  Prefactor     3.3022        4.2466       -.20710E-06   -.16942E-01
   3  Prefactor     .13323E-08    19.003        .32291E-07** at limit **
   4  Prefactor     2.6658        4.6980        .72770E-07    .18503E-01
   5  norm          .48168        .11830        .10185E-07    .46289E-02
   6  norm          .41792        3.7698        .10971E-06    .44319E-02
   7  norm          4.8076        2.5157       -.58205E-07   -.44942E-03
   8  Prefactor     3.2053        2.2568        .15319E-06    .18315E-02
   9  Prefactor     .66114E-07    28.764        .56399E-06** at limit **
  10  norm          1.1315        .76486        .27581E-08    .41674E-03
  11  norm          16.994        5.8054       -.45972E-07   -.15377E-01
  12  norm          1.4345        2.6790       -.47888E-07   -.19315E-04
  13  Prefactor     3.1370        2.9964        .10816E-06    .10885E-02
  14  Prefactor     10.371        2.4355        .19936E-06   -.12627    
  15  Prefactor     .55511E-10    3.5373       -.80637E-07** at limit **
  16  Prefactor     23.191        9.0194       -.11574E-07    .38412E-03
  17  norm          4.4246        .97538        .59578E-08    .66800E-03
  18  norm           .0000        .69392        .12114E-06** at limit **
  19  norm          22.163        4.5934       -.17829E-07   -.11897E-02
  20  Prefactor     4.5912        2.9403        .14913E-06    .25910E-01
  21  Prefactor     5.5849        3.8668        .43788E-06    .38335E-01
  22  norm          3.6190        2.0283       -.42485E-07   -.19076E-02
  23  Prefactor     1.8913        3.2650       -.19238E-06    .53964E-03
  24  norm          5.6613        4.7666       -.15171E-07   -.50301E-02
  25  Normalizat    1.4650        .14294       -.30731E-05    .10395E-04
  26  Prefactor     .81313        .75789E-01    .19041E-05    .66469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03563
  Prefactor  = 3.30219
  Prefactor  = 1.33227e-09
  Prefactor  = 2.66582
  norm       = 0.481681
  norm       = 0.417925
  norm       = 4.80764
  Prefactor  = 3.2053
  Prefactor  = 6.61138e-08
  norm       = 1.13149
  norm       = 16.9942
  norm       = 1.43448
  Prefactor  = 3.137
  Prefactor  = 10.3708
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1911
  norm       = 4.42458
  norm       = 0
  norm       = 22.1626
  Prefactor  = 4.59124
  Prefactor  = 5.58494
  norm       = 3.61895
  Prefactor  = 1.89128
  norm       = 5.66134
  Normalizat = 1.46503
  Prefactor  = 0.813128
e GAL_V02
Working on...
/lscratch/kocevski/35803278/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits.....................!
real 70.90
user 68.49
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35803278/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits', '/lscratch/kocevski/35803278/ft2_4FGL_J1318.7-1234_weekly_bin942.fits', expMap='/lscratch/kocevski/35803278/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', expCube='/lscratch/kocevski/35803278/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35803278/Model_4FGL_J1318.7-1234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35803278/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35803278/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35803278/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35803278/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35803278/Model_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.4037898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3262       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11571E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6473       1.0000          .0000       .10000E+07
     5 'norm      '    .48156       1.0000          .0000       .10000E+07
     6 'norm      '    .41287       1.0000          .0000       .10000E+07
     7 'norm      '    4.7662       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40174E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1316       1.0000          .0000       .10000E+07
    11 'norm      '    16.991       1.0000          .0000       .10000E+07
    12 'norm      '    1.4373       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1386       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41514E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.161       1.0000          .0000       .10000E+07
    17 'norm      '    4.4253       1.0000          .0000       .10000E+07
    18 'norm      '    .49760E-06   1.0000          .0000       .10000E+07
    19 'norm      '    22.179       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5879       1.0000          .0000       .10000E+07
    22 'norm      '    3.6180       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8742       1.0000          .0000       .10000E+07
    24 'norm      '    5.6787       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4651       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0356        1.3991        .28861E-07    .11521E-03
   2  Prefactor     3.3022        4.2466       -.20710E-06   -.16942E-01
   3  Prefactor     .13323E-08    19.003        .32291E-07** at limit **
   4  Prefactor     2.6658        4.6980        .72770E-07    .18503E-01
   5  norm          .48168        .11830        .10185E-07    .46289E-02
   6  norm          .41792        3.7698        .10971E-06    .44319E-02
   7  norm          4.8076        2.5157       -.58205E-07   -.44942E-03
   8  Prefactor     3.2053        2.2568        .15319E-06    .18315E-02
   9  Prefactor     .66114E-07    28.764        .56399E-06** at limit **
  10  norm          1.1315        .76486        .27581E-08    .41674E-03
  11  norm          16.994        5.8054       -.45972E-07   -.15377E-01
  12  norm          1.4345        2.6790       -.47888E-07   -.19315E-04
  13  Prefactor     3.1370        2.9964        .10816E-06    .10885E-02
  14  Prefactor     10.371        2.4355        .19936E-06   -.12627    
  15  Prefactor     .55511E-10    3.5373       -.80637E-07** at limit **
  16  Prefactor     23.191        9.0194       -.11574E-07    .38412E-03
  17  norm          4.4246        .97538        .59578E-08    .66800E-03
  18  norm           .0000        .69392        .12114E-06** at limit **
  19  norm          22.163        4.5934       -.17829E-07   -.11897E-02
  20  Prefactor     4.5912        2.9403        .14913E-06    .25910E-01
  21  Prefactor     5.5849        3.8668        .43788E-06    .38335E-01
  22  norm          3.6190        2.0283       -.42485E-07   -.19076E-02
  23  Prefactor     1.8913        3.2650       -.19238E-06    .53964E-03
  24  norm          5.6613        4.7666       -.15171E-07   -.50301E-02
  25  Normalizat    1.4650        .14294       -.30731E-05    .10395E-04
  26  Prefactor     .81313        .75789E-01    .19041E-05    .66469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03563
  Prefactor  = 3.30219
  Prefactor  = 1.33227e-09
  Prefactor  = 2.66582
  norm       = 0.481681
  norm       = 0.417925
  norm       = 4.80764
  Prefactor  = 3.2053
  Prefactor  = 6.61138e-08
  norm       = 1.13149
  norm       = 16.9942
  norm       = 1.43448
  Prefactor  = 3.137
  Prefactor  = 10.3708
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1911
  norm       = 4.42458
  norm       = 0
  norm       = 22.1626
  Prefactor  = 4.59124
  Prefactor  = 5.58494
  norm       = 3.61895
  Prefactor  = 1.89128
  norm       = 5.66134
  Normalizat = 1.46503
  Prefactor  = 0.813128
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK           524 CALLS     2297 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0356        1.4006        .40859E-02   -1.5217    
   2  Prefactor     3.3022        4.2725        .55476E-03   -1.5672    
   3  Prefactor     .13323E-08    19.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6658        53.377        .52870E-03   -1.5675    
   5  norm          .48168        .11893        .58321E-03   -1.5694    
   6  norm          .41792        3.6680        .88010E-03   -1.5695    
   7  norm          4.8076        2.6225        .46062E-03   -1.5664    
   8  Prefactor     3.2053        2.2687        .56515E-03   -1.5672    
   9  Prefactor     .66114E-07    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1315        .77502        .10972E-02   -1.5687    
  11  norm          16.994        6.3172        .24271E-03   -1.5626    
  12  norm          1.4345        2.7259        .89989E-03   -1.5684    
  13  Prefactor     3.1370        3.0076        .57196E-03   -1.5673    
  14  Prefactor     10.371        10.685        .31148E-03   -1.5644    
  15  Prefactor     .55511E-10    3.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.191        9.0182        .20784E-03   -1.5612    
  17  norm          4.4246        .97313        .47847E-03   -1.5666    
  18  norm           .0000        .69383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.163        4.6138        .21240E-03   -1.5614    
  20  Prefactor     4.5912        5.9926        .46709E-03   -1.5665    
  21  Prefactor     5.5849        4.7099        .42475E-03   -1.5661    
  22  norm          3.6190        2.0297        .53093E-03   -1.5670    
  23  Prefactor     1.8913        3.4410        .76035E-03   -1.5680    
  24  norm          5.6613        4.9959        .42129E-03   -1.5660    
  25  Normalizat    1.4650        .12279        .68338E-01   -.78766    
  26  Prefactor     .81313        .65453E-01    .43885E-01   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39903e-07
Minuit parameter uncertainties:
  1  1.40058
  2  4.27255
  3  0.000319321
  4  23.8577
  5  0.118926
  6  2.47626
  7  2.6225
  8  2.26872
  9  0.00281412
  10  0.775024
  11  6.31717
  12  2.72589
  13  3.00762
  14  10.685
  15  2.34589e-05
  16  9.01821
  17  0.973126
  18  1.44151e-06
  19  4.61377
  20  5.99261
  21  4.70995
  22  2.02972
  23  3.441
  24  4.99588
  25  0.122812
  26  0.0654597
e GAL_V02
Working on...
/lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits.....................!
real 74.24
user 71.82
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits', '/lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits', expMap='/lscratch/kocevski/35803338/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', expCube='/lscratch/kocevski/35803338/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35803338/Model_4FGL_J1318.7-1234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35803338/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35803338/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35803338/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35803338/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35803338/Model_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.4037898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3262       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11571E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6473       1.0000          .0000       .10000E+07
     5 'norm      '    .48156       1.0000          .0000       .10000E+07
     6 'norm      '    .41287       1.0000          .0000       .10000E+07
     7 'norm      '    4.7662       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40174E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1316       1.0000          .0000       .10000E+07
    11 'norm      '    16.991       1.0000          .0000       .10000E+07
    12 'norm      '    1.4373       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1386       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41514E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.161       1.0000          .0000       .10000E+07
    17 'norm      '    4.4253       1.0000          .0000       .10000E+07
    18 'norm      '    .49760E-06   1.0000          .0000       .10000E+07
    19 'norm      '    22.179       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5879       1.0000          .0000       .10000E+07
    22 'norm      '    3.6180       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8742       1.0000          .0000       .10000E+07
    24 'norm      '    5.6787       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4651       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ******e GAL_V02
Working on...
/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits.....................!
real 70.12
user 67.88
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits', '/lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits', expMap='/lscratch/kocevski/35803380/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', expCube='/lscratch/kocevski/35803380/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35803380/Model_4FGL_J1318.7-1234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35803380/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35803380/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35803380/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35803380/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35803380/Model_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.4037898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3262       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11571E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6473       1.0000          .0000       .10000E+07
     5 'norm      '    .48156       1.0000          .0000       .10000E+07
     6 'norm      '    .41287       1.0000          .0000       .10000E+07
     7 'norm      '    4.7662       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40174E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1316       1.0000          .0000       .10000E+07
    11 'norm      '    16.991       1.0000          .0000       .10000E+07
    12 'norm      '    1.4373       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1386       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41514E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.161       1.0000          .0000       .10000E+07
    17 'norm      '    4.4253       1.0000          .0000       .10000E+07
    18 'norm      '    .49760E-06   1.0000          .0000       .10000E+07
    19 'norm      '    22.179       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5879       1.0000          .0000       .10000E+07
    22 'norm      '    3.6180       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8742       1.0000          .0000       .10000E+07
    24 'norm      '    5.6787       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4651       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ****** **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK           524 CALLS     2297 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0356        1.4006        .40859E-02   -1.5217    
   2  Prefactor     3.3022        4.2725        .55476E-03   -1.5672    
   3  Prefactor     .13323E-08    19.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6658        53.377        .52870E-03   -1.5675    
   5  norm          .48168        .11893        .58321E-03   -1.5694    
   6  norm          .41792        3.6680        .88010E-03   -1.5695    
   7  norm          4.8076        2.6225        .46062E-03   -1.5664    
   8  Prefactor     3.2053        2.2687        .56515E-03   -1.5672    
   9  Prefactor     .66114E-07    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1315        .77502        .10972E-02   -1.5687    
  11  norm          16.994        6.3172        .24271E-03   -1.5626    
  12  norm          1.4345        2.7259        .89989E-03   -1.5684    
  13  Prefactor     3.1370        3.0076        .57196E-03   -1.5673    
  14  Prefactor     10.371        10.685        .31148E-03   -1.5644    
  15  Prefactor     .55511E-10    3.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.191        9.0182        .20784E-03   -1.5612    
  17  norm          4.4246        .97313        .47847E-03   -1.5666    
  18  norm           .0000        .69383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.163        4.6138        .21240E-03   -1.5614    
  20  Prefactor     4.5912        5.9926        .46709E-03   -1.5665    
  21  Prefactor     5.5849        4.7099        .42475E-03   -1.5661    
  22  norm          3.6190        2.0297        .53093E-03   -1.5670    
  23  Prefactor     1.8913        3.4410        .76035E-03   -1.5680    
  24  norm          5.6613        4.9959        .42129E-03   -1.5660    
  25  Normalizat    1.4650        .12279        .68338E-01   -.78766    
  26  Prefactor     .81313        .65453E-01    .43885E-01   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39903e-07
Minuit parameter uncertainties:
  1  1.40058
  2  4.27255
  3  0.000319321
  4  23.8577
  5  0.118926
  6  2.47626
  7  2.6225
  8  2.26872
  9  0.00281412
  10  0.775024
  11  6.31717
  12  2.72589
  13  3.00762
  14  10.685
  15  2.34589e-05
  16  9.01821
  17  0.973126
  18  1.44151e-06
  19  4.61377
  20  5.99261
  21  4.70995
  22  2.02972
  23  3.441
  24  4.99588
  25  0.122812
  26  0.0654597
****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0356        1.3991        .28861E-07    .11521E-03
   2  Prefactor     3.3022        4.2466       -.20710E-06   -.16942E-01
   3  Prefactor     .13323E-08    19.003        .32291E-07** at limit **
   4  Prefactor     2.6658        4.6980        .72770E-07    .18503E-01
   5  norm          .48168        .11830        .10185E-07    .46289E-02
   6  norm          .41792        3.7698        .10971E-06    .44319E-02
   7  norm          4.8076        2.5157       -.58205E-07   -.44942E-03
   8  Prefactor     3.2053        2.2568        .15319E-06    .18315E-02
   9  Prefactor     .66114E-07    28.764        .56399E-06** at limit **
  10  norm          1.1315        .76486        .27581E-08    .41674E-03
  11  norm          16.994        5.8054       -.45972E-07   -.15377E-01
  12  norm          1.4345        2.6790       -.47888E-07   -.19315E-04
  13  Prefactor     3.1370        2.9964        .10816E-06    .10885E-02
  14  Prefactor     10.371        2.4355        .19936E-06   -.12627    
  15  Prefactor     .55511E-10    3.5373       -.80637E-07** at limit **
  16  Prefactor     23.191        9.0194       -.11574E-07    .38412E-03
  17  norm          4.4246        .97538        .59578E-08    .66800E-03
  18  norm           .0000        .69392        .12114E-06** at limit **
  19  norm          22.163        4.5934       -.17829E-07   -.11897E-02
  20  Prefactor     4.5912        2.9403        .14913E-06    .25910E-01
  21  Prefactor     5.5849        3.8668        .43788E-06    .38335E-01
  22  norm          3.6190        2.0283       -.42485E-07   -.19076E-02
  23  Prefactor     1.8913        3.2650       -.19238E-06    .53964E-03
  24  norm          5.6613        4.7666       -.15171E-07   -.50301E-02
  25  Normalizat    1.4650        .14294       -.30731E-05    .10395E-04
  26  Prefactor     .81313        .75789E-01    .19041E-05    .66469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03563
  Prefactor  = 3.30219
  Prefactor  = 1.33227e-09
  Prefactor  = 2.66582
  norm       = 0.481681
  norm       = 0.417925
  norm       = 4.80764
  Prefactor  = 3.2053
  Prefactor  = 6.61138e-08
  norm       = 1.13149
  norm       = 16.9942
  norm       = 1.43448
  Prefactor  = 3.137
  Prefactor  = 10.3708
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1911
  norm       = 4.42458
  norm       = 0
  norm       = 22.1626
  Prefactor  = 4.59124
  Prefactor  = 5.58494
  norm       = 3.61895
  Prefactor  = 1.89128
  norm       = 5.66134
  Normalizat = 1.46503
  Prefactor  = 0.813128
****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0356        1.3991        .28861E-07    .11521E-03
   2  Prefactor     3.3022        4.2466       -.20710E-06   -.16942E-01
   3  Prefactor     .13323E-08    19.003        .32291E-07** at limit **
   4  Prefactor     2.6658        4.6980        .72770E-07    .18503E-01
   5  norm          .48168        .11830        .10185E-07    .46289E-02
   6  norm          .41792        3.7698        .10971E-06    .44319E-02
   7  norm          4.8076        2.5157       -.58205E-07   -.44942E-03
   8  Prefactor     3.2053        2.2568        .15319E-06    .18315E-02
   9  Prefactor     .66114E-07    28.764        .56399E-06** at limit **
  10  norm          1.1315        .76486        .27581E-08    .41674E-03
  11  norm          16.994        5.8054       -.45972E-07   -.15377E-01
  12  norm          1.4345        2.6790       -.47888E-07   -.19315E-04
  13  Prefactor     3.1370        2.9964        .10816E-06    .10885E-02
  14  Prefactor     10.371        2.4355        .19936E-06   -.12627    
  15  Prefactor     .55511E-10    3.5373       -.80637E-07** at limit **
  16  Prefactor     23.191        9.0194       -.11574E-07    .38412E-03
  17  norm          4.4246        .97538        .59578E-08    .66800E-03
  18  norm           .0000        .69392        .12114E-06** at limit **
  19  norm          22.163        4.5934       -.17829E-07   -.11897E-02
  20  Prefactor     4.5912        2.9403        .14913E-06    .25910E-01
  21  Prefactor     5.5849        3.8668        .43788E-06    .38335E-01
  22  norm          3.6190        2.0283       -.42485E-07   -.19076E-02
  23  Prefactor     1.8913        3.2650       -.19238E-06    .53964E-03
  24  norm          5.6613        4.7666       -.15171E-07   -.50301E-02
  25  Normalizat    1.4650        .14294       -.30731E-05    .10395E-04
  26  Prefactor     .81313        .75789E-01    .19041E-05    .66469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03563
  Prefactor  = 3.30219
  Prefactor  = 1.33227e-09
  Prefactor  = 2.66582
  norm       = 0.481681
  norm       = 0.417925
  norm       = 4.80764
  Prefactor  = 3.2053
  Prefactor  = 6.61138e-08
  norm       = 1.13149
  norm       = 16.9942
  norm       = 1.43448
  Prefactor  = 3.137
  Prefactor  = 10.3708
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1911
  norm       = 4.42458
  norm       = 0
  norm       = 22.1626
  Prefactor  = 4.59124
  Prefactor  = 5.58494
  norm       = 3.61895
  Prefactor  = 1.89128
  norm       = 5.66134
  Normalizat = 1.46503
  Prefactor  = 0.813128
e GAL_V02
Working on...
/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits.....................!
real 73.11
user 70.74
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits', '/lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits', expMap='/lscratch/kocevski/35803416/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', expCube='/lscratch/kocevski/35803416/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35803416/Model_4FGL_J1318.7-1234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35803416/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35803416/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35803416/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35803416/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35803416/Model_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.4037898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3262       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11571E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6473       1.0000          .0000       .10000E+07
     5 'norm      '    .48156       1.0000          .0000       .10000E+07
     6 'norm      '    .41287       1.0000          .0000       .10000E+07
     7 'norm      '    4.7662       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40174E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1316       1.0000          .0000       .10000E+07
    11 'norm      '    16.991       1.0000          .0000       .10000E+07
    12 'norm      '    1.4373       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1386       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41514E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.161       1.0000          .0000       .10000E+07
    17 'norm      '    4.4253       1.0000          .0000       .10000E+07
    18 'norm      '    .49760E-06   1.0000          .0000       .10000E+07
    19 'norm      '    22.179       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5879       1.0000          .0000       .10000E+07
    22 'norm      '    3.6180       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8742       1.0000          .0000       .10000E+07
    24 'norm      '    5.6787       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4651       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ****** **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK           524 CALLS     2297 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0356        1.4006        .40859E-02   -1.5217    
   2  Prefactor     3.3022        4.2725        .55476E-03   -1.5672    
   3  Prefactor     .13323E-08    19.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6658        53.377        .52870E-03   -1.5675    
   5  norm          .48168        .11893        .58321E-03   -1.5694    
   6  norm          .41792        3.6680        .88010E-03   -1.5695    
   7  norm          4.8076        2.6225        .46062E-03   -1.5664    
   8  Prefactor     3.2053        2.2687        .56515E-03   -1.5672    
   9  Prefactor     .66114E-07    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1315        .77502        .10972E-02   -1.5687    
  11  norm          16.994        6.3172        .24271E-03   -1.5626    
  12  norm          1.4345        2.7259        .89989E-03   -1.5684    
  13  Prefactor     3.1370        3.0076        .57196E-03   -1.5673    
  14  Prefactor     10.371        10.685        .31148E-03   -1.5644    
  15  Prefactor     .55511E-10    3.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.191        9.0182        .20784E-03   -1.5612    
  17  norm          4.4246        .97313        .47847E-03   -1.5666    
  18  norm           .0000        .69383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.163        4.6138        .21240E-03   -1.5614    
  20  Prefactor     4.5912        5.9926        .46709E-03   -1.5665    
  21  Prefactor     5.5849        4.7099        .42475E-03   -1.5661    
  22  norm          3.6190        2.0297        .53093E-03   -1.5670    
  23  Prefactor     1.8913        3.4410        .76035E-03   -1.5680    
  24  norm          5.6613        4.9959        .42129E-03   -1.5660    
  25  Normalizat    1.4650        .12279        .68338E-01   -.78766    
  26  Prefactor     .81313        .65453E-01    .43885E-01   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39903e-07
Minuit parameter uncertainties:
  1  1.40058
  2  4.27255
  3  0.000319321
  4  23.8577
  5  0.118926
  6  2.47626
  7  2.6225
  8  2.26872
  9  0.00281412
  10  0.775024
  11  6.31717
  12  2.72589
  13  3.00762
  14  10.685
  15  2.34589e-05
  16  9.01821
  17  0.973126
  18  1.44151e-06
  19  4.61377
  20  5.99261
  21  4.70995
  22  2.02972
  23  3.441
  24  4.99588
  25  0.122812
  26  0.0654597
****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0356        1.3991        .28861E-07    .11521E-03
   2  Prefactor     3.3022        4.2466       -.20710E-06   -.16942E-01
   3  Prefactor     .13323E-08    19.003        .32291E-07** at limit **
   4  Prefactor     2.6658        4.6980        .72770E-07    .18503E-01
   5  norm          .48168        .11830        .10185E-07    .46289E-02
   6  norm          .41792        3.7698        .10971E-06    .44319E-02
   7  norm          4.8076        2.5157       -.58205E-07   -.44942E-03
   8  Prefactor     3.2053        2.2568        .15319E-06    .18315E-02
   9  Prefactor     .66114E-07    28.764        .56399E-06** at limit **
  10  norm          1.1315        .76486        .27581E-08    .41674E-03
  11  norm          16.994        5.8054       -.45972E-07   -.15377E-01
  12  norm          1.4345        2.6790       -.47888E-07   -.19315E-04
  13  Prefactor     3.1370        2.9964        .10816E-06    .10885E-02
  14  Prefactor     10.371        2.4355        .19936E-06   -.12627    
  15  Prefactor     .55511E-10    3.5373       -.80637E-07** at limit **
  16  Prefactor     23.191        9.0194       -.11574E-07    .38412E-03
  17  norm          4.4246        .97538        .59578E-08    .66800E-03
  18  norm           .0000        .69392        .12114E-06** at limit **
  19  norm          22.163        4.5934       -.17829E-07   -.11897E-02
  20  Prefactor     4.5912        2.9403        .14913E-06    .25910E-01
  21  Prefactor     5.5849        3.8668        .43788E-06    .38335E-01
  22  norm          3.6190        2.0283       -.42485E-07   -.19076E-02
  23  Prefactor     1.8913        3.2650       -.19238E-06    .53964E-03
  24  norm          5.6613        4.7666       -.15171E-07   -.50301E-02
  25  Normalizat    1.4650        .14294       -.30731E-05    .10395E-04
  26  Prefactor     .81313        .75789E-01    .19041E-05    .66469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03563
  Prefactor  = 3.30219
  Prefactor  = 1.33227e-09
  Prefactor  = 2.66582
  norm       = 0.481681
  norm       = 0.417925
  norm       = 4.80764
  Prefactor  = 3.2053
  Prefactor  = 6.61138e-08
  norm       = 1.13149
  norm       = 16.9942
  norm       = 1.43448
  Prefactor  = 3.137
  Prefactor  = 10.3708
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1911
  norm       = 4.42458
  norm       = 0
  norm       = 22.1626
  Prefactor  = 4.59124
  Prefactor  = 5.58494
  norm       = 3.61895
  Prefactor  = 1.89128
  norm       = 5.66134
  Normalizat = 1.46503
  Prefactor  = 0.813128
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK           524 CALLS     2297 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0356        1.4006        .40859E-02   -1.5217    
   2  Prefactor     3.3022        4.2725        .55476E-03   -1.5672    
   3  Prefactor     .13323E-08    19.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6658        53.377        .52870E-03   -1.5675    
   5  norm          .48168        .11893        .58321E-03   -1.5694    
   6  norm          .41792        3.6680        .88010E-03   -1.5695    
   7  norm          4.8076        2.6225        .46062E-03   -1.5664    
   8  Prefactor     3.2053        2.2687        .56515E-03   -1.5672    
   9  Prefactor     .66114E-07    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1315        .77502        .10972E-02   -1.5687    
  11  norm          16.994        6.3172        .24271E-03   -1.5626    
  12  norm          1.4345        2.7259        .89989E-03   -1.5684    
  13  Prefactor     3.1370        3.0076        .57196E-03   -1.5673    
  14  Prefactor     10.371        10.685        .31148E-03   -1.5644    
  15  Prefactor     .55511E-10    3.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.191        9.0182        .20784E-03   -1.5612    
  17  norm          4.4246        .97313        .47847E-03   -1.5666    
  18  norm           .0000        .69383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.163        4.6138        .21240E-03   -1.5614    
  20  Prefactor     4.5912        5.9926        .46709E-03   -1.5665    
  21  Prefactor     5.5849        4.7099        .42475E-03   -1.5661    
  22  norm          3.6190        2.0297        .53093E-03   -1.5670    
  23  Prefactor     1.8913        3.4410        .76035E-03   -1.5680    
  24  norm          5.6613        4.9959        .42129E-03   -1.5660    
  25  Normalizat    1.4650        .12279        .68338E-01   -.78766    
  26  Prefactor     .81313        .65453E-01    .43885E-01   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39903e-07
Minuit parameter uncertainties:
  1  1.40058
  2  4.27255
  3  0.000319321
  4  23.8577
  5  0.118926
  6  2.47626
  7  2.6225
  8  2.26872
  9  0.00281412
  10  0.775024
  11  6.31717
  12  2.72589
  13  3.00762
  14  10.685
  15  2.34589e-05
  16  9.01821
  17  0.973126
  18  1.44151e-06
  19  4.61377
  20  5.99261
  21  4.70995
  22  2.02972
  23  3.441
  24  4.99588
  25  0.122812
  26  0.0654597
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK           524 CALLS     2297 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0356        1.4006        .40859E-02   -1.5217    
   2  Prefactor     3.3022        4.2725        .55476E-03   -1.5672    
   3  Prefactor     .13323E-08    19.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6658        53.377        .52870E-03   -1.5675    
   5  norm          .48168        .11893        .58321E-03   -1.5694    
   6  norm          .41792        3.6680        .88010E-03   -1.5695    
   7  norm          4.8076        2.6225        .46062E-03   -1.5664    
   8  Prefactor     3.2053        2.2687        .56515E-03   -1.5672    
   9  Prefactor     .66114E-07    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1315        .77502        .10972E-02   -1.5687    
  11  norm          16.994        6.3172        .24271E-03   -1.5626    
  12  norm          1.4345        2.7259        .89989E-03   -1.5684    
  13  Prefactor     3.1370        3.0076        .57196E-03   -1.5673    
  14  Prefactor     10.371        10.685        .31148E-03   -1.5644    
  15  Prefactor     .55511E-10    3.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.191        9.0182        .20784E-03   -1.5612    
  17  norm          4.4246        .97313        .47847E-03   -1.5666    
  18  norm           .0000        .69383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.163        4.6138        .21240E-03   -1.5614    
  20  Prefactor     4.5912        5.9926        .46709E-03   -1.5665    
  21  Prefactor     5.5849        4.7099        .42475E-03   -1.5661    
  22  norm          3.6190        2.0297        .53093E-03   -1.5670    
  23  Prefactor     1.8913        3.4410        .76035E-03   -1.5680    
  24  norm          5.6613        4.9959        .42129E-03   -1.5660    
  25  Normalizat    1.4650        .12279        .68338E-01   -.78766    
  26  Prefactor     .81313        .65453E-01    .43885E-01   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39903e-07
Minuit parameter uncertainties:
  1  1.40058
  2  4.27255
  3  0.000319321
  4  23.8577
  5  0.118926
  6  2.47626
  7  2.6225
  8  2.26872
  9  0.00281412
  10  0.775024
  11  6.31717
  12  2.72589
  13  3.00762
  14  10.685
  15  2.34589e-05
  16  9.01821
  17  0.973126
  18  1.44151e-06
  19  4.61377
  20  5.99261
  21  4.70995
  22  2.02972
  23  3.441
  24  4.99588
  25  0.122812
  26  0.0654597
e GAL_V02
Working on...
/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits.....................!
real 77.18
user 72.52
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits', '/lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits', expMap='/lscratch/kocevski/35803480/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', expCube='/lscratch/kocevski/35803480/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35803480/Model_4FGL_J1318.7-1234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35803480/ft1_filtered_4FGL_J1318.7-1234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35803480/ft2_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35803480/expmap_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35803480/ltcube_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35803480/Model_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.4037898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3262       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11571E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6473       1.0000          .0000       .10000E+07
     5 'norm      '    .48156       1.0000          .0000       .10000E+07
     6 'norm      '    .41287       1.0000          .0000       .10000E+07
     7 'norm      '    4.7662       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40174E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1316       1.0000          .0000       .10000E+07
    11 'norm      '    16.991       1.0000          .0000       .10000E+07
    12 'norm      '    1.4373       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1386       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.331       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41514E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.161       1.0000          .0000       .10000E+07
    17 'norm      '    4.4253       1.0000          .0000       .10000E+07
    18 'norm      '    .49760E-06   1.0000          .0000       .10000E+07
    19 'norm      '    22.179       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6380       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5879       1.0000          .0000       .10000E+07
    22 'norm      '    3.6180       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.8742       1.0000          .0000       .10000E+07
    24 'norm      '    5.6787       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4651       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ******Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.137e+00  3.008e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.131e-01  6.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 6.23e-06 +/- 5.98e-06

TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.05190846988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030698704612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35803182/likelihoodResults_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.3427847
delta logL = 1.0591098544e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.3427811
delta logL = 1.41719574458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      259 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1279        3.6591        .22919E-04    .46012E-02
   2  Index         2.1301        .80450        .13125E-01    .11031E-03
   3  Normalizat    1.4649        .13450        .30233E-03   -.18727E-03
   4  Prefactor     .81315        .74331E-01    .21673E-03   -.30067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12785
  Index      = 2.1301
  Normalizat = 1.46495
  Prefactor  = 0.813153
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1279        3.4523        .91677E-06   -1.5673    
   2  Index         2.1301        .75941        .52499E-03   -.61136    
   3  Normalizat    1.4649        .13442        .12093E-04   -.78768    
   4  Prefactor     .81315        .74349E-01    .86694E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5697e-10
Minuit parameter uncertainties:
  1  3.45235
  2  0.76383
  3  0.134454
  4  0.0743586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.342781
delta logL = 1.42768913065e-05

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.128e+00  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.130e+00  7.638e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.132e-01  7.436e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Free Index): 2.13 +/- 0.76
Photon Flux (Free Index): 1.21e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.21e-06 +/- 7.08e-06

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/35803182/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='6.21e-06', photon_flux_error='1.15e-08', dlogl='1.43e-05', energy_flux='6.23e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2026-08-25 10:20:53.594095', photon_index_error2='0.76', photon_index2='2.13', ts='2.28', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.05e-08', energy_flux_error2='7.08e-06', EG='1.47', time_epoch_completed='1787678453.59', return_code='0', job_id='35803182', GAL2='0.81', EG2='1.46', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.62e-08', ts2='2.28', photon_index='2.13' WHERE bin_id='942' AND source_name='4FGL J1318.7-1234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 10:20:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.137e+00  3.008e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.131e-01  6.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 6.23e-06 +/- 5.98e-06

TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.05190846988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030698704612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35803185/likelihoodResults_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.3427847
delta logL = 1.0591098544e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.3427811
delta logL = 1.41719574458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      259 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1279        3.6591        .22919E-04    .46012E-02
   2  Index         2.1301        .80450        .13125E-01    .11031E-03
   3  Normalizat    1.4649        .13450        .30233E-03   -.18727E-03
   4  Prefactor     .81315        .74331E-01    .21673E-03   -.30067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12785
  Index      = 2.1301
  Normalizat = 1.46495
  Prefactor  = 0.813153
****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1773 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0356        1.3991        .28861E-07    .11521E-03
   2  Prefactor     3.3022        4.2466       -.20710E-06   -.16942E-01
   3  Prefactor     .13323E-08    19.003        .32291E-07** at limit **
   4  Prefactor     2.6658        4.6980        .72770E-07    .18503E-01
   5  norm          .48168        .11830        .10185E-07    .46289E-02
   6  norm          .41792        3.7698        .10971E-06    .44319E-02
   7  norm          4.8076        2.5157       -.58205E-07   -.44942E-03
   8  Prefactor     3.2053        2.2568        .15319E-06    .18315E-02
   9  Prefactor     .66114E-07    28.764        .56399E-06** at limit **
  10  norm          1.1315        .76486        .27581E-08    .41674E-03
  11  norm          16.994        5.8054       -.45972E-07   -.15377E-01
  12  norm          1.4345        2.6790       -.47888E-07   -.19315E-04
  13  Prefactor     3.1370        2.9964        .10816E-06    .10885E-02
  14  Prefactor     10.371        2.4355        .19936E-06   -.12627    
  15  Prefactor     .55511E-10    3.5373       -.80637E-07** at limit **
  16  Prefactor     23.191        9.0194       -.11574E-07    .38412E-03
  17  norm          4.4246        .97538        .59578E-08    .66800E-03
  18  norm           .0000        .69392        .12114E-06** at limit **
  19  norm          22.163        4.5934       -.17829E-07   -.11897E-02
  20  Prefactor     4.5912        2.9403        .14913E-06    .25910E-01
  21  Prefactor     5.5849        3.8668        .43788E-06    .38335E-01
  22  norm          3.6190        2.0283       -.42485E-07   -.19076E-02
  23  Prefactor     1.8913        3.2650       -.19238E-06    .53964E-03
  24  norm          5.6613        4.7666       -.15171E-07   -.50301E-02
  25  Normalizat    1.4650        .14294       -.30731E-05    .10395E-04
  26  Prefactor     .81313        .75789E-01    .19041E-05    .66469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03563
  Prefactor  = 3.30219
  Prefactor  = 1.33227e-09
  Prefactor  = 2.66582
  norm       = 0.481681
  norm       = 0.417925
  norm       = 4.80764
  Prefactor  = 3.2053
  Prefactor  = 6.61138e-08
  norm       = 1.13149
  norm       = 16.9942
  norm       = 1.43448
  Prefactor  = 3.137
  Prefactor  = 10.3708
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1911
  norm       = 4.42458
  norm       = 0
  norm       = 22.1626
  Prefactor  = 4.59124
  Prefactor  = 5.58494
  norm       = 3.61895
  Prefactor  = 1.89128
  norm       = 5.66134
  Normalizat = 1.46503
  Prefactor  = 0.813128
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1279        3.4523        .91677E-06   -1.5673    
   2  Index         2.1301        .75941        .52499E-03   -.61136    
   3  Normalizat    1.4649        .13442        .12093E-04   -.78768    
   4  Prefactor     .81315        .74349E-01    .86694E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5697e-10
Minuit parameter uncertainties:
  1  3.45235
  2  0.76383
  3  0.134454
  4  0.0743586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.342781
delta logL = 1.42768913065e-05

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.128e+00  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.130e+00  7.638e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.132e-01  7.436e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Free Index): 2.13 +/- 0.76
Photon Flux (Free Index): 1.21e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.21e-06 +/- 7.08e-06

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/35803185/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='6.21e-06', photon_flux_error='1.15e-08', dlogl='1.43e-05', energy_flux='6.23e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2026-08-25 10:21:17.106887', photon_index_error2='0.76', photon_index2='2.13', ts='2.28', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.05e-08', energy_flux_error2='7.08e-06', EG='1.47', time_epoch_completed='1787678477.11', return_code='0', job_id='35803185', GAL2='0.81', EG2='1.46', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.62e-08', ts2='2.28', photon_index='2.13' WHERE bin_id='942' AND source_name='4FGL J1318.7-1234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 10:21:17 PDT 2026

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

 FCN=   25266.34     FROM HESSE     STATUS=OK           524 CALLS     2297 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0356        1.4006        .40859E-02   -1.5217    
   2  Prefactor     3.3022        4.2725        .55476E-03   -1.5672    
   3  Prefactor     .13323E-08    19.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6658        53.377        .52870E-03   -1.5675    
   5  norm          .48168        .11893        .58321E-03   -1.5694    
   6  norm          .41792        3.6680        .88010E-03   -1.5695    
   7  norm          4.8076        2.6225        .46062E-03   -1.5664    
   8  Prefactor     3.2053        2.2687        .56515E-03   -1.5672    
   9  Prefactor     .66114E-07    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1315        .77502        .10972E-02   -1.5687    
  11  norm          16.994        6.3172        .24271E-03   -1.5626    
  12  norm          1.4345        2.7259        .89989E-03   -1.5684    
  13  Prefactor     3.1370        3.0076        .57196E-03   -1.5673    
  14  Prefactor     10.371        10.685        .31148E-03   -1.5644    
  15  Prefactor     .55511E-10    3.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.191        9.0182        .20784E-03   -1.5612    
  17  norm          4.4246        .97313        .47847E-03   -1.5666    
  18  norm           .0000        .69383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.163        4.6138        .21240E-03   -1.5614    
  20  Prefactor     4.5912        5.9926        .46709E-03   -1.5665    
  21  Prefactor     5.5849        4.7099        .42475E-03   -1.5661    
  22  norm          3.6190        2.0297        .53093E-03   -1.5670    
  23  Prefactor     1.8913        3.4410        .76035E-03   -1.5680    
  24  norm          5.6613        4.9959        .42129E-03   -1.5660    
  25  Normalizat    1.4650        .12279        .68338E-01   -.78766    
  26  Prefactor     .81313        .65453E-01    .43885E-01   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39903e-07
Minuit parameter uncertainties:
  1  1.40058
  2  4.27255
  3  0.000319321
  4  23.8577
  5  0.118926
  6  2.47626
  7  2.6225
  8  2.26872
  9  0.00281412
  10  0.775024
  11  6.31717
  12  2.72589
  13  3.00762
  14  10.685
  15  2.34589e-05
  16  9.01821
  17  0.973126
  18  1.44151e-06
  19  4.61377
  20  5.99261
  21  4.70995
  22  2.02972
  23  3.441
  24  4.99588
  25  0.122812
  26  0.0654597
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.137e+00  3.008e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.131e-01  6.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 6.23e-06 +/- 5.98e-06

TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.05190846988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030698704612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35803278/likelihoodResults_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.3427847
delta logL = 1.0591098544e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.3427811
delta logL = 1.41719574458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      259 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1279        3.6591        .22919E-04    .46012E-02
   2  Index         2.1301        .80450        .13125E-01    .11031E-03
   3  Normalizat    1.4649        .13450        .30233E-03   -.18727E-03
   4  Prefactor     .81315        .74331E-01    .21673E-03   -.30067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12785
  Index      = 2.1301
  Normalizat = 1.46495
  Prefactor  = 0.813153
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1279        3.4523        .91677E-06   -1.5673    
   2  Index         2.1301        .75941        .52499E-03   -.61136    
   3  Normalizat    1.4649        .13442        .12093E-04   -.78768    
   4  Prefactor     .81315        .74349E-01    .86694E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5697e-10
Minuit parameter uncertainties:
  1  3.45235
  2  0.76383
  3  0.134454
  4  0.0743586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.342781
delta logL = 1.42768913065e-05

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.128e+00  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.130e+00  7.638e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.132e-01  7.436e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Free Index): 2.13 +/- 0.76
Photon Flux (Free Index): 1.21e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.21e-06 +/- 7.08e-06

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/35803278/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='6.21e-06', photon_flux_error='1.15e-08', dlogl='1.43e-05', energy_flux='6.23e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2026-08-25 10:21:47.186112', photon_index_error2='0.76', photon_index2='2.13', ts='2.28', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.05e-08', energy_flux_error2='7.08e-06', EG='1.47', time_epoch_completed='1787678507.19', return_code='0', job_id='35803278', GAL2='0.81', EG2='1.46', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.62e-08', ts2='2.28', photon_index='2.13' WHERE bin_id='942' AND source_name='4FGL J1318.7-1234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 10:21:47 PDT 2026

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

 FCN=   25266.34     FROM HESSE     STATUS=OK           524 CALLS     2297 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0356        1.4006        .40859E-02   -1.5217    
   2  Prefactor     3.3022        4.2725        .55476E-03   -1.5672    
   3  Prefactor     .13323E-08    19.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6658        53.377        .52870E-03   -1.5675    
   5  norm          .48168        .11893        .58321E-03   -1.5694    
   6  norm          .41792        3.6680        .88010E-03   -1.5695    
   7  norm          4.8076        2.6225        .46062E-03   -1.5664    
   8  Prefactor     3.2053        2.2687        .56515E-03   -1.5672    
   9  Prefactor     .66114E-07    29.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1315        .77502        .10972E-02   -1.5687    
  11  norm          16.994        6.3172        .24271E-03   -1.5626    
  12  norm          1.4345        2.7259        .89989E-03   -1.5684    
  13  Prefactor     3.1370        3.0076        .57196E-03   -1.5673    
  14  Prefactor     10.371        10.685        .31148E-03   -1.5644    
  15  Prefactor     .55511E-10    3.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.191        9.0182        .20784E-03   -1.5612    
  17  norm          4.4246        .97313        .47847E-03   -1.5666    
  18  norm           .0000        .69383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.163        4.6138        .21240E-03   -1.5614    
  20  Prefactor     4.5912        5.9926        .46709E-03   -1.5665    
  21  Prefactor     5.5849        4.7099        .42475E-03   -1.5661    
  22  norm          3.6190        2.0297        .53093E-03   -1.5670    
  23  Prefactor     1.8913        3.4410        .76035E-03   -1.5680    
  24  norm          5.6613        4.9959        .42129E-03   -1.5660    
  25  Normalizat    1.4650        .12279        .68338E-01   -.78766    
  26  Prefactor     .81313        .65453E-01    .43885E-01   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39903e-07
Minuit parameter uncertainties:
  1  1.40058
  2  4.27255
  3  0.000319321
  4  23.8577
  5  0.118926
  6  2.47626
  7  2.6225
  8  2.26872
  9  0.00281412
  10  0.775024
  11  6.31717
  12  2.72589
  13  3.00762
  14  10.685
  15  2.34589e-05
  16  9.01821
  17  0.973126
  18  1.44151e-06
  19  4.61377
  20  5.99261
  21  4.70995
  22  2.02972
  23  3.441
  24  4.99588
  25  0.122812
  26  0.0654597
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.137e+00  3.008e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.131e-01  6.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 6.23e-06 +/- 5.98e-06

TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.05190846988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030698704612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35803380/likelihoodResults_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.3427847
delta logL = 1.0591098544e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.3427811
delta logL = 1.41719574458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      259 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1279        3.6591        .22919E-04    .46012E-02
   2  Index         2.1301        .80450        .13125E-01    .11031E-03
   3  Normalizat    1.4649        .13450        .30233E-03   -.18727E-03
   4  Prefactor     .81315        .74331E-01    .21673E-03   -.30067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12785
  Index      = 2.1301
  Normalizat = 1.46495
  Prefactor  = 0.813153
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1279        3.4523        .91677E-06   -1.5673    
   2  Index         2.1301        .75941        .52499E-03   -.61136    
   3  Normalizat    1.4649        .13442        .12093E-04   -.78768    
   4  Prefactor     .81315        .74349E-01    .86694E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5697e-10
Minuit parameter uncertainties:
  1  3.45235
  2  0.76383
  3  0.134454
  4  0.0743586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.342781
delta logL = 1.42768913065e-05

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.128e+00  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.130e+00  7.638e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.132e-01  7.436e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Free Index): 2.13 +/- 0.76
Photon Flux (Free Index): 1.21e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.21e-06 +/- 7.08e-06

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/35803380/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='6.21e-06', photon_flux_error='1.15e-08', dlogl='1.43e-05', energy_flux='6.23e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2026-08-25 10:22:46.590511', photon_index_error2='0.76', photon_index2='2.13', ts='2.28', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.05e-08', energy_flux_error2='7.08e-06', EG='1.47', time_epoch_completed='1787678566.59', return_code='0', job_id='35803380', GAL2='0.81', EG2='1.46', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.62e-08', ts2='2.28', photon_index='2.13' WHERE bin_id='942' AND source_name='4FGL J1318.7-1234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 10:22:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.137e+00  3.008e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.131e-01  6.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 6.23e-06 +/- 5.98e-06

TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.05190846988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030698704612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35803338/likelihoodResults_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.3427847
delta logL = 1.0591098544e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.3427811
delta logL = 1.41719574458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      259 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1279        3.6591        .22919E-04    .46012E-02
   2  Index         2.1301        .80450        .13125E-01    .11031E-03
   3  Normalizat    1.4649        .13450        .30233E-03   -.18727E-03
   4  Prefactor     .81315        .74331E-01    .21673E-03   -.30067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12785
  Index      = 2.1301
  Normalizat = 1.46495
  Prefactor  = 0.813153
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1279        3.4523        .91677E-06   -1.5673    
   2  Index         2.1301        .75941        .52499E-03   -.61136    
   3  Normalizat    1.4649        .13442        .12093E-04   -.78768    
   4  Prefactor     .81315        .74349E-01    .86694E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5697e-10
Minuit parameter uncertainties:
  1  3.45235
  2  0.76383
  3  0.134454
  4  0.0743586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.342781
delta logL = 1.42768913065e-05

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.128e+00  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.130e+00  7.638e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.132e-01  7.436e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Free Index): 2.13 +/- 0.76
Photon Flux (Free Index): 1.21e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.21e-06 +/- 7.08e-06

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/35803338/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='6.21e-06', photon_flux_error='1.15e-08', dlogl='1.43e-05', energy_flux='6.23e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2026-08-25 10:22:53.570755', photon_index_error2='0.76', photon_index2='2.13', ts='2.28', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.05e-08', energy_flux_error2='7.08e-06', EG='1.47', time_epoch_completed='1787678573.57', return_code='0', job_id='35803338', GAL2='0.81', EG2='1.46', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.62e-08', ts2='2.28', photon_index='2.13' WHERE bin_id='942' AND source_name='4FGL J1318.7-1234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 10:22:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.137e+00  3.008e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.131e-01  6.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 6.23e-06 +/- 5.98e-06

TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.05190846988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030698704612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35803416/likelihoodResults_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.3427847
delta logL = 1.0591098544e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.3427811
delta logL = 1.41719574458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      259 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1279        3.6591        .22919E-04    .46012E-02
   2  Index         2.1301        .80450        .13125E-01    .11031E-03
   3  Normalizat    1.4649        .13450        .30233E-03   -.18727E-03
   4  Prefactor     .81315        .74331E-01    .21673E-03   -.30067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12785
  Index      = 2.1301
  Normalizat = 1.46495
  Prefactor  = 0.813153
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1279        3.4523        .91677E-06   -1.5673    
   2  Index         2.1301        .75941        .52499E-03   -.61136    
   3  Normalizat    1.4649        .13442        .12093E-04   -.78768    
   4  Prefactor     .81315        .74349E-01    .86694E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5697e-10
Minuit parameter uncertainties:
  1  3.45235
  2  0.76383
  3  0.134454
  4  0.0743586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.342781
delta logL = 1.42768913065e-05

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.128e+00  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.130e+00  7.638e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.132e-01  7.436e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Free Index): 2.13 +/- 0.76
Photon Flux (Free Index): 1.21e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.21e-06 +/- 7.08e-06

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/35803416/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='6.21e-06', photon_flux_error='1.15e-08', dlogl='1.43e-05', energy_flux='6.23e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2026-08-25 10:23:42.412300', photon_index_error2='0.76', photon_index2='2.13', ts='2.28', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.05e-08', energy_flux_error2='7.08e-06', EG='1.47', time_epoch_completed='1787678622.41', return_code='0', job_id='35803416', GAL2='0.81', EG2='1.46', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.62e-08', ts2='2.28', photon_index='2.13' WHERE bin_id='942' AND source_name='4FGL J1318.7-1234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 10:23:42 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.137e+00  3.008e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.131e-01  6.546e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 6.23e-06 +/- 5.98e-06

TS (Fixed Index): 2.28
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.05190846988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030698704612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35803480/likelihoodResults_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.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) = 25266.3427847
delta logL = 1.0591098544e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.3427811
delta logL = 1.41719574458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25266.34     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      259 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1279        3.6591        .22919E-04    .46012E-02
   2  Index         2.1301        .80450        .13125E-01    .11031E-03
   3  Normalizat    1.4649        .13450        .30233E-03   -.18727E-03
   4  Prefactor     .81315        .74331E-01    .21673E-03   -.30067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12785
  Index      = 2.1301
  Normalizat = 1.46495
  Prefactor  = 0.813153
 **********
 **   18 **HESSE 
 **********

 FCN=   25266.34     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1279        3.4523        .91677E-06   -1.5673    
   2  Index         2.1301        .75941        .52499E-03   -.61136    
   3  Normalizat    1.4649        .13442        .12093E-04   -.78768    
   4  Prefactor     .81315        .74349E-01    .86694E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5697e-10
Minuit parameter uncertainties:
  1  3.45235
  2  0.76383
  3  0.134454
  4  0.0743586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25266.342781
delta logL = 1.42768913065e-05

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.128e+00  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.130e+00  7.638e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.132e-01  7.436e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.465e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 199.694 -12.581
Photon Index (Free Index): 2.13 +/- 0.76
Photon Flux (Free Index): 1.21e-08 +/- 1.62e-08
Energy Flux (Free Index): 6.21e-06 +/- 7.08e-06

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/35803480/cmap_HighResolution_808704001_809308801_4FGL_J1318.7-1234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='6.21e-06', photon_flux_error='1.15e-08', dlogl='1.43e-05', energy_flux='6.23e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2026-08-25 10:24:56.183144', photon_index_error2='0.76', photon_index2='2.13', ts='2.28', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.05e-08', energy_flux_error2='7.08e-06', EG='1.47', time_epoch_completed='1787678696.18', return_code='0', job_id='35803480', GAL2='0.81', EG2='1.46', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.62e-08', ts2='2.28', photon_index='2.13' WHERE bin_id='942' AND source_name='4FGL J1318.7-1234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 10:24:56 PDT 2026

