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


Performing analysis on: 4FGL_J0218.9-2305_weekly_bin945
RA = 34.731, Dec = -23.0986
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38279430', job_status='RUN', time_executed='2026-09-15 01:50:42.838663', time_epoch_executed='1789462242.84' WHERE source_name='4FGL J0218.9-2305' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279430

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279430/ft1_4FGL_J0218.9-2305_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279430/ft1_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279430/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.24
user 5.56
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38279430/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1370

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA"number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0218.9-2305_weekly_bin945
RA = 34.731, Dec = -23.0986
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38279452', job_status='RUN', time_executed='2026-09-15 01:50:43.936436', time_epoch_executed='1789462243.94' WHERE source_name='4FGL J0218.9-2305' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279452

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279452/ft1_4FGL_J0218.9-2305_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279452/ft1_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279452/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.38
user 5.72
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38279452/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1370

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

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

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

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

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

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

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


Performing analysis on: 4FGL_J0218.9-2305_weekly_bin945
RA = 34.731, Dec = -23.0986
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38279482', job_status='RUN', time_executed='2026-09-15 01:51:44.431269', time_epoch_executed='1789462304.43' WHERE source_name='4FGL J0218.9-2305' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279482

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279482/ft1_4FGL_J0218.9-2305_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279482/ft1_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279482/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.81
user 5.33
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38279482/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1370

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38279430/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 19.25
user 18.53
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279430/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279430/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38279430/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 71.93
user 67.13
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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0218.9-2305 @ 34.731 -23.0986

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279430/cmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=34.731 yref=-23.0986 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279430/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=34.731 yref=-23.0986 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fi outfile=/lscratch/kocevski/38279452/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 19.71
user 18.98
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279452/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279452/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38279452/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 75.49
user 70.56
sys 4.23

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0218.9-2305 @ 34.731 -23.0986

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279452/cmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=34.731 yref=-23.0986 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279452/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=34.731 yref=-23.0986 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.finumber of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0218.9-2305_weekly_bin945
RA = 34.731, Dec = -23.0986
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38279509', job_status='RUN', time_executed='2026-09-15 01:52:41.343851', time_epoch_executed='1789462361.34' WHERE source_name='4FGL J0218.9-2305' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279509

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279509/ft1_4FGL_J0218.9-2305_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279509/ft1_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279509/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.73
user 5.26
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38279509/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1370

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38279482/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 17.75
user 17.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279482/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279482/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38279482/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 68.35
user 63.65
sys 3.95

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0218.9-2305 @ 34.731 -23.0986

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279482/cmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=34.731 yref=-23.0986 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279482/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=34.731 yref=-23.0986 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fi outfile=/lscratch/kocevski/38279509/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 17.91
user 17.37
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279509/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279509/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38279509/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
.....................!
real 70.05
user 65.12
sys 4.19

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0218.9-2305 @ 34.731 -23.0986

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279509/cmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=34.731 yref=-23.0986 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.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits scfile=/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits outfile=/lscratch/kocevski/38279509/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=34.731 yref=-23.0986 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.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279430/Model_4FGL_J0218.9-2305_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits.....................!
real 113.44
user 111.41
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits', '/lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits', expMap='/lscratch/kocevski/38279430/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', expCube='/lscratch/kocevski/38279430/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279430/Model_4FGL_J0218.9-2305_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0218.9-2305'

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.106e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279430/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279430/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279430/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279430/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279430/Model_4FGL_J0218.9-2305_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17771E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .30642E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.7857       1.0000          .0000       .10000E+07
     4 'norm      '    2.4992       1.0000          .0000       .10000E+07
     5 'Prefactor '    .68279E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45230E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4650       1.0000          .0000       .10000E+07
     9 'norm      '    11.776       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0831       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29172E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45964E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .50160E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33857       1.0000          .0000       .10000E+07
    15 'norm      '    2.7782       1.0000          .0000       .10000E+07
    16 'norm      '    5.4767       1.0000          .0000       .10000E+07
    17 'Normalizat'    .93957       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93932       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1303 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .58425         .0000    ** at limit **
   2  norm           .0000        .33519         .0000    ** at limit **
   3  Prefactor     8.8617        12.728         .0000       -.82677E-02
   4  norm          2.4994        1.0757         .0000        .71426E-02
   5  Prefactor      .0000        .93768         .0000    ** at limit **
   6  Prefactor      .0000        4.9749         .0000    ** at limit **
   7  Prefactor      .0000        .48088         .0000    ** at limit **
   8  Prefactor     1.4871        3.0527         .0000        .14778E-01
   9  norm          11.401        18.697         .0000        .73302E-03
  10  Prefactor     2.0742        3.8631         .0000        .46942    
  11  Prefactor      .0000        5.9727         .0000    ** at limit **
  12  Prefactor      .0000        10.926         .0000    ** at limit **
  13  Prefactor     .55511E-10    6.7984         .0000    ** at limit **
  14  Prefactor     .33830        .86613         .0000        .29100E-01
  15  norm          2.7781        .96115         .0000        .49139E-02
  16  norm          5.4761        1.7905         .0000        .18591E-02
  17  Normalizat    .93961        .91808E-01     .0000       -.59442E-05
  18  Prefactor     .93942        .10446         .0000        .46040E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 8.86167
  norm       = 2.49939
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.48706
  norm       = 11.4015
  Prefactor  = 2.07421
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.338304
  norm       = 2.77814
  norm       = 5.47609
  Normalizat = 0.939609
  Prefactor  = 0.939421
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279452/Model_4FGL_J0218.9-2305_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits.....................!
real 115.37
user 113.75
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits', '/lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits', expMap='/lscratch/kocevski/38279452/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', expCube='/lscratch/kocevski/38279452/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279452/Model_4FGL_J0218.9-2305_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0218.9-2305'

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.106e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279452/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279452/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279452/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279452/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279452/Model_4FGL_J0218.9-2305_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17771E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .30642E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.7857       1.0000          .0000       .10000E+07
     4 'norm      '    2.4992       1.0000          .0000       .10000E+07
     5 'Prefactor '    .68279E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45230E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4650       1.0000          .0000       .10000E+07
     9 'norm      '    11.776       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0831       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29172E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45964E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .50160E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33857       1.0000          .0000       .10000E+07
    15 'norm      '    2.7782       1.0000          .0000       .10000E+07
    16 'norm      '    5.4767       1.0000          .0000       .10000E+07
    17 'Normalizat'    .93957       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93932       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1303 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .58425         .0000    ** at limit **
   2  norm           .0000        .33519         .0000    ** at limit **
   3  Prefactor     8.8617        12.728         .0000       -.82677E-02
   4  norm          2.4994        1.0757         .0000        .71426E-02
   5  Prefactor      .0000        .93768         .0000    ** at limit **
   6  Prefactor      .0000        4.9749         .0000    ** at limit **
   7  Prefactor      .0000        .48088         .0000    ** at limit **
   8  Prefactor     1.4871        3.0527         .0000        .14778E-01
   9  norm          11.401        18.697         .0000        .73302E-03
  10  Prefactor     2.0742        3.8631         .0000        .46942    
  11  Prefactor      .0000        5.9727         .0000    ** at limit **
  12  Prefactor      .0000        10.926         .0000    ** at limit **
  13  Prefactor     .55511E-10    6.7984         .0000    ** at limit **
  14  Prefactor     .33830        .86613         .0000        .29100E-01
  15  norm          2.7781        .96115         .0000        .49139E-02
  16  norm          5.4761        1.7905         .0000        .18591E-02
  17  Normalizat    .93961        .91808E-01     .0000       -.59442E-05
  18  Prefactor     .93942        .10446         .0000        .46040E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 8.86167
  norm       = 2.49939
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.48706
  norm       = 11.4015
  Prefactor  = 2.07421
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.338304
  norm       = 2.77814
  norm       = 5.47609
  Normalizat = 0.939609
  Prefactor  = 0.939421
 **********
 **   18 **HESSE 
 **********

 FCN=   15096.48     FROM HESSE     STATUS=OK           246 CALLS     1549 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59477        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .33640        .69461E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8617        12.726        .13517E-04   -1.5648    
   4  norm          2.4994        1.0736        .79706E-05   -1.5676    
   5  Prefactor      .0000        .94064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.9981        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .48116        .83201E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4871        2.9772        .27586E-04   -1.5684    
   9  norm          11.401        18.474        .11667E-04   -1.5640    
  10  Prefactor     2.0742        3.8682        .14303E-03   -1.5679    
  11  Prefactor      .0000        5.9747        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.929        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    6.8029        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33830        .98831        .17738E-03   -1.5696    
  15  norm          2.7781        .95980        .68072E-05   -1.5675    
  16  norm          5.4761        1.7899        .91044E-05   -1.5661    
  17  Normalizat    .93961        .10802        .20992E-03   -.95082    
  18  Prefactor     .93942        .12310        .24496E-03   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3619e-08
Minuit parameter uncertainties:
  1  1.41965e-07
  2  5.60584e-08
  3  12.7258
  4  1.07362
  5  1.02252e-06
  6  1.16599e-06
  7  4.66953e-07
  8  2.97719
  9  18.4738
  10  3.86824
  11  2.29875e-05
  12  1.24241e-05
  13  3.30053e-05
  14  0.988308
  15  0.959801
  16  1.78988
  17  0.108045
  18  0.123137
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279482/Model_4FGL_J0218.9-2305_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits.....................!
real 108.27
user 106.56
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits', '/lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits', expMap='/lscratch/kocevski/38279482/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', expCube='/lscratch/kocevski/38279482/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279482/Model_4FGL_J0218.9-2305_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0218.9-2305'

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.106e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279482/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279482/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279482/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279482/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279482/Model_4FGL_J0218.9-2305_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17771E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .30642E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.7857       1.0000          .0000       .10000E+07
     4 'norm      '    2.4992       1.0000          .0000       .10000E+07
     5 'Prefactor '    .68279E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45230E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4650       1.0000          .0000       .10000E+07
     9 'norm      '    11.776       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0831       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29172E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45964E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .50160E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33857       1.0000          .0000       .10000E+07
    15 'norm      '    2.7782       1.0000          .0000       .10000E+07
    16 'norm      '    5.4767       1.0000          .0000       .10000E+07
    17 'Normalizat'    .93957       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93932       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1303 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .58425         .0000    ** at limit **
   2  norm           .0000        .33519         .0000    ** at limit **
   3  Prefactor     8.8617        12.728         .0000       -.82677E-02
   4  norm          2.4994        1.0757         .0000        .71426E-02
   5  Prefactor      .0000        .93768         .0000    ** at limit **
   6  Prefactor      .0000        4.9749         .0000    ** at limit **
   7  Prefactor      .0000        .48088         .0000    ** at limit **
   8  Prefactor     1.4871        3.0527         .0000        .14778E-01
   9  norm          11.401        18.697         .0000        .73302E-03
  10  Prefactor     2.0742        3.8631         .0000        .46942    
  11  Prefactor      .0000        5.9727         .0000    ** at limit **
  12  Prefactor      .0000        10.926         .0000    ** at limit **
  13  Prefactor     .55511E-10    6.7984         .0000    ** at limit **
  14  Prefactor     .33830        .86613         .0000        .29100E-01
  15  norm          2.7781        .96115         .0000        .49139E-02
  16  norm          5.4761        1.7905         .0000        .18591E-02
  17  Normalizat    .93961        .91808E-01     .0000       -.59442E-05
  18  Prefactor     .93942        .10446         .0000        .46040E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 8.86167
  norm       = 2.49939
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.48706
  norm       = 11.4015
  Prefactor  = 2.07421
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.338304
  norm       = 2.77814
  norm       = 5.47609
  Normalizat = 0.939609
  Prefactor  = 0.939421
 **********
 **   18 **HESSE 
 **********

 FCN=   15096.48     FROM HESSE     STATUS=OK           246 CALLS     1549 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59477        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .33640        .69461E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8617        12.726        .13517E-04   -1.5648    
   4  norm          2.4994        1.0736        .79706E-05   -1.5676    
   5  Prefactor      .0000        .94064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.9981        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .48116        .83201E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4871        2.9772        .27586E-04   -1.5684    
   9  norm          11.401        18.474        .11667E-04   -1.5640    
  10  Prefactor     2.0742        3.8682        .14303E-03   -1.5679    
  11  Prefactor      .0000        5.9747        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.929        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    6.8029        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33830        .98831        .17738E-03   -1.5696    
  15  norm          2.7781        .95980        .68072E-05   -1.5675    
  16  norm          5.4761        1.7899        .91044E-05   -1.5661    
  17  Normalizat    .93961        .10802        .20992E-03   -.95082    
  18  Prefactor     .93942        .12310        .24496E-03   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3619e-08
Minuit parameter uncertainties:
  1  1.41965e-07
  2  5.60584e-08
  3  12.7258
  4  1.07362
  5  1.02252e-06
  6  1.16599e-06
  7  4.66953e-07
  8  2.97719
  9  18.4738
  10  3.86824
  11  2.29875e-05
  12  1.24241e-05
  13  3.30053e-05
  14  0.988308
  15  0.959801
  16  1.78988
  17  0.108045
  18  0.123137
 **********
 **   18 **HESSE 
 **********

 FCN=   15096.48     FROM HESSE     STATUS=OK           246 CALLS     1549 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59477        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .33640        .69461E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8617        12.726        .13517E-04   -1.5648    
   4  norm          2.4994        1.0736        .79706E-05   -1.5676    
   5  Prefactor      .0000        .94064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.9981        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .48116        .83201E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4871        2.9772        .27586E-04   -1.5684    
   9  norm          11.401        18.474        .11667E-04   -1.5640    
  10  Prefactor     2.0742        3.8682        .14303E-03   -1.5679    
  11  Prefactor      .0000        5.9747        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.929        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    6.8029        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33830        .98831        .17738E-03   -1.5696    
  15  norm          2.7781        .95980        .68072E-05   -1.5675    
  16  norm          5.4761        1.7899        .91044E-05   -1.5661    
  17  Normalizat    .93961        .10802        .20992E-03   -.95082    
  18  Prefactor     .93942        .12310        .24496E-03   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3619e-08
Minuit parameter uncertainties:
  1  1.41965e-07
  2  5.60584e-08
  3  12.7258
  4  1.07362
  5  1.02252e-06
  6  1.16599e-06
  7  4.66953e-07
  8  2.97719
  9  18.4738
  10  3.86824
  11  2.29875e-05
  12  1.24241e-05
  13  3.30053e-05
  14  0.988308
  15  0.959801
  16  1.78988
  17  0.108045
  18  0.123137
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  4.670e-07  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 1.77096947677e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138624374757 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279430/likelihoodResults_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15096.480844
delta logL = -0.00281980484215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15096.4780245
delta logL = -3.77625838155e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21760E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.2459       1.0000          .0000       10.000    
     3 'Normalizat'    .93955       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      215 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .10878        .42118E-03** at limit **
   2  Index         .84689        .67648        .18227E-04     .0000    
   3  Normalizat    .93961        1.2729        .11034E-04   -.56809E-03
   4  Prefactor     .93942        1.2823       -.65986E-05   -.28187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.846885
  Normalizat = 0.939608
  Prefactor  = 0.939422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .10878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16220E-01    .95512        .18227E-04   -.98023    
   3  Normalizat    .93961        1.2729        .11034E-04   -.95082    
   4  Prefactor     .93942        1.2823       -.65986E-05   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.2387e-10
Minuit parameter uncertainties:
  1  1.31154e-06
  2  0.683318
  3  1.31773
  4  1.32764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15096.4780242
delta logL = -6.73026079312e-11

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.312e-06  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  8.469e-01  6.833e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.328e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.318e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 34.731 -23.099

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/38279430/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.77e-08', time_completed='2026-09-15 01:59:32.643791', job_id='38279430', GAL2='0.94', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1789462772.64', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-6.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='945' AND source_name='4FGL J0218.9-2305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 01:59:32 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  4.670e-07  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 1.77096947677e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138624374757 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279452/likelihoodResults_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15096.480844
delta logL = -0.00281980484215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15096.4780245
delta logL = -3.77625838155e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21760E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.2459       1.0000          .0000       10.000    
     3 'Normalizat'    .93955       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      215 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .10878        .42118E-03** at limit **
   2  Index         .84689        .67648        .18227E-04     .0000    
   3  Normalizat    .93961        1.2729        .11034E-04   -.56809E-03
   4  Prefactor     .93942        1.2823       -.65986E-05   -.28187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.846885
  Normalizat = 0.939608
  Prefactor  = 0.939422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .10878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16220E-01    .95512        .18227E-04   -.98023    
   3  Normalizat    .93961        1.2729        .11034E-04   -.95082    
   4  Prefactor     .93942        1.2823       -.65986E-05   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.2387e-10
Minuit parameter uncertainties:
  1  1.31154e-06
  2  0.683318
  3  1.31773
  4  1.32764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15096.4780242
delta logL = -6.73026079312e-11

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.312e-06  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  8.469e-01  6.833e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.328e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.318e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 34.731 -23.099

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/38279452/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.77e-08', time_completed='2026-09-15 01:59:39.375192', job_id='38279452', GAL2='0.94', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1789462779.38', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-6.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='945' AND source_name='4FGL J0218.9-2305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 01:59:39 PDT 2026

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279509/Model_4FGL_J0218.9-2305_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits.....................!
real 108.21
user 106.41
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits', '/lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits', expMap='/lscratch/kocevski/38279509/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', expCube='/lscratch/kocevski/38279509/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279509/Model_4FGL_J0218.9-2305_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0218.9-2305'

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.106e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279509/ft1_filtered_4FGL_J0218.9-2305_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279509/ft2_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279509/expmap_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279509/ltcube_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279509/Model_4FGL_J0218.9-2305_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17771E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .30642E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.7857       1.0000          .0000       .10000E+07
     4 'norm      '    2.4992       1.0000          .0000       .10000E+07
     5 'Prefactor '    .68279E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45230E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4650       1.0000          .0000       .10000E+07
     9 'norm      '    11.776       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0831       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29172E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45964E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .50160E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33857       1.0000          .0000       .10000E+07
    15 'norm      '    2.7782       1.0000          .0000       .10000E+07
    16 'norm      '    5.4767       1.0000          .0000       .10000E+07
    17 'Normalizat'    .93957       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93932       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1303 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .58425         .0000    ** at limit **
   2  norm           .0000        .33519         .0000    ** at limit **
   3  Prefactor     8.8617        12.728         .0000       -.82677E-02
   4  norm          2.4994        1.0757         .0000        .71426E-02
   5  Prefactor      .0000        .93768         .0000    ** at limit **
   6  Prefactor      .0000        4.9749         .0000    ** at limit **
   7  Prefactor      .0000        .48088         .0000    ** at limit **
   8  Prefactor     1.4871        3.0527         .0000        .14778E-01
   9  norm          11.401        18.697         .0000        .73302E-03
  10  Prefactor     2.0742        3.8631         .0000        .46942    
  11  Prefactor      .0000        5.9727         .0000    ** at limit **
  12  Prefactor      .0000        10.926         .0000    ** at limit **
  13  Prefactor     .55511E-10    6.7984         .0000    ** at limit **
  14  Prefactor     .33830        .86613         .0000        .29100E-01
  15  norm          2.7781        .96115         .0000        .49139E-02
  16  norm          5.4761        1.7905         .0000        .18591E-02
  17  Normalizat    .93961        .91808E-01     .0000       -.59442E-05
  18  Prefactor     .93942        .10446         .0000        .46040E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 8.86167
  norm       = 2.49939
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.48706
  norm       = 11.4015
  Prefactor  = 2.07421
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.338304
  norm       = 2.77814
  norm       = 5.47609
  Normalizat = 0.939609
  Prefactor  = 0.939421
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  4.670e-07  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 1.77096947677e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138624374757 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279482/likelihoodResults_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15096.480844
delta logL = -0.00281980484215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15096.4780245
delta logL = -3.77625838155e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21760E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.2459       1.0000          .0000       10.000    
     3 'Normalizat'    .93955       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      215 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .10878        .42118E-03** at limit **
   2  Index         .84689        .67648        .18227E-04     .0000    
   3  Normalizat    .93961        1.2729        .11034E-04   -.56809E-03
   4  Prefactor     .93942        1.2823       -.65986E-05   -.28187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.846885
  Normalizat = 0.939608
  Prefactor  = 0.939422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .10878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16220E-01    .95512        .18227E-04   -.98023    
   3  Normalizat    .93961        1.2729        .11034E-04   -.95082    
   4  Prefactor     .93942        1.2823       -.65986E-05   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.2387e-10
Minuit parameter uncertainties:
  1  1.31154e-06
  2  0.683318
  3  1.31773
  4  1.32764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15096.4780242
delta logL = -6.73026079312e-11

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.312e-06  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  8.469e-01  6.833e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.328e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.318e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 34.731 -23.099

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/38279482/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.77e-08', time_completed='2026-09-15 01:59:56.290917', job_id='38279482', GAL2='0.94', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1789462796.29', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-6.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='945' AND source_name='4FGL J0218.9-2305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 01:59:56 PDT 2026

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

 FCN=   15096.48     FROM HESSE     STATUS=OK           246 CALLS     1549 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59477        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .33640        .69461E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8617        12.726        .13517E-04   -1.5648    
   4  norm          2.4994        1.0736        .79706E-05   -1.5676    
   5  Prefactor      .0000        .94064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.9981        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .48116        .83201E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4871        2.9772        .27586E-04   -1.5684    
   9  norm          11.401        18.474        .11667E-04   -1.5640    
  10  Prefactor     2.0742        3.8682        .14303E-03   -1.5679    
  11  Prefactor      .0000        5.9747        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.929        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    6.8029        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33830        .98831        .17738E-03   -1.5696    
  15  norm          2.7781        .95980        .68072E-05   -1.5675    
  16  norm          5.4761        1.7899        .91044E-05   -1.5661    
  17  Normalizat    .93961        .10802        .20992E-03   -.95082    
  18  Prefactor     .93942        .12310        .24496E-03   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3619e-08
Minuit parameter uncertainties:
  1  1.41965e-07
  2  5.60584e-08
  3  12.7258
  4  1.07362
  5  1.02252e-06
  6  1.16599e-06
  7  4.66953e-07
  8  2.97719
  9  18.4738
  10  3.86824
  11  2.29875e-05
  12  1.24241e-05
  13  3.30053e-05
  14  0.988308
  15  0.959801
  16  1.78988
  17  0.108045
  18  0.123137
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  4.670e-07  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 1.77096947677e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00138624374757 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279509/likelihoodResults_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15096.480844
delta logL = -0.00281980484215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15096.4780245
delta logL = -3.77625838155e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21760E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.2459       1.0000          .0000       10.000    
     3 'Normalizat'    .93955       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      215 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .10878        .42118E-03** at limit **
   2  Index         .84689        .67648        .18227E-04     .0000    
   3  Normalizat    .93961        1.2729        .11034E-04   -.56809E-03
   4  Prefactor     .93942        1.2823       -.65986E-05   -.28187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.846885
  Normalizat = 0.939608
  Prefactor  = 0.939422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15096.48     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .10878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16220E-01    .95512        .18227E-04   -.98023    
   3  Normalizat    .93961        1.2729        .11034E-04   -.95082    
   4  Prefactor     .93942        1.2823       -.65986E-05   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.2387e-10
Minuit parameter uncertainties:
  1  1.31154e-06
  2  0.683318
  3  1.31773
  4  1.32764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15096.4780242
delta logL = -6.73026079312e-11

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.312e-06  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  8.469e-01  6.833e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.394e-01  1.328e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  9.396e-01  1.318e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 34.731 -23.099

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/38279509/cmap_HighResolution_810518401_811123201_4FGL_J0218.9-2305_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.77e-08', time_completed='2026-09-15 02:01:02.556031', job_id='38279509', GAL2='0.94', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1789462862.56', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-6.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='945' AND source_name='4FGL J0218.9-2305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 02:01:02 PDT 2026

