/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 = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2355.7-3351_weekly_bin937
RA = 358.931, Dec = -33.8607
tmin = 805680001, tmax = 806284801
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='32687326', job_status='RUN', time_executed='2026-07-21 21:25:55.184936', time_epoch_executed='1784694355.18' WHERE source_name='4FGL J2355.7-3351' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32687326

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32687326/ft1_4FGL_J2355.7-3351_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32687326/ft1_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687326/ft1_filteredMKT_4FGL_J2355.7-3351_weekly_bin937.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.49
user 3.78
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.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/32687326/ft1_filteredMKT_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1157

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2355.7-3351_weekly_bin937
RA = 358.931, Dec = -33.8607
tmin = 805680001, tmax = 806284801
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='32687440', job_status='RUN', time_executed='2026-07-21 21:27:04.042553', time_epoch_executed='1784694424.04' WHERE source_name='4FGL J2355.7-3351' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32687440

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32687440/ft1_4FGL_J2355.7-3351_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32687440/ft1_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687440/ft1_filteredMKT_4FGL_J2355.7-3351_weekly_bin937.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.41
user 3.73
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.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/32687440/ft1_filteredMKT_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.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.20
sys 0.14

Number of photons that the gtmktime cut: 1157

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32687326/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits
.....................!
real 16.10
user 15.35
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32687326/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687326/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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/32687326/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
.....................!
real 60.01
user 55.62
sys 3.61

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

Setting source of interest to:
4FGL J2355.7-3351 @ 358.931 -33.8607

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits scfile=/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687326/cmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits scfile=/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687326/cmap_HighResolution_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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=358.931 yref=-33.8607 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.79
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32687326/Model_4FGL_J2355.7-3351_weekly_bin937.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 number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2355.7-3351_weekly_bin937
RA = 358.931, Dec = -33.8607
tmin = 805680001, tmax = 806284801
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='32687516', job_status='RUN', time_executed='2026-07-21 21:28:58.198241', time_epoch_executed='1784694538.2' WHERE source_name='4FGL J2355.7-3351' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32687516

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32687516/ft1_4FGL_J2355.7-3351_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32687516/ft1_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687516/ft1_filteredMKT_4FGL_J2355.7-3351_weekly_bin937.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=805680001.0 tmax=806284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.52
user 3.77
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.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/32687516/ft1_filteredMKT_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.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.71
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1157

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATAA" outfile=/lscratch/kocevski/32687440/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits
.....................!
real 15.96
user 15.22
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32687440/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687440/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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/32687440/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
.....................!
real 60.04
user 55.81
sys 3.45

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

Setting source of interest to:
4FGL J2355.7-3351 @ 358.931 -33.8607

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits scfile=/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687440/cmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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=358.931 yref=-33.8607 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.79
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits scfile=/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687440/cmap_HighResolution_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32687440/Model_4FGL_J2355.7-3351_weekly_bin937.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits.....................!
real 29.37
user 27.80
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits', '/lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits', expMap='/lscratch/kocevski/32687326/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits', expCube='/lscratch/kocevski/32687326/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32687326/Model_4FGL_J2355.7-3351_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2355.7-3351'

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.680e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32687326/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32687326/ft2_4FGL_J2355.7-3351_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32687326/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32687326/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32687326/Model_4FGL_J2355.7-3351_weekly_bin937.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) = 12857.341509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.541       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.3437       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.9086       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8152       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16659       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31613E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .75634E-06   1.0000          .0000       .10000E+07
     8 'norm      '    6.8127       1.0000          .0000       .10000E+07
     9 'Prefactor '    29.477       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12790E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .82069       1.0000          .0000       .10000E+07
    12 'norm      '    .11188E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.233       1.0000          .0000       .10000E+07
    14 'Prefactor '    .41883E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .29119E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .96304       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12857.24     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      975 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.076        23.752        .84411E-07   -.51177E-01
   2  Prefactor     1.3457        1.9581       -.80160E-07   -.17001E-02
   3  Prefactor     3.9066        4.0890        .18509E-06    .27589E-02
   4  Prefactor     1.8193        2.5798        .10639E-06    .13819E-02
   5  Prefactor     .11129        6.8351       -.56183E-07** at limit **
   6  Prefactor     .45647E-06    17.017       -.16254E-06** at limit **
   7  norm           .0000        .90006       -.29265E-07** at limit **
   8  norm          6.8130        4.5148       -.25543E-07   -.13163E-02
   9  Prefactor     29.382        7.8380       -.27763E-07   -.94011E-01
  10  Prefactor     .16487E-06    10.356        .26287E-07** at limit **
  11  norm          .82875        2.0355       -.50933E-07    .29437E-02
  12  norm          .55511E-10    1.6175       -.10694E-06** at limit **
  13  Prefactor     16.999        10.187       -.45833E-07   -.97050E-01
  14  Prefactor      .0000        1.2234       -.12140E-06** at limit **
  15  Prefactor     .28866E-08    23.284       -.21894E-06** at limit **
  16  Normalizat    .96298        .12750        .12786E-05    .77601E-04
  17  Prefactor     1.0284        .14609       -.10098E-05    .32840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0757
  Prefactor  = 1.34571
  Prefactor  = 3.90656
  Prefactor  = 1.81932
  Prefactor  = 0.111294
  Prefactor  = 4.56468e-07
  norm       = 0
  norm       = 6.81297
  Prefactor  = 29.3824
  Prefactor  = 1.64868e-07
  norm       = 0.828755
  norm       = 5.55112e-11
  Prefactor  = 16.9985
  Prefactor  = 0
  Prefactor  = 2.88658e-09
  Normalizat = 0.962979
  Prefactor  = 1.0284
 **********
 **   18 **HESSE 
 **********

 FCN=   12857.24     FROM HESSE     STATUS=OK           263 CALLS     1238 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.076        27.928        .25380E-03   -1.5628    
   2  Prefactor     1.3457        1.9825        .94465E-03   -1.5685    
   3  Prefactor     3.9066        4.0927        .51007E-03   -1.5668    
   4  Prefactor     1.8193        2.7937        .77497E-03   -1.5681    
   5  Prefactor     .11129        7.8857        .12403E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45647E-06    17.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .90119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.8130        4.5185        .38417E-03   -1.5656    
   9  Prefactor     29.382        23.413        .18422E-03   -1.5600    
  10  Prefactor     .16487E-06    10.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .82875        2.3050        .51405E-03   -1.5690    
  12  norm          .55511E-10    1.6103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.999        22.970        .24100E-03   -1.5626    
  14  Prefactor      .0000        1.2209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28866E-08    22.633        .16497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .96298        .10896        .45702E-01   -.94281    
  17  Prefactor     1.0284        .12307        .41385E-01   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64744e-07
Minuit parameter uncertainties:
  1  27.9279
  2  1.98254
  3  4.09269
  4  2.79373
  5  1.87365
  6  0.00559696
  7  1.9244e-06
  8  4.51849
  9  23.4134
  10  0.00264001
  11  2.30504
  12  2.17748e-05
  13  22.9697
  14  7.18583e-06
  15  0.000512736
  16  0.108985
  17  0.123106
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  0.000e+00  7.186e-06  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.028e+00  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.630e-01  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 3.1877526436e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0024916805497 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32687326/likelihoodResults_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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) = 12857.2480466
delta logL = -0.00324457541501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12857.244802
delta logL = -5.3540134104e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12857.24     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49323        .27394E-02** at limit **
   2  Index         3.7663        1.3437        .77026E-05     .0000    
   3  Normalizat    .96298        1.2950       -.24382E-05   -.14810E-04
   4  Prefactor     1.0284        1.2216        .10696E-05   -.52855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76633
  Normalizat = 0.962979
  Prefactor  = 1.0284
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12857.24     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49323        .27394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5579        2.2568        .77026E-05   -.24931    
   3  Normalizat    .96298        1.2950       -.24382E-05   -.94281    
   4  Prefactor     1.0284        1.2216        .10696E-05   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.69508e-12
Minuit parameter uncertainties:
  1  2.69222e-06
  2  1.36154
  3  1.34118
  4  1.25722
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) = 12857.244802
delta logL = 0.0

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  0.000e+00  2.692e-06  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  3.766e+00  1.362e+00  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.028e+00  1.257e+00  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.630e-01  1.341e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 358.931 -33.861

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/32687326/cmap_HighResolution_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-07-21 21:36:39.815295', job_id='32687326', GAL2='1.03', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1784694999.82', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='937' AND source_name='4FGL J2355.7-3351' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 21:36:40 PDT 2026

source GAL_V02
Working on...
/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits.....................!
real 29.37
user 27.86
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits', '/lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits', expMap='/lscratch/kocevski/32687440/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits', expCube='/lscratch/kocevski/32687440/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32687440/Model_4FGL_J2355.7-3351_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2355.7-3351'

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.680e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32687440/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32687440/ft2_4FGL_J2355.7-3351_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32687440/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32687440/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32687440/Model_4FGL_J2355.7-3351_weekly_bin937.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) = 12857.341509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.541       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.3437       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.9086       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8152       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16659       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31613E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .75634E-06   1.0000          .0000       .10000E+07
     8 'norm      '    6.8127       1.0000          .0000       .10000E+07
     9 'Prefactor '    29.477       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12790E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .82069       1.0000          .0000       .10000E+07
    12 'norm      '    .11188E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.233       1.0000          .0000       .10000E+07
    14 'Prefactor '    .41883E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .29119E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .96304       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12857.24     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      975 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.076        23.752        .84411E-07   -.51177E-01
   2  Prefactor     1.3457        1.9581       -.80160E-07   -.17001E-02
   3  Prefactor     3.9066        4.0890        .18509E-06    .27589E-02
   4  Prefactor     1.8193        2.5798        .10639E-06    .13819E-02
   5  Prefactor     .11129        6.8351       -.56183E-07** at limit **
   6  Prefactor     .45647E-06    17.017       -.16254E-06** at limit **
   7  norm           .0000        .90006       -.29265E-07** at limit **
   8  norm          6.8130        4.5148       -.25543E-07   -.13163E-02
   9  Prefactor     29.382        7.8380       -.27763E-07   -.94011E-01
  10  Prefactor     .16487E-06    10.356        .26287E-07** at limit **
  11  norm          .82875        2.0355       -.50933E-07    .29437E-02
  12  norm          .55511E-10    1.6175       -.10694E-06** at limit **
  13  Prefactor     16.999        10.187       -.45833E-07   -.97050E-01
  14  Prefactor      .0000        1.2234       -.12140E-06** at limit **
  15  Prefactor     .28866E-08    23.284       -.21894E-06** at limit **
  16  Normalizat    .96298        .12750        .12786E-05    .77601E-04
  17  Prefactor     1.0284        .14609       -.10098E-05    .32840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0757
  Prefactor  = 1.34571
  Prefactor  = 3.90656
  Prefactor  = 1.81932
  Prefactor  = 0.111294
  Prefactor  = 4.56468e-07
  norm       = 0
  norm       = 6.81297
  Prefactor  = 29.3824
  Prefactor  = 1.64868e-07
  norm       = 0.828755
  norm       = 5.55112e-11
  Prefactor  = 16.9985
  Prefactor  = 0
  Prefactor  = 2.88658e-09
  Normalizat = 0.962979
  Prefactor  = 1.0284
 **********
 **   18 **HESSE 
 **********

 FCN=   12857.24     FROM HESSE     STATUS=OK           263 CALLS     1238 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.076        27.928        .25380E-03   -1.5628    
   2  Prefactor     1.3457        1.9825        .94465E-03   -1.5685    
   3  Prefactor     3.9066        4.0927        .51007E-03   -1.5668    
   4  Prefactor     1.8193        2.7937        .77497E-03   -1.5681    
   5  Prefactor     .11129        7.8857        .12403E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45647E-06    17.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .90119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.8130        4.5185        .38417E-03   -1.5656    
   9  Prefactor     29.382        23.413        .18422E-03   -1.5600    
  10  Prefactor     .16487E-06    10.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .82875        2.3050        .51405E-03   -1.5690    
  12  norm          .55511E-10    1.6103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.999        22.970        .24100E-03   -1.5626    
  14  Prefactor      .0000        1.2209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28866E-08    22.633        .16497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .96298        .10896        .45702E-01   -.94281    
  17  Prefactor     1.0284        .12307        .41385E-01   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64744e-07
Minuit parameter uncertainties:
  1  27.9279
  2  1.98254
  3  4.09269
  4  2.79373
  5  1.87365
  6  0.00559696
  7  1.9244e-06
  8  4.51849
  9  23.4134
  10  0.00264001
  11  2.30504
  12  2.17748e-05
  13  22.9697
  14  7.18583e-06
  15  0.000512736
  16  0.108985
  17  0.123106
" outfile=/lscratch/kocevski/32687516/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits
.....................!
real 16.14
user 15.31
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32687516/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687516/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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/32687516/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
.....................!
real 60.86
user 56.38
sys 3.64

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

Setting source of interest to:
4FGL J2355.7-3351 @ 358.931 -33.8607

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits scfile=/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687516/cmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits scfile=/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits outfile=/lscratch/kocevski/32687516/cmap_HighResolution_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32687516/Model_4FGL_J2355.7-3351_weekly_bin937.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 sDone.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  0.000e+00  7.186e-06  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.028e+00  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.630e-01  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 3.1877526436e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0024916805497 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32687440/likelihoodResults_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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) = 12857.2480466
delta logL = -0.00324457541501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12857.244802
delta logL = -5.3540134104e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12857.24     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49323        .27394E-02** at limit **
   2  Index         3.7663        1.3437        .77026E-05     .0000    
   3  Normalizat    .96298        1.2950       -.24382E-05   -.14810E-04
   4  Prefactor     1.0284        1.2216        .10696E-05   -.52855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76633
  Normalizat = 0.962979
  Prefactor  = 1.0284
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12857.24     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49323        .27394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5579        2.2568        .77026E-05   -.24931    
   3  Normalizat    .96298        1.2950       -.24382E-05   -.94281    
   4  Prefactor     1.0284        1.2216        .10696E-05   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.69508e-12
Minuit parameter uncertainties:
  1  2.69222e-06
  2  1.36154
  3  1.34118
  4  1.25722
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) = 12857.244802
delta logL = 0.0

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  0.000e+00  2.692e-06  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  3.766e+00  1.362e+00  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.028e+00  1.257e+00  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.630e-01  1.341e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 358.931 -33.861

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/32687440/cmap_HighResolution_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-07-21 21:37:39.435418', job_id='32687440', GAL2='1.03', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1784695059.44', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='937' AND source_name='4FGL J2355.7-3351' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 21:37:39 PDT 2026

ource GAL_V02
Working on...
/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits.....................!
real 30.24
user 28.60
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits', '/lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits', expMap='/lscratch/kocevski/32687516/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits', expCube='/lscratch/kocevski/32687516/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32687516/Model_4FGL_J2355.7-3351_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2355.7-3351'

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.680e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32687516/ft1_filtered_4FGL_J2355.7-3351_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32687516/ft2_4FGL_J2355.7-3351_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32687516/expmap_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32687516/ltcube_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32687516/Model_4FGL_J2355.7-3351_weekly_bin937.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) = 12857.341509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.541       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.3437       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.9086       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8152       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16659       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31613E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .75634E-06   1.0000          .0000       .10000E+07
     8 'norm      '    6.8127       1.0000          .0000       .10000E+07
     9 'Prefactor '    29.477       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12790E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .82069       1.0000          .0000       .10000E+07
    12 'norm      '    .11188E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.233       1.0000          .0000       .10000E+07
    14 'Prefactor '    .41883E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .29119E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .96304       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12857.24     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      975 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.076        23.752        .84411E-07   -.51177E-01
   2  Prefactor     1.3457        1.9581       -.80160E-07   -.17001E-02
   3  Prefactor     3.9066        4.0890        .18509E-06    .27589E-02
   4  Prefactor     1.8193        2.5798        .10639E-06    .13819E-02
   5  Prefactor     .11129        6.8351       -.56183E-07** at limit **
   6  Prefactor     .45647E-06    17.017       -.16254E-06** at limit **
   7  norm           .0000        .90006       -.29265E-07** at limit **
   8  norm          6.8130        4.5148       -.25543E-07   -.13163E-02
   9  Prefactor     29.382        7.8380       -.27763E-07   -.94011E-01
  10  Prefactor     .16487E-06    10.356        .26287E-07** at limit **
  11  norm          .82875        2.0355       -.50933E-07    .29437E-02
  12  norm          .55511E-10    1.6175       -.10694E-06** at limit **
  13  Prefactor     16.999        10.187       -.45833E-07   -.97050E-01
  14  Prefactor      .0000        1.2234       -.12140E-06** at limit **
  15  Prefactor     .28866E-08    23.284       -.21894E-06** at limit **
  16  Normalizat    .96298        .12750        .12786E-05    .77601E-04
  17  Prefactor     1.0284        .14609       -.10098E-05    .32840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0757
  Prefactor  = 1.34571
  Prefactor  = 3.90656
  Prefactor  = 1.81932
  Prefactor  = 0.111294
  Prefactor  = 4.56468e-07
  norm       = 0
  norm       = 6.81297
  Prefactor  = 29.3824
  Prefactor  = 1.64868e-07
  norm       = 0.828755
  norm       = 5.55112e-11
  Prefactor  = 16.9985
  Prefactor  = 0
  Prefactor  = 2.88658e-09
  Normalizat = 0.962979
  Prefactor  = 1.0284
 **********
 **   18 **HESSE 
 **********

 FCN=   12857.24     FROM HESSE     STATUS=OK           263 CALLS     1238 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.076        27.928        .25380E-03   -1.5628    
   2  Prefactor     1.3457        1.9825        .94465E-03   -1.5685    
   3  Prefactor     3.9066        4.0927        .51007E-03   -1.5668    
   4  Prefactor     1.8193        2.7937        .77497E-03   -1.5681    
   5  Prefactor     .11129        7.8857        .12403E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45647E-06    17.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .90119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.8130        4.5185        .38417E-03   -1.5656    
   9  Prefactor     29.382        23.413        .18422E-03   -1.5600    
  10  Prefactor     .16487E-06    10.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .82875        2.3050        .51405E-03   -1.5690    
  12  norm          .55511E-10    1.6103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.999        22.970        .24100E-03   -1.5626    
  14  Prefactor      .0000        1.2209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28866E-08    22.633        .16497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .96298        .10896        .45702E-01   -.94281    
  17  Prefactor     1.0284        .12307        .41385E-01   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64744e-07
Minuit parameter uncertainties:
  1  27.9279
  2  1.98254
  3  4.09269
  4  2.79373
  5  1.87365
  6  0.00559696
  7  1.9244e-06
  8  4.51849
  9  23.4134
  10  0.00264001
  11  2.30504
  12  2.17748e-05
  13  22.9697
  14  7.18583e-06
  15  0.000512736
  16  0.108985
  17  0.123106
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  0.000e+00  7.186e-06  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.028e+00  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.630e-01  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 3.1877526436e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0024916805497 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32687516/likelihoodResults_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.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) = 12857.2480466
delta logL = -0.00324457541501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12857.244802
delta logL = -5.3540134104e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12857.24     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .49323        .27394E-02** at limit **
   2  Index         3.7663        1.3437        .77026E-05     .0000    
   3  Normalizat    .96298        1.2950       -.24382E-05   -.14810E-04
   4  Prefactor     1.0284        1.2216        .10696E-05   -.52855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76633
  Normalizat = 0.962979
  Prefactor  = 1.0284
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12857.24     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .49323        .27394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5579        2.2568        .77026E-05   -.24931    
   3  Normalizat    .96298        1.2950       -.24382E-05   -.94281    
   4  Prefactor     1.0284        1.2216        .10696E-05   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.69508e-12
Minuit parameter uncertainties:
  1  2.69222e-06
  2  1.36154
  3  1.34118
  4  1.25722
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) = 12857.244802
delta logL = 0.0

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  0.000e+00  2.692e-06  0.000e+00  1.000e+06 ( 1.000e-12)
551        Index:  3.766e+00  1.362e+00  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.028e+00  1.257e+00  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.630e-01  1.341e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 358.931 -33.861

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/32687516/cmap_HighResolution_805680001_806284801_4FGL_J2355.7-3351_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-07-21 21:39:38.869867', job_id='32687516', GAL2='1.03', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1784695178.87', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='937' AND source_name='4FGL J2355.7-3351' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 21:39:39 PDT 2026

