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


Performing analysis on: 4FGL_J0318.7+2135_weekly_bin946
RA = 49.6946, Dec = 21.5968
tmin = 811123201, tmax = 811728001
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='38784251', job_status='RUN', time_executed='2026-09-22 02:43:44.793394', time_epoch_executed='1790070224.79' WHERE source_name='4FGL J0318.7+2135' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38784251

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38784251/ft1_4FGL_J0318.7+2135_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38784251/ft1_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784251/ft1_filteredMKT_4FGL_J0318.7+2135_weekly_bin946.fits ra=49.6946 dec=21.5968 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.62
user 4.27
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.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/38784251/ft1_filteredMKT_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.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.59
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 3295

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.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).

 outfile=/lscratch/kocevski/38783844/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783844/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 20.05
user 19.13
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38783844/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783844/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38783844/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783844/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783844/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 73.19
user 68.11
sys 4.34

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38783844/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783844/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783844/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.62
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38783844/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783844/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783844/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38783844/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783844/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38783844/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J0318.7+2135_weekly_bin946
RA = 49.6946, Dec = 21.5968
tmin = 811123201, tmax = 811728001
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='38784258', job_status='RUN', time_executed='2026-09-22 02:43:52.846027', time_epoch_executed='1790070232.85' WHERE source_name='4FGL J0318.7+2135' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38784258

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38784258/ft1_4FGL_J0318.7+2135_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38784258/ft1_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784258/ft1_filteredMKT_4FGL_J0318.7+2135_weekly_bin946.fits ra=49.6946 dec=21.5968 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.68
user 4.11
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.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/38784258/ft1_filteredMKT_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.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.52
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 3295

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38783891/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783891/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 18.84
user 18.22
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38783891/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783891/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38783891/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783891/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783891/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 71.20
user 66.56
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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38783891/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783891/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783891/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.50
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38783891/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783891/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783891/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.51
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38783891/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783891/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38783891/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J0318.7+2135_weekly_bin946
RA = 49.6946, Dec = 21.5968
tmin = 811123201, tmax = 811728001
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='38784305', job_status='RUN', time_executed='2026-09-22 02:44:50.340358', time_epoch_executed='1790070290.34' WHERE source_name='4FGL J0318.7+2135' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38784305

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38784305/ft1_4FGL_J0318.7+2135_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38784305/ft1_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784305/ft1_filteredMKT_4FGL_J0318.7+2135_weekly_bin946.fits ra=49.6946 dec=21.5968 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.77
user 4.31
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.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/38784305/ft1_filteredMKT_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.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.46
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 3295

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38783936/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783936/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 19.59
user 18.98
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38783936/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783936/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38783936/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783936/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783936/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 71.51
user 66.86
sys 4.17

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38783936/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783936/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783936/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.51
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38783936/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783936/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783936/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.50
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38783936/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783936/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38783936/Model_4FGL_J0318.7+2135_weekly_bin946.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/38783937/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783937/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 19.58
user 18.91
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38783937/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783937/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38783937/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783937/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38783937/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 72.53
user 67.04
sys 4.49

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38783937/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783937/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783937/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38783937/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38783937/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38783937/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.50
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38783937/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38783937/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38783937/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/38784033/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784033/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 20.93
user 20.21
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38784033/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784033/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38784033/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784033/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784033/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 75.66
user 70.90
sys 4.33

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38784033/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784033/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784033/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38784033/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784033/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784033/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.56
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38784033/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784033/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38784033/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source outfile=/lscratch/kocevski/38784105/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784105/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 19.98
user 19.31
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38784105/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784105/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38784105/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784105/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784105/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 73.38
user 67.75
sys 4.24

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38784105/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784105/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784105/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.53
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38784105/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784105/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784105/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38784105/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784105/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38784105/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38783844/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 211.49
user 208.63
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38783844/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38783844/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38783844/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38783844/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38783844/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38783844/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38783844/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38783844/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38783844/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38783844/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
 outfile=/lscratch/kocevski/38784226/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784226/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 19.89
user 19.38
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38784226/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784226/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38784226/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784226/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784226/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 73.82
user 68.95
sys 4.27

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38784226/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784226/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784226/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.59
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38784226/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784226/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784226/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.51
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38784226/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784226/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38784226/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38783891/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 219.81
user 216.96
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38783891/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38783891/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38783891/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38783891/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38783891/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38783891/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38783891/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38783891/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38783891/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38783891/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
 **********
 **   18 **HESSE 
 **********

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
 outfile=/lscratch/kocevski/38784251/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 19.71
user 19.30
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38784251/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784251/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784251/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 73.87
user 68.91
sys 4.27

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784251/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.58
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784251/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.61
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38784251/Model_4FGL_J0318.7+2135_weekly_bin946.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/38784258/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 19.42
user 18.85
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38784258/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784258/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784258/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 71.84
user 66.93
sys 4.08

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784258/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.59
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784258/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.53
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38784258/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38783936/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 218.23
user 215.29
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38783936/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38783936/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38783936/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38783936/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38783936/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38783936/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38783936/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38783936/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38783936/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38783936/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
e GAL_V02
Working on...
/lscratch/kocevski/38783937/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 221.61
user 216.21
sys 2.44

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38783937/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38783937/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38783937/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38783937/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38783937/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38783937/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38783937/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38783937/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38783937/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38783937/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
 **********
 **   18 **HESSE 
 **********

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
 outfile=/lscratch/kocevski/38784305/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 20.70
user 20.08
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38784305/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784305/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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/38784305/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
.....................!
real 74.26
user 69.45
sys 4.32

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784305/cmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits scfile=/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits outfile=/lscratch/kocevski/38784305/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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=49.6946 yref=21.5968 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.49
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38784305/Model_4FGL_J0318.7+2135_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
 **********
 **   18 **HESSE 
 **********

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
 GAL_V02
Working on...
/lscratch/kocevski/38784033/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 218.65
user 216.17
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38784033/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38784033/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38784033/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38784033/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38784033/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38784033/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38784033/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38784033/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38784033/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38784033/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
e GAL_V02
Working on...
/lscratch/kocevski/38784105/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 210.83
user 208.11
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38784105/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38784105/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38784105/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38784105/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38784105/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38784105/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38784105/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38784105/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38784105/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38784105/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38783844/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38783844/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:52:49.248879', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790070769.25', return_code='0', job_id='38783844', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:52:49 PDT 2026

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

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
 **********
 **   18 **HESSE 
 **********

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38783891/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
e GAL_V02
Working on...
/lscratch/kocevski/38784226/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 218.95
user 216.21
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38784226/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38784226/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38784226/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38784226/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38784226/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38784226/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38784226/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38784226/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38784226/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38784226/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38783891/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:53:41.104983', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790070821.11', return_code='0', job_id='38783891', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:53:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38783936/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
e GAL_V02
Working on...
/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 218.12
user 215.31
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38784251/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38784251/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38784251/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38784251/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38784251/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38784251/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38784251/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38784251/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38783936/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:54:10.780459', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790070850.78', return_code='0', job_id='38783936', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:54:10 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 210.99
user 208.22
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38784258/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38784258/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38784258/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38784258/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38784258/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38784258/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38784258/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38784258/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38783937/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38783937/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:54:28.910317', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790070868.91', return_code='0', job_id='38783937', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:54:28 PDT 2026

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

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
 **********
 **   18 **HESSE 
 **********

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
 **********
 **   18 **HESSE 
 **********

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
e GAL_V02
Working on...
/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits.....................!
real 218.66
user 216.13
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits', '/lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits', expMap='/lscratch/kocevski/38784305/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', expCube='/lscratch/kocevski/38784305/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38784305/Model_4FGL_J0318.7+2135_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38784305/ft1_filtered_4FGL_J0318.7+2135_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38784305/ft2_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38784305/expmap_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38784305/ltcube_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38784305/Model_4FGL_J0318.7+2135_weekly_bin946.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) = 35409.889886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
     2 'norm      '    1.9843       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87147E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .45526       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.135       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.059       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20167E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13239E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .39091E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .24827E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .99224       1.0000          .0000       .10000E+07
    14 'norm      '    .56996       1.0000          .0000       .10000E+07
    15 'norm      '    .36876E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .16876E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.1352       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98280       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   35409.02     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1155 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10991E-07    191.43        .29101E-05** at limit **
   2  norm          1.9840        .98725        .19474E-06    .59366E-02
   3  Prefactor     .22204E-09    4.9536        .64164E-06** at limit **
   4  norm          .45376        .34768       -.24746E-06   -.68139E-03
   5  Prefactor     26.347        12.092        .44621E-06   -.37469E-01
   6  Prefactor     12.458        15.928        .27893E-05   -.18163E-01
   7  Prefactor      .0000        7.7345       -.68290E-06** at limit **
   8  Prefactor     .11491E-07    24.798        .12419E-05** at limit **
   9  norm           .0000        1.7300        .19852E-06** at limit **
  10  norm           .0000        2.1670       -.57578E-06** at limit **
  11  Prefactor     4.1668        2.9832        .14953E-06    .16517E-02
  12  Prefactor      .0000        2.4747        .14816E-06** at limit **
  13  norm          .99037        1.2169       -.10328E-06    .59724E-03
  14  norm          .56892        1.0119        .11743E-06   -.24587E-02
  15  norm          .55511E-10    .75416       -.68031E-07** at limit **
  16  norm          .84932E-08    16.888       -.32039E-05** at limit **
  17  Prefactor     6.3085        5.4462       -.14663E-05   -.53365E-01
  18  Normalizat    .98385        .14285       -.19704E-04   -.11407E-03
  19  Prefactor     1.0064        .42248E-01    .49042E-05   -.46370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09912e-08
  norm       = 1.98399
  Prefactor  = 2.22045e-10
  norm       = 0.453764
  Prefactor  = 26.3465
  Prefactor  = 12.4577
  Prefactor  = 0
  Prefactor  = 1.14908e-08
  norm       = 0
  norm       = 0
  Prefactor  = 4.16677
  Prefactor  = 0
  norm       = 0.990373
  norm       = 0.568918
  norm       = 5.55112e-11
  norm       = 8.49321e-09
  Prefactor  = 6.30847
  Normalizat = 0.983849
  Prefactor  = 1.00642
Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38784033/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38784033/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:55:58.124988', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790070958.13', return_code='0', job_id='38784033', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:55:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38784105/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
 **********
 **   18 **HESSE 
 **********

 FCN=   35409.02     FROM HESSE     STATUS=OK           306 CALLS     1461 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10991E-07    189.42        .69790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9840        .99150        .73539E-03   -1.5680    
   3  Prefactor     .22204E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45376        .36639        .83344E-03   -1.5694    
   5  Prefactor     26.347        13.060        .19565E-03   -1.5605    
   6  Prefactor     12.458        16.730        .27693E-03   -1.5637    
   7  Prefactor      .0000        7.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11491E-07    24.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1668        3.0088        .49345E-03   -1.5667    
  12  Prefactor      .0000        2.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99037        1.2319        .43490E-03   -1.5688    
  14  norm          .56892        1.0108        .71963E-03   -1.5693    
  15  norm          .55511E-10    .75945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84932E-08    17.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3085        11.906        .40508E-03   -1.5658    
  18  Normalizat    .98385        .13179        .10866       -.93573    
  19  Prefactor     1.0064        .38433E-01    .32120E-01   -.92516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96033e-08
Minuit parameter uncertainties:
  1  0.00288247
  2  0.9915
  3  6.75223e-05
  4  0.366392
  5  13.0597
  6  16.7296
  7  1.70131e-05
  8  0.00105988
  9  2.30644e-06
  10  1.45066e-05
  11  3.00879
  12  1.46596e-05
  13  1.23187
  14  1.01081
  15  1.43127e-05
  16  0.00076146
  17  11.9063
  18  0.131834
  19  0.0384344
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38784105/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:56:05.881879', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790070965.88', return_code='0', job_id='38784105', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:56:05 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38784226/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38784226/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:57:21.456539', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790071041.46', return_code='0', job_id='38784226', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:57:21 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38784251/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38784251/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:57:47.879879', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790071067.88', return_code='0', job_id='38784251', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:57:47 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38784258/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38784258/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:58:01.970022', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790071081.97', return_code='0', job_id='38784258', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:58:02 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  4.167e+00  3.009e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.006e+00  3.843e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.838e-01  1.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.01e-05

TS (Fixed Index): 3.69
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 5.91913727244e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00446229100179 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38784305/likelihoodResults_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.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) = 35408.8383786
delta logL = 0.184955501245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35408.8123369
delta logL = 0.210997254959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1580       1.0000          .0000       .10000E+07
     2 'Index     '    2.4321       1.0000          .0000       10.000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   35408.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1567        4.1339        .19327E-04    .35293E-03
   2  Index         2.4319        .77174        .10164E-01    .12837E-03
   3  Normalizat    .96365        .14686        .48619E-03    .93532E-06
   4  Prefactor     1.0090        .42327E-01    .14177E-03   -.12831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15673
  Index      = 2.43193
  Normalizat = 0.963655
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   35408.81     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1567        2.9589        .77310E-06   -1.5672    
   2  Index         2.4319        .55239        .40655E-03   -.53939    
   3  Normalizat    .96365        .14393        .19448E-04   -.94258    
   4  Prefactor     1.0090        .42029E-01    .56707E-05   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65786e-13
Minuit parameter uncertainties:
  1  2.95892
  2  0.553932
  3  0.143986
  4  0.0420306
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) = 35408.8123359
delta logL = 0.210998266586

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  3.157e+00  2.959e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.432e+00  5.539e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.009e+00  4.203e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.637e-01  1.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 49.695 21.597
Photon Index (Free Index): 2.43 +/- 0.55
Photon Flux (Free Index): 4.14e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.30e-05 +/- 7.94e-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/38784305/cmap_HighResolution_811123201_811728001_4FGL_J0318.7+2135_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='1.30e-05', photon_flux_error='1.69e-08', dlogl='2.11e-01', energy_flux='1.39e-05', photon_flux2='4.14e-08', job_status='DONE', time_completed='2026-09-22 02:59:05.283617', photon_index_error2='0.55', photon_index2='2.43', ts='3.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='7.94e-06', EG='0.98', time_epoch_completed='1790071145.28', return_code='0', job_id='38784305', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.56e-08', ts2='4.14', photon_index='2.06' WHERE bin_id='946' AND source_name='4FGL J0318.7+2135' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 02:59:05 PDT 2026

