/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
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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


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

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


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

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


Performing analysis on: 4FGL_J0145.0-2732_weekly_bin926
RA = 26.2585, Dec = -27.5363
tmin = 799027201, tmax = 799632001
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='26194870', job_status='RUN', time_executed='2026-05-05 00:08:46.414376', time_epoch_executed='1777964926.41' WHERE source_name='4FGL J0145.0-2732' and cadence='weekly' and bin_id='926'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26194870

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26194870/ft1_4FGL_J0145.0-2732_weekly_bin926.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26194870/ft1_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194870/ft1_filteredMKT_4FGL_J0145.0-2732_weekly_bin926.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=799027201.0 tmax=799632001.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 3.96
user 3.13
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.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/26194870/ft1_filteredMKT_4FGL_J0145.0-2732_weekly_bin926.fits evtable="EVENTS" outfile="/lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1374

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits sctable="SC_DATnumber of points = 17150
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0145.0-2732_weekly_bin926
RA = 26.2585, Dec = -27.5363
tmin = 799027201, tmax = 799632001
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='26194861', job_status='RUN', time_executed='2026-05-05 00:08:48.977790', time_epoch_executed='1777964928.98' WHERE source_name='4FGL J0145.0-2732' and cadence='weekly' and bin_id='926'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26194861

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26194861/ft1_4FGL_J0145.0-2732_weekly_bin926.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26194861/ft1_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194861/ft1_filteredMKT_4FGL_J0145.0-2732_weekly_bin926.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=799027201.0 tmax=799632001.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.64
user 3.48
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.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/26194861/ft1_filteredMKT_4FGL_J0145.0-2732_weekly_bin926.fits evtable="EVENTS" outfile="/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1374

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26194870/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits
.....................!
real 24.60
user 23.35
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits evtable="EVENTS" scfile=/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26194870/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194870/expmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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/26194870/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits
.....................!
real 59.99
user 55.25
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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J0145.0-2732 @ 26.2585 -27.5363

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits scfile=/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194870/cmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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=26.2585 yref=-27.5363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.00
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits scfile=/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194870/cmap_HighResolution_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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=26.2585 yref=-27.5363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.16
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits evtable="EVENTS" scfile=/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26194870/Model_4FGL_J0145.0-2732_weekly_bin926.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 A" outfile=/lscratch/kocevski/26194861/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits
.....................!
real 22.16
user 20.97
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits evtable="EVENTS" scfile=/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26194861/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194861/expmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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/26194861/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits
.....................!
real 67.39
user 62.56
sys 3.64

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

Setting source of interest to:
4FGL J0145.0-2732 @ 26.2585 -27.5363

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits scfile=/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194861/cmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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=26.2585 yref=-27.5363 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.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits scfile=/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits outfile=/lscratch/kocevski/26194861/cmap_HighResolution_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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=26.2585 yref=-27.5363 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.84
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits evtable="EVENTS" scfile=/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26194861/Model_4FGL_J0145.0-2732_weekly_bin926.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/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits.....................!
real 37.54
user 35.64
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits', '/lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits', expMap='/lscratch/kocevski/26194870/expmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits', expCube='/lscratch/kocevski/26194870/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26194870/Model_4FGL_J0145.0-2732_weekly_bin926.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0145.0-2732'

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.960e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26194870/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits
Spacecraft file(s): /lscratch/kocevski/26194870/ft2_4FGL_J0145.0-2732_weekly_bin926.fits
Exposure map: /lscratch/kocevski/26194870/expmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits
Exposure cube: /lscratch/kocevski/26194870/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26194870/Model_4FGL_J0145.0-2732_weekly_bin926.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 15308.6828808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50079       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.3168       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2872       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6115       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.268       1.0000          .0000       .10000E+07
     6 'norm      '    .11763E-04   1.0000          .0000       .10000E+07
     7 'norm      '    4.3600       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12755E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11625       1.0000          .0000       .10000E+07
    10 'norm      '    1.7376       1.0000          .0000       .10000E+07
    11 'Prefactor '    56.391       1.0000          .0000       .10000E+07
    12 'norm      '    1.1865       1.0000          .0000       .10000E+07
    13 'Prefactor '    .99101       1.0000          .0000       .10000E+07
    14 'norm      '    .17708E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14362E-03   1.0000          .0000       .10000E+07
    16 'norm      '    17.958       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.0697       1.0000          .0000       .10000E+07
    18 'Prefactor '    .55098       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21205E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    31.737       1.0000          .0000       .10000E+07
    21 'Prefactor '    .94802E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .95868       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99879       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15308.50     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1545 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50013        1.1039        .22795E-06    .16888E-01
   2  Prefactor     6.3031        4.5605       -.29143E-06    .16145E-02
   3  Prefactor     3.2513        8.7263        .21233E-05    .20845E-02
   4  Prefactor     3.6096        1.7640        .54405E-08   -.60443E-02
   5  Prefactor     19.240        7.0789       -.14391E-06   -.58249E-02
   6  norm          .27756E-09    1.9759        .15720E-06** at limit **
   7  norm          4.3600        1.4777        .81992E-08    .12703E-01
   8  Prefactor     .17208E-08    2.1527       -.77495E-07** at limit **
   9  Prefactor     .11122        19.513       -.61672E-06** at limit **
  10  norm          1.7368        .93143        .25539E-07   -.26772E-02
  11  Prefactor     56.396        8.2807        .96206E-06    .95766E-01
  12  norm          1.1854        1.2196       -.80582E-07   -.19363E-01
  13  Prefactor     .98918        1.5289       -.74521E-07   -.15695E-02
  14  norm          .66613E-09    .51949        .56215E-08** at limit **
  15  Prefactor     .32752E-08    36.764       -.20491E-05** at limit **
  16  norm          17.961        3.1038        .29578E-07   -.15775E-01
  17  Prefactor     3.0361        7.0963       -.56989E-07   -.61456E-03
  18  Prefactor     .55620        3.5507       -.18391E-06   -.80618E-03
  19  Prefactor     .55511E-10    2.1624        .14434E-06** at limit **
  20  Prefactor     30.812        20.784       -.31439E-05    .27845E-01
  21  Prefactor     .66946E-07    29.002        .28854E-05** at limit **
  22  Normalizat    .95909        .12724        .45822E-07   -.43453E-03
  23  Prefactor     .99890        .14042        .13695E-05   -.13548E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.500126
  Prefactor  = 6.30306
  Prefactor  = 3.25126
  Prefactor  = 3.60962
  Prefactor  = 19.2396
  norm       = 2.77556e-10
  norm       = 4.36003
  Prefactor  = 1.72085e-09
  Prefactor  = 0.111223
  norm       = 1.73685
  Prefactor  = 56.3963
  norm       = 1.1854
  Prefactor  = 0.989182
  norm       = 6.66134e-10
  Prefactor  = 3.27516e-09
  norm       = 17.961
  Prefactor  = 3.03612
  Prefactor  = 0.556198
  Prefactor  = 5.55112e-11
  Prefactor  = 30.812
  Prefactor  = 6.69464e-08
  Normalizat = 0.959091
  Prefactor  = 0.998901
 **********
 **   18 **HESSE 
 **********

 FCN=   15308.50     FROM HESSE     STATUS=OK           432 CALLS     1977 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50013        1.1239        .78630E-03   -1.5694    
   2  Prefactor     6.3031        4.6317        .39914E-03   -1.5658    
   3  Prefactor     3.2513        8.8926        .55820E-03   -1.5672    
   4  Prefactor     3.6096        1.7629        .53142E-03   -1.5670    
   5  Prefactor     19.240        9.0729        .22790E-03   -1.5620    
   6  norm          .27756E-09    .99253        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3600        1.4813        .48214E-03   -1.5666    
   8  Prefactor     .17208E-08    2.8201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11122        .95225        .87266E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7368        .94046        .79573E-03   -1.5682    
  11  Prefactor     56.396        17.751        .13318E-03   -1.5558    
  12  norm          1.1854        1.2562        .10468E-02   -1.5686    
  13  Prefactor     .98918        1.5416        .43447E-03   -1.5688    
  14  norm          .66613E-09    .52532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .32752E-08    37.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          17.961        3.1063        .23607E-03   -1.5623    
  17  Prefactor     3.0361        7.1812        .57871E-03   -1.5673    
  18  Prefactor     .55620        3.5808        .73738E-03   -1.5693    
  19  Prefactor     .55511E-10    2.1622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.812        23.291        .17753E-03   -1.5597    
  21  Prefactor     .66946E-07    29.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95909        .10939        .45647E-01   -.94414    
  23  Prefactor     .99890        .12035        .46252E-01   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44777e-06
Minuit parameter uncertainties:
  1  1.12389
  2  4.63172
  3  8.89268
  4  1.76295
  5  9.07287
  6  3.24417e-05
  7  1.48128
  8  0.000138476
  9  0.650884
  10  0.940465
  11  17.7509
  12  1.25619
  13  1.54156
  14  3.8175e-05
  15  0.000698714
  16  3.10634
  17  7.18125
  18  2.82252
  19  1.95546e-05
  20  23.291
  21  0.00282407
  22  0.109416
  23  0.120385
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  6.661e-10  3.817e-05  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.989e-01  1.204e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  9.591e-01  1.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 2.81348351592e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.39108794616e-06 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26194870/likelihoodResults_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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) = 15308.5038283
delta logL = -0.00113615324881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15308.5026922
delta logL = -6.2262188294e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17264E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    3.0471       1.0000          .0000       5.0000    
     3 'Normalizat'    .95908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99889       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15308.50     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      185 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .64122        .42118E-03** at limit **
   2  alpha         2.9802        1.0110        .34605E-05     .0000    
   3  Normalizat    .95909        1.2913        .18368E-05    .58973E-04
   4  Prefactor     .99890        1.3380       -.72598E-05    .94153E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.98021
  Normalizat = 0.959092
  Prefactor  = 0.9989
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15308.50     FROM HESSE     STATUS=FAILED         9 CALLS      194 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .64122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7214        1.2162        .34605E-05    .19328    
   3  Normalizat    .95909        1.2913        .18368E-05   -.94414    
   4  Prefactor     .99890        1.3380       -.72598E-05   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.20498e-12
Minuit parameter uncertainties:
  1  5.36416e-07
  2  1.04202
  3  1.33728
  4  1.38692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15308.5026921
delta logL = 7.07586877979e-10

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  0.000e+00  5.364e-07  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  2.980e+00  1.042e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  9.678e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.989e-01  1.387e+00  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  9.591e-01  1.337e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.259 -27.536

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/26194870/cmap_HighResolution_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-06', job_status='DONE', photon_flux_upper_limit='2.81e-08', time_completed='2026-05-05 00:24:58.853331', job_id='26194870', GAL2='1.00', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1777965898.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.08e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='926' AND source_name='4FGL J0145.0-2732' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May  5 00:24:58 PDT 2026

source GAL_V02
Working on...
/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits.....................!
real 42.70
user 41.06
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits', '/lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits', expMap='/lscratch/kocevski/26194861/expmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits', expCube='/lscratch/kocevski/26194861/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26194861/Model_4FGL_J0145.0-2732_weekly_bin926.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0145.0-2732'

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.960e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26194861/ft1_filtered_4FGL_J0145.0-2732_weekly_bin926.fits
Spacecraft file(s): /lscratch/kocevski/26194861/ft2_4FGL_J0145.0-2732_weekly_bin926.fits
Exposure map: /lscratch/kocevski/26194861/expmap_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits
Exposure cube: /lscratch/kocevski/26194861/ltcube_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26194861/Model_4FGL_J0145.0-2732_weekly_bin926.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 15308.6828808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50079       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.3168       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2872       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6115       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.268       1.0000          .0000       .10000E+07
     6 'norm      '    .11763E-04   1.0000          .0000       .10000E+07
     7 'norm      '    4.3600       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12755E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11625       1.0000          .0000       .10000E+07
    10 'norm      '    1.7376       1.0000          .0000       .10000E+07
    11 'Prefactor '    56.391       1.0000          .0000       .10000E+07
    12 'norm      '    1.1865       1.0000          .0000       .10000E+07
    13 'Prefactor '    .99101       1.0000          .0000       .10000E+07
    14 'norm      '    .17708E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14362E-03   1.0000          .0000       .10000E+07
    16 'norm      '    17.958       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.0697       1.0000          .0000       .10000E+07
    18 'Prefactor '    .55098       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21205E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    31.737       1.0000          .0000       .10000E+07
    21 'Prefactor '    .94802E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .95868       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99879       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15308.50     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1545 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50013        1.1039        .22795E-06    .16888E-01
   2  Prefactor     6.3031        4.5605       -.29143E-06    .16145E-02
   3  Prefactor     3.2513        8.7263        .21233E-05    .20845E-02
   4  Prefactor     3.6096        1.7640        .54405E-08   -.60443E-02
   5  Prefactor     19.240        7.0789       -.14391E-06   -.58249E-02
   6  norm          .27756E-09    1.9759        .15720E-06** at limit **
   7  norm          4.3600        1.4777        .81992E-08    .12703E-01
   8  Prefactor     .17208E-08    2.1527       -.77495E-07** at limit **
   9  Prefactor     .11122        19.513       -.61672E-06** at limit **
  10  norm          1.7368        .93143        .25539E-07   -.26772E-02
  11  Prefactor     56.396        8.2807        .96206E-06    .95766E-01
  12  norm          1.1854        1.2196       -.80582E-07   -.19363E-01
  13  Prefactor     .98918        1.5289       -.74521E-07   -.15695E-02
  14  norm          .66613E-09    .51949        .56215E-08** at limit **
  15  Prefactor     .32752E-08    36.764       -.20491E-05** at limit **
  16  norm          17.961        3.1038        .29578E-07   -.15775E-01
  17  Prefactor     3.0361        7.0963       -.56989E-07   -.61456E-03
  18  Prefactor     .55620        3.5507       -.18391E-06   -.80618E-03
  19  Prefactor     .55511E-10    2.1624        .14434E-06** at limit **
  20  Prefactor     30.812        20.784       -.31439E-05    .27845E-01
  21  Prefactor     .66946E-07    29.002        .28854E-05** at limit **
  22  Normalizat    .95909        .12724        .45822E-07   -.43453E-03
  23  Prefactor     .99890        .14042        .13695E-05   -.13548E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.500126
  Prefactor  = 6.30306
  Prefactor  = 3.25126
  Prefactor  = 3.60962
  Prefactor  = 19.2396
  norm       = 2.77556e-10
  norm       = 4.36003
  Prefactor  = 1.72085e-09
  Prefactor  = 0.111223
  norm       = 1.73685
  Prefactor  = 56.3963
  norm       = 1.1854
  Prefactor  = 0.989182
  norm       = 6.66134e-10
  Prefactor  = 3.27516e-09
  norm       = 17.961
  Prefactor  = 3.03612
  Prefactor  = 0.556198
  Prefactor  = 5.55112e-11
  Prefactor  = 30.812
  Prefactor  = 6.69464e-08
  Normalizat = 0.959091
  Prefactor  = 0.998901
 **********
 **   18 **HESSE 
 **********

 FCN=   15308.50     FROM HESSE     STATUS=OK           432 CALLS     1977 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50013        1.1239        .78630E-03   -1.5694    
   2  Prefactor     6.3031        4.6317        .39914E-03   -1.5658    
   3  Prefactor     3.2513        8.8926        .55820E-03   -1.5672    
   4  Prefactor     3.6096        1.7629        .53142E-03   -1.5670    
   5  Prefactor     19.240        9.0729        .22790E-03   -1.5620    
   6  norm          .27756E-09    .99253        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3600        1.4813        .48214E-03   -1.5666    
   8  Prefactor     .17208E-08    2.8201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11122        .95225        .87266E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7368        .94046        .79573E-03   -1.5682    
  11  Prefactor     56.396        17.751        .13318E-03   -1.5558    
  12  norm          1.1854        1.2562        .10468E-02   -1.5686    
  13  Prefactor     .98918        1.5416        .43447E-03   -1.5688    
  14  norm          .66613E-09    .52532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .32752E-08    37.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          17.961        3.1063        .23607E-03   -1.5623    
  17  Prefactor     3.0361        7.1812        .57871E-03   -1.5673    
  18  Prefactor     .55620        3.5808        .73738E-03   -1.5693    
  19  Prefactor     .55511E-10    2.1622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.812        23.291        .17753E-03   -1.5597    
  21  Prefactor     .66946E-07    29.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95909        .10939        .45647E-01   -.94414    
  23  Prefactor     .99890        .12035        .46252E-01   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44777e-06
Minuit parameter uncertainties:
  1  1.12389
  2  4.63172
  3  8.89268
  4  1.76295
  5  9.07287
  6  3.24417e-05
  7  1.48128
  8  0.000138476
  9  0.650884
  10  0.940465
  11  17.7509
  12  1.25619
  13  1.54156
  14  3.8175e-05
  15  0.000698714
  16  3.10634
  17  7.18125
  18  2.82252
  19  1.95546e-05
  20  23.291
  21  0.00282407
  22  0.109416
  23  0.120385
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  6.661e-10  3.817e-05  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.989e-01  1.204e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  9.591e-01  1.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 2.81348351592e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.39108794616e-06 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26194861/likelihoodResults_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.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) = 15308.5038283
delta logL = -0.00113615324881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15308.5026922
delta logL = -6.2262188294e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17264E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    3.0471       1.0000          .0000       5.0000    
     3 'Normalizat'    .95908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99889       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15308.50     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      185 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .64122        .42118E-03** at limit **
   2  alpha         2.9802        1.0110        .34605E-05     .0000    
   3  Normalizat    .95909        1.2913        .18368E-05    .58973E-04
   4  Prefactor     .99890        1.3380       -.72598E-05    .94153E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.98021
  Normalizat = 0.959092
  Prefactor  = 0.9989
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15308.50     FROM HESSE     STATUS=FAILED         9 CALLS      194 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .64122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7214        1.2162        .34605E-05    .19328    
   3  Normalizat    .95909        1.2913        .18368E-05   -.94414    
   4  Prefactor     .99890        1.3380       -.72598E-05   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.20498e-12
Minuit parameter uncertainties:
  1  5.36416e-07
  2  1.04202
  3  1.33728
  4  1.38692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15308.5026921
delta logL = 7.07586877979e-10

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  0.000e+00  5.364e-07  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  2.980e+00  1.042e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  9.678e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.989e-01  1.387e+00  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  9.591e-01  1.337e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.259 -27.536

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/26194861/cmap_HighResolution_799027201_799632001_4FGL_J0145.0-2732_weekly_bin926.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-06', job_status='DONE', photon_flux_upper_limit='2.81e-08', time_completed='2026-05-05 00:27:16.704702', job_id='26194861', GAL2='1.00', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1777966036.7', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.08e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='926' AND source_name='4FGL J0145.0-2732' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May  5 00:27:16 PDT 2026

