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


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796695', job_status='RUN', time_executed='2026-09-22 09:06:52.489913', time_epoch_executed='1790093212.49' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796695

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796695/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796695/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796695/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.36
user 3.79
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796695/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" 
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)
outfile=/lscratch/kocevski/38796608/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796608/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 18.43
user 17.74
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796608/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796608/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796608/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796608/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796608/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 66.57
user 61.89
sys 3.88

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.15

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

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

This is gtbin version HEAD
real 0.91
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796608/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796608/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796608/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

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


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796697', job_status='RUN', time_executed='2026-09-22 09:07:02.162059', time_epoch_executed='1790093222.16' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796697

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796697/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796697/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796697/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.03
user 4.13
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" utfile=/lscratch/kocevski/38796619/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796619/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 17.93
user 17.08
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796619/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796619/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796619/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796619/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796619/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 64.74
user 60.26
sys 3.65

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38796619/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796619/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796619/cmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=178.081 yref=-8.6663 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.70
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796619/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796619/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796619/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.81
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796619/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796619/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796619/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source outfile=/lscratch/kocevski/38796616/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796616/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 18.60
user 17.90
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796616/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796616/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796616/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796616/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796616/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 65.95
user 61.55
sys 3.76

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.71
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796616/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796616/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796616/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.75
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796616/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796616/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796616/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796701', job_status='RUN', time_executed='2026-09-22 09:07:20.053232', time_epoch_executed='1790093240.05' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796701

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796701/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796701/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796701/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.43
user 3.84
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796701/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" utfile=/lscratch/kocevski/38796624/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796624/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 18.06
user 17.29
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796624/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796624/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796624/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796624/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796624/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 64.61
user 60.04
sys 3.79

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38796624/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796624/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796624/cmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=178.081 yref=-8.6663 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796624/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796624/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796624/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796624/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796624/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796624/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796721', job_status='RUN', time_executed='2026-09-22 09:08:05.942909', time_epoch_executed='1790093285.94' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796721

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796721/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796721/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796721/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.80
user 4.07
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796741', job_status='RUN', time_executed='2026-09-22 09:08:45.988652', time_epoch_executed='1790093325.99' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796741

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796741/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796741/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796741/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.31
user 3.74
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796741/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38796669/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796669/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 20.76
user 19.90
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796669/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796669/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796669/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796669/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796669/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 73.70
user 69.12
sys 3.84

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.14

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

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

This is gtbin version HEAD
real 0.71
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796669/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796669/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796669/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcenumber of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
 GAL_V02
Working on...
/lscratch/kocevski/38796575/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 35.40
user 33.57
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796575/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796575/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796575/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796575/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796575/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796575/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796575/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796575/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796575/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796575/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 Done.


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796748', job_status='RUN', time_executed='2026-09-22 09:08:59.439606', time_epoch_executed='1790093339.44' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796748

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796748/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796748/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796748/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.43
user 3.84
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796748/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796730', job_status='RUN', time_executed='2026-09-22 09:08:16.975176', time_epoch_executed='1790093296.98' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796730

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796730/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796730/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796730/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.31
user 4.59
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796730/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA"  GAL_V02
Working on...
/lscratch/kocevski/38796608/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 30.97
user 29.46
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796608/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796608/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796608/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796608/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796608/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796608/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796608/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796608/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796608/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796608/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796755', job_status='RUN', time_executed='2026-09-22 09:09:09.615481', time_epoch_executed='1790093349.62' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796755

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796755/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796755/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796755/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.06
user 4.40
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796755/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38796695/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 18.50
user 17.65
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796695/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796695/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796695/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796695/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 66.40
user 61.88
sys 3.80

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38796695/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796695/cmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=178.081 yref=-8.6663 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.25
sys 0.14

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

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

This is gtbin version HEAD
real 0.77
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796695/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796695/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
GAL_V02
Working on...
/lscratch/kocevski/38796619/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 30.52
user 28.87
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796619/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796619/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796619/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796619/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796619/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796619/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796619/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796619/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796619/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796619/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 * GAL_V02
Working on...
/lscratch/kocevski/38796616/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 31.23
user 29.69
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796616/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796616/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796616/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796616/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796616/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796616/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796616/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796616/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796616/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796616/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 *   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
GAL_V02
Working on...
/lscratch/kocevski/38796624/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 31.80
user 30.16
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796624/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796624/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796624/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796624/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796624/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796624/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796624/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796624/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796624/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796624/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 *outfile=/lscratch/kocevski/38796701/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 18.22
user 17.55
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796701/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796701/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796701/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796701/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 66.17
user 61.50
sys 4.00

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.72
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796701/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796701/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796701/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796701/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
outfile=/lscratch/kocevski/38796697/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 23.27
user 21.72
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796697/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796697/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796697/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 76.26
user 69.21
sys 4.25

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796697/cmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=178.081 yref=-8.6663 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.70
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796697/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796697/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source*   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796575/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796575/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:12:55.620000', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093575.62', return_code='0', job_id='38796575', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:12:55 PDT 2026

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1152.3-0839_weekly_bin946
RA = 178.081, Dec = -8.6663
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38796779', job_status='RUN', time_executed='2026-09-22 09:10:18.509035', time_epoch_executed='1790093418.51' WHERE source_name='4FGL J1152.3-0839' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38796779

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38796779/ft1_4FGL_J1152.3-0839_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38796779/ft1_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796779/ft1_filteredMKT_4FGL_J1152.3-0839_weekly_bin946.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.31
user 3.79
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits

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

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

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

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38796779/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA"  **********
 **   18 **HESSE 
 **********

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796608/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796608/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:13:20.414488', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093600.41', return_code='0', job_id='38796608', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:13:20 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796619/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796619/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:13:25.779176', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093605.78', return_code='0', job_id='38796619', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:13:26 PDT 2026

outfile=/lscratch/kocevski/38796721/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 19.68
user 18.82
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796721/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796721/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796721/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 70.18
user 65.58
sys 3.94

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796721/cmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=178.081 yref=-8.6663 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.65
user 0.24
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796721/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796721/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourceDone.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796616/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796616/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:13:35.831684', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093615.83', return_code='0', job_id='38796616', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:13:36 PDT 2026

outfile=/lscratch/kocevski/38796741/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 18.39
user 17.56
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796741/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796741/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796741/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796741/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 68.54
user 64.20
sys 3.67

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.72
user 0.25
sys 0.13

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

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

This is gtbin version HEAD
real 0.82
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796741/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796741/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourceDone.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796624/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796624/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:13:42.454773', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093622.45', return_code='0', job_id='38796624', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:13:42 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/38796669/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 34.83
user 33.03
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796669/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796669/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796669/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796669/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796669/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796669/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796669/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796669/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796669/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796669/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 outfile=/lscratch/kocevski/38796748/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 22.12
user 21.40
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796748/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796748/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796748/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796748/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 68.90
user 64.68
sys 3.50

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38796748/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796748/cmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=178.081 yref=-8.6663 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.25
sys 0.12

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

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

This is gtbin version HEAD
real 0.93
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796748/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796748/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
 GAL_V02
Working on...
/lscratch/kocevski/38796695/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 31.38
user 29.83
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796695/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796695/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796695/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796695/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796695/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796695/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796695/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796695/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796695/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
outfile=/lscratch/kocevski/38796730/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 22.06
user 20.87
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796730/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796730/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796730/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796730/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 78.27
user 72.86
sys 4.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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.76
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796730/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796730/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.75
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796730/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796730/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
outfile=/lscratch/kocevski/38796755/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 21.25
user 20.43
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796755/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796755/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796755/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796755/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 77.24
user 72.10
sys 4.29

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.72
user 0.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38796755/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits scfile=/lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796755/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=178.081 yref=-8.6663 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.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796755/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796755/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38796701/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 31.37
user 29.93
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796701/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796701/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796701/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796701/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796701/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796701/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796701/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796701/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796701/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
  **********
 **   18 **HESSE 
 **********

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
 GAL_V02
Working on...
/lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 36.22
user 33.91
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796697/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796697/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796697/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796697/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796697/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796697/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796697/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796697/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 outfile=/lscratch/kocevski/38796779/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 18.04
user 17.45
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38796779/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38796779/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits outfile=/lscratch/kocevski/38796779/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38796779/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
.....................!
real 64.78
user 60.24
sys 3.74

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

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

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

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.13

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

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

This is gtbin version HEAD
real 0.59
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38796779/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38796779/Model_4FGL_J1152.3-0839_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796669/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796669/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:15:11.957189', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093711.96', return_code='0', job_id='38796669', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:15:12 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796695/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796695/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:15:17.397617', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093717.4', return_code='0', job_id='38796695', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:15:17 PDT 2026

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
 GAL_V02
Working on...
/lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 33.17
user 31.53
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796721/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796721/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796721/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796721/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796721/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796721/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796721/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796721/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
  GAL_V02
Working on...
/lscratch/kocevski/38796741/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 33.10
user 31.21
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796741/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796741/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796741/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796741/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796741/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796741/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796741/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796741/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796741/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796701/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796701/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:15:42.086745', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093742.09', return_code='0', job_id='38796701', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:15:42 PDT 2026

**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
 GAL_V02
Working on...
/lscratch/kocevski/38796748/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 33.11
user 31.46
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796748/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796748/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796748/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796748/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796748/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796748/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796748/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796748/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796748/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
  **********
 **   18 **HESSE 
 **********

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796697/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796697/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:16:13.048001', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093773.05', return_code='0', job_id='38796697', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:16:13 PDT 2026

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
 GAL_V02
Working on...
/lscratch/kocevski/38796730/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 36.48
user 34.93
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796730/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796730/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796730/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796730/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796730/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796730/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796730/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796730/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796730/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796721/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796721/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:16:43.323643', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093803.32', return_code='0', job_id='38796721', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:16:43 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/38796755/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 36.07
user 34.29
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796755/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796755/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796755/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796755/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796755/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796755/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796755/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796755/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796755/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796741/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
 GAL_V02
Working on...
/lscratch/kocevski/38796779/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits.....................!
real 30.86
user 29.30
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38796779/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits', '/lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits', expMap='/lscratch/kocevski/38796779/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', expCube='/lscratch/kocevski/38796779/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38796779/Model_4FGL_J1152.3-0839_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38796779/ft1_filtered_4FGL_J1152.3-0839_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38796779/ft2_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38796779/expmap_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38796779/ltcube_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38796779/Model_4FGL_J1152.3-0839_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27739E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33577E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56496E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56619       1.0000          .0000       .10000E+07
     5 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9372       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.541       1.0000          .0000       .10000E+07
     8 'norm      '    .16262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.722       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42776E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.083       1.0000          .0000       .10000E+07
    12 'norm      '    .26272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7232       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.023       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9521       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32253       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84330E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    109.99       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2175       1.0000          .0000       .10000E+07
    20 'norm      '    1.0626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20062E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8984       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796741/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:16:50.565977', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093810.57', return_code='0', job_id='38796741', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:16:50 PDT 2026

**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
**   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8946.391     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2150 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    11.266        .53432E-06** at limit **
   2  Prefactor     .19040E-07    6.1564        .52766E-06** at limit **
   3  Prefactor     .33529E-07    8.4801        .59042E-06** at limit **
   4  norm          .63293        62.082       -.72909E-07    .22645E-01
   5  norm           .0000        .34150        .33612E-08** at limit **
   6  Prefactor     6.9588        7.5069       -.43219E-06   -.45952E-02
   7  Prefactor     23.579        11.098        .74586E-07    .55750E-03
   8  norm          .26645E-08    13.517        .15393E-06** at limit **
   9  Prefactor     11.732        6.9733        .16928E-07    .10329E-03
  10  Prefactor     .78865E-06    89.977       -.98848E-06** at limit **
  11  Prefactor     35.203        1.5485        .52541E-08   -.80545E-02
  12  norm           .0000        5.1494        .12893E-07** at limit **
  13  Prefactor     4.7572        4.7087        .94439E-07    .18866E-02
  14  Prefactor     33.860        4.8290       -.26643E-07   -.89133E-01
  15  Prefactor     9.4717        12.380        .42640E-06   -.68879E-01
  16  Prefactor     .13318E-04    50.314       -.36999E-06** at limit **
  17  Prefactor     .10264E-06    8.9338        .34346E-06** at limit **
  18  Prefactor     114.51        64.245       -.53336E-06   -.88588E-02
  19  Prefactor     3.3508        13.042        .37398E-07    .59907E-01
  20  norm          1.0931        3.3927        .22084E-06   -.15974E-02
  21  Prefactor      .0000        3.1330       -.24556E-06** at limit **
  22  Prefactor     7.8662        2.1192       -.83177E-07    .93383E-04
  23  Prefactor     9.9264        8.7717        .73556E-07   -.46627E-03
  24  Normalizat    1.0649        .28029        .40400E-05    .27283E-05
  25  Prefactor     1.1078        .16200       -.33876E-05    .32043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 1.90403e-08
  Prefactor  = 3.35287e-08
  norm       = 0.632927
  norm       = 0
  Prefactor  = 6.95883
  Prefactor  = 23.5788
  norm       = 2.66454e-09
  Prefactor  = 11.7323
  Prefactor  = 7.88647e-07
  Prefactor  = 35.2027
  norm       = 0
  Prefactor  = 4.75716
  Prefactor  = 33.8604
  Prefactor  = 9.47167
  Prefactor  = 1.33177e-05
  Prefactor  = 1.0264e-07
  Prefactor  = 114.511
  Prefactor  = 3.35082
  norm       = 1.09313
  Prefactor  = 0
  Prefactor  = 7.86624
  Prefactor  = 9.92644
  Normalizat = 1.06494
  Prefactor  = 1.10776
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796748/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796748/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:17:06.254722', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093826.25', return_code='0', job_id='38796748', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:17:06 PDT 2026

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

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.391     FROM HESSE     STATUS=OK           487 CALLS     2637 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    11.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19040E-07    19.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33529E-07    18.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63293        77.634        .72313E-03   -1.5692    
   5  norm           .0000        .34101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9588        7.9455        .38067E-03   -1.5655    
   7  Prefactor     23.579        11.228        .20615E-03   -1.5611    
   8  norm          .26645E-08    13.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.732        6.9602        .29235E-03   -1.5639    
  10  Prefactor     .78865E-06    90.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.203        23.750        .16885E-03   -1.5589    
  12  norm           .0000        5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7572        4.8398        .46276E-03   -1.5664    
  14  Prefactor     33.860        17.223        .17146E-03   -1.5592    
  15  Prefactor     9.4717        27.362        .31739E-03   -1.5646    
  16  Prefactor     .13318E-04    12.605        .11910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10264E-06    18.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     114.51        65.289        .95355E-04   -1.5494    
  19  Prefactor     3.3508        64.178        .49045E-03   -1.5671    
  20  norm          1.0931        4.1834        .11860E-02   -1.5687    
  21  Prefactor      .0000        3.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.8662        2.1192        .35744E-02   -1.5147    
  23  Prefactor     9.9264        8.7748        .31826E-03   -1.5645    
  24  Normalizat    1.0649        .24409        .84068E-01   -.90886    
  25  Prefactor     1.1078        .13829        .37320E-01   -.89219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5673e-06
Minuit parameter uncertainties:
  1  0.000152938
  2  0.00122361
  3  0.00157949
  4  14.0197
  5  3.38306e-07
  6  7.94553
  7  11.2284
  8  0.00038219
  9  6.96025
  10  0.0169055
  11  23.7502
  12  1.71994e-05
  13  4.83978
  14  17.2228
  15  27.3621
  16  0.0259133
  17  0.00272619
  18  65.2893
  19  29.3294
  20  4.18342
  21  2.62847e-06
  22  2.11922
  23  8.77482
  24  0.24435
  25  0.138338
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796730/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796730/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:17:56.477109', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093876.48', return_code='0', job_id='38796730', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:17:56 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796779/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796779/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:18:00.632570', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093880.63', return_code='0', job_id='38796779', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:18:00 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  4.757e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.108e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.065e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.88e-05

TS (Fixed Index): 1.36
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.75340555424e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.013560205825 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38796755/likelihoodResults_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3703248
delta logL = 0.0203214096273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.36801598
delta logL = 0.0226302294741

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8946.368     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        5.0383        .17926E-04    .47983E-02
   2  Index         2.2394        .78106        .11507E-01    .38537E-04
   3  Normalizat    1.0764        .26622        .37047E-03    .31239E-04
   4  Prefactor     1.1029        .16075        .22256E-03    .41581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02915
  Index      = 2.23942
  Normalizat = 1.07644
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.368     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        5.0070        .71705E-06   -1.5663    
   2  Index         2.2394        .77546        .46028E-03   -.58490    
   3  Normalizat    1.0764        .26627        .14819E-04   -.90512    
   4  Prefactor     1.1029        .16079        .89022E-05   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46235e-10
Minuit parameter uncertainties:
  1  5.00705
  2  0.780007
  3  0.266598
  4  0.16086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8946.3680159
delta logL = 0.0226303064865

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  5.029e+00  5.007e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.239e+00  7.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.103e+00  1.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.076e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 178.081 -8.666
Photon Index (Free Index): 2.24 +/- 0.78
Photon Flux (Free Index): 4.77e-08 +/- 6.54e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.14e-05

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/38796755/cmap_HighResolution_811123201_811728001_4FGL_J1152.3-0839_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='2.00e-05', photon_flux_error='5.82e-08', dlogl='2.26e-02', energy_flux='1.85e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2026-09-22 09:18:08.854183', photon_index_error2='0.78', photon_index2='2.24', ts='1.36', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='2.14e-05', EG='1.06', time_epoch_completed='1790093888.85', return_code='0', job_id='38796755', GAL2='1.10', EG2='1.08', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.54e-08', ts2='1.41', photon_index='2.41' WHERE bin_id='946' AND source_name='4FGL J1152.3-0839' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:18:09 PDT 2026

