number of points = 17264
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_J0309.9-6058_weekly_bin938
RA = 47.4921, Dec = -60.9733
tmin = 806284801, tmax = 806889601
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='33407190', job_status='RUN', time_executed='2026-07-28 02:48:09.391938', time_epoch_executed='1785232089.39' WHERE source_name='4FGL J0309.9-6058' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33407190

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33407190/ft1_4FGL_J0309.9-6058_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33407190/ft1_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407190/ft1_filteredMKT_4FGL_J0309.9-6058_weekly_bin938.fits ra=47.4921 dec=-60.9733 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.76
user 5.64
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.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/33407190/ft1_filteredMKT_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.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.95
user 0.24
sys 0.14

Number of photons that the gtmktime cut: 1451

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DAT
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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

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

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

/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).

A" outfile=/lscratch/kocevski/33407160/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407160/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 16.00
user 15.22
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33407160/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407160/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33407160/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407160/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407160/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 59.99
user 55.77
sys 3.52

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

Setting source of interest to:
4FGL J0309.9-6058 @ 47.4921 -60.9733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33407160/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407160/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407160/cmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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=47.4921 yref=-60.9733 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.80
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33407160/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407160/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407160/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_wee/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)
A" outfile=/lscratch/kocevski/33407163/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407163/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 16.30
user 15.38
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33407163/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407163/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33407163/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407163/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407163/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 60.05
user 55.70
sys 3.46

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

Setting source of interest to:
4FGL J0309.9-6058 @ 47.4921 -60.9733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33407163/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407163/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407163/cmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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=47.4921 yref=-60.9733 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.96
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33407163/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407163/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407163/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_wee
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

A" outfile=/lscratch/kocevski/33407190/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 21.41
user 20.03
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33407190/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407190/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407190/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 80.43
user 73.36
sys 4.56

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

Setting source of interest to:
4FGL J0309.9-6058 @ 47.4921 -60.9733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407190/cmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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=47.4921 yref=-60.9733 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.47
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407190/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weenumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0309.9-6058_weekly_bin938
RA = 47.4921, Dec = -60.9733
tmin = 806284801, tmax = 806889601
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='33407379', job_status='RUN', time_executed='2026-07-28 02:50:57.091687', time_epoch_executed='1785232257.09' WHERE source_name='4FGL J0309.9-6058' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33407379

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33407379/ft1_4FGL_J0309.9-6058_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33407379/ft1_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407379/ft1_filteredMKT_4FGL_J0309.9-6058_weekly_bin938.fits ra=47.4921 dec=-60.9733 rad=12.0 tmin=806284801.0 tmax=806889601.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.41
user 4.31
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.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/33407379/ft1_filteredMKT_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.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.02
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1451

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATnumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0309.9-6058_weekly_bin938
RA = 47.4921, Dec = -60.9733
tmin = 806284801, tmax = 806889601
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='33407389', job_status='RUN', time_executed='2026-07-28 02:51:16.088867', time_epoch_executed='1785232276.09' WHERE source_name='4FGL J0309.9-6058' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33407389

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33407389/ft1_4FGL_J0309.9-6058_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33407389/ft1_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407389/ft1_filteredMKT_4FGL_J0309.9-6058_weekly_bin938.fits ra=47.4921 dec=-60.9733 rad=12.0 tmin=806284801.0 tmax=806889601.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.83
user 4.80
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.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/33407389/ft1_filteredMKT_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.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.07
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1451

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33407379/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 16.14
user 15.18
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33407379/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407379/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407379/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 60.01
user 55.55
sys 3.43

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

Setting source of interest to:
4FGL J0309.9-6058 @ 47.4921 -60.9733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407379/cmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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=47.4921 yref=-60.9733 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.14
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407379/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weeA" outfile=/lscratch/kocevski/33407389/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 18.70
user 17.49
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33407389/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407389/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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/33407389/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
.....................!
real 65.77
user 60.80
sys 3.78

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

Setting source of interest to:
4FGL J0309.9-6058 @ 47.4921 -60.9733

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407389/cmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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=47.4921 yref=-60.9733 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.09
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits scfile=/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits outfile=/lscratch/kocevski/33407389/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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=47.4921 yref=-60.9733 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.94
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33407009/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407009/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33407009/Model_4FGL_J0309.9-6058_weekly_bin938.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/33407009/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits.....................!
real 4005.64
user 3988.00
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33407009/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits', '/lscratch/kocevski/33407009/ft2_4FGL_J0309.9-6058_weekly_bin938.fits', expMap='/lscratch/kocevski/33407009/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', expCube='/lscratch/kocevski/33407009/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33407009/Model_4FGL_J0309.9-6058_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0309.9-6058'

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.562e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33407009/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33407009/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33407009/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33407009/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33407009/Model_4FGL_J0309.9-6058_weekly_bin938.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) = 15768.3202777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69106       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34741E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8652       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0117       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16739E-03   1.0000          .0000       .10000E+07
     6 'norm      '    3.3905       1.0000          .0000       .10000E+07
     7 'norm      '    5.6922       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5710       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1063       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    39.460       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67124E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .61148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61192E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .63316E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16024E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22960E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14681E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .66287E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18912E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .27501       1.0000          .0000       .10000E+07
    24 'Prefactor '    16.646       1.0000          .0000       .10000E+07
    25 'Prefactor '    21.052       1.0000          .0000       .10000E+07
    26 'Normalizat'    .96303       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15768.26     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1945 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69229        1.5253        .18257E-06    .34656E-03
   2  Prefactor      .0000        3.7132       -.77457E-07** at limit **
   3  Prefactor     1.8669        2.3393       -.27695E-06    .18516E-04
   4  Prefactor     1.0127        1.3203        .65187E-07   -.28431E-03
   5  Prefactor      .0000        17.242       -.38857E-06** at limit **
   6  norm          3.3691        3.3731       -.13447E-06   -.29088E-03
   7  norm          5.6910        1.4322        .94130E-07   -.10167E-02
   8  Prefactor     3.5661        1.6602        .12395E-06    .48323E-03
   9  Prefactor     4.1023        5.4894        .20153E-07    .33418E-06
  10  Prefactor     53.205        26.890       -.89182E-06    .64171E-02
  11  Prefactor      .0000        .84634       -.44690E-07** at limit **
  12  Prefactor     39.454        6.2184        .23219E-06    .24331E-01
  13  Prefactor      .0000        4.8655       -.68520E-07** at limit **
  14  norm           .0000        1.1162       -.11387E-06** at limit **
  15  norm          .60975        .55771       -.98525E-07   -.49839E-03
  16  Prefactor      .0000        4.2460        .20267E-06** at limit **
  17  Prefactor      .0000        1.9524        .35022E-06** at limit **
  18  Prefactor      .0000        53.693        .10965E-05** at limit **
  19  Prefactor      .0000        2.2372        .47141E-06** at limit **
  20  Prefactor      .0000        14.951       -.21324E-06** at limit **
  21  Prefactor      .0000        3.9261       -.59234E-06** at limit **
  22  Prefactor      .0000        2.7999        .53036E-06** at limit **
  23  norm          .26255        5.7819       -.46937E-06    .26376E-03
  24  Prefactor     16.660        1.1575       -.48167E-08    .11565E-02
  25  Prefactor     20.877        1.3608       -.18167E-07   -.53689E-03
  26  Normalizat    .96297        .11464       -.45867E-05    .10431E-04
  27  Prefactor     .85595        .10062        .30375E-05    .21492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.69229
  Prefactor  = 0
  Prefactor  = 1.86689
  Prefactor  = 1.01269
  Prefactor  = 0
  norm       = 3.36914
  norm       = 5.691
  Prefactor  = 3.56611
  Prefactor  = 4.10229
  Prefactor  = 53.205
  Prefactor  = 0
  Prefactor  = 39.4537
  Prefactor  = 0
  norm       = 0
  norm       = 0.609747
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.262547
  Prefactor  = 16.6601
  Prefactor  = 20.8767
  Normalizat = 0.962965
  Prefactor  = 0.85595
 **********
 **   18 **HESSE 
 **********

 FCN=   15768.26     FROM HESSE     STATUS=OK           544 CALLS     2489 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69229        1.5455        .61437E-03   -1.5691    
   2  Prefactor      .0000        3.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8669        2.3559        .76252E-03   -1.5681    
   4  Prefactor     1.0127        1.3244        .44177E-03   -1.5688    
   5  Prefactor      .0000        17.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3691        3.3684        .54922E-03   -1.5671    
   7  norm          5.6910        1.4334        .42078E-03   -1.5660    
   8  Prefactor     3.5661        1.6622        .53456E-03   -1.5670    
   9  Prefactor     4.1023        5.4964        .49725E-03   -1.5667    
  10  Prefactor     53.205        27.909        .13796E-03   -1.5562    
  11  Prefactor      .0000        .84568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.454        23.923        .15921E-03   -1.5582    
  13  Prefactor      .0000        4.8694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60975        .55872        .68206E-04   -1.5692    
  16  Prefactor      .0000        4.2453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        53.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.2214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        14.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.9252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.8033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .26255        1.0519        .69588E-02   -1.5698    
  24  Prefactor     16.660        10.390        .24521E-03   -1.5626    
  25  Prefactor     20.877        19.080        .21801E-03   -1.5617    
  26  Normalizat    .96297        .99155E-01    .45702E-01   -.94282    
  27  Prefactor     .85595        .86829E-01    .44441E-01   -.97698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74585e-08
Minuit parameter uncertainties:
  1  1.54545
  2  5.50338e-06
  3  2.35586
  4  1.32445
  5  1.35864e-05
  6  3.3684
  7  1.43337
  8  1.66216
  9  5.49643
  10  27.9095
  11  7.68901e-07
  12  23.9233
  13  4.10298e-06
  14  2.25031e-06
  15  0.558724
  16  1.37266e-05
  17  5.81877e-06
  18  4.27382e-05
  19  1.91339e-06
  20  2.68859e-05
  21  4.85678e-06
  22  1.00005e-05
  23  1.05106
  24  10.3899
  25  19.0804
  26  0.099174
  27  0.086843
Done.

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

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  6.097e-01  5.587e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.560e-01  8.684e-02  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.630e-01  9.917e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 6.24e-06 +/- 5.72e-06

TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Flux Upper Limit: 5.91258838963e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76992388167e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33407009/likelihoodResults_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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): 102
logL (Free Index) = 15767.2401374
delta logL = 1.01569387876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15767.161936
delta logL = 1.09389525996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11039       1.0000          .0000       .10000E+07
     2 'alpha     '    4.6114       1.0000          .0000       5.0000    
     3 'Normalizat'    .91442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15767.16     FROM MIGRAD    STATUS=FAILED        94 CALLS      275 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .23721E-04** at limit **
   2  alpha         4.6127        3.2627        .48631E-01   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .23819E-03   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .21560E-03   -.46719E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15767.16     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      359 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .55316E-05** at limit **
   2  alpha         4.6127        3.2627        .86555E-02   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .95120E-04   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .32509E-04   -.46719E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15767.16     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      393 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        .69502        .47442E-05** at limit **
   2  alpha         4.6127        4.7881        .19452E-02   -.10637E-05
   3  Normalizat    .91448        .11753        .95278E-05   -.19091E-04
   4  Prefactor     .88711        .10351        .86240E-05   -.46930E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110314
  alpha      = 4.61274
  Normalizat = 0.914483
  Prefactor  = 0.887112
 **********
 **   18 **HESSE 
 **********

 FCN=   15767.16     FROM HESSE     STATUS=OK            25 CALLS      418 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11031        .30180        .18977E-06   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6127        4.1463        .77809E-04    1.0067    
   3  Normalizat    .91448        .11700        .19056E-05   -.95953    
   4  Prefactor     .88711        .10239        .17248E-05   -.96593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40231e-12
Minuit parameter uncertainties:
  1  0.301801
  2  2.00246
  3  0.117033
  4  0.102417
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) = 15767.1619335
delta logL = 1.09389779047

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.103e-01  3.018e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  4.613e+00  2.002e+00  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.871e-01  1.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.145e-01  1.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.93
Ra Dec: 47.492 -60.973
Photon Index (Free Index): 4.61 +/- 2.00
Photon Flux (Free Index): 5.40e-08 +/- 3.21e-08
Energy Flux (Free Index): 7.62e-06 +/- 4.67e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33407009/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='7.62e-06', photon_flux_error='1.91e-08', dlogl='1.09e+00', energy_flux='6.24e-06', photon_flux2='5.40e-08', job_status='DONE', time_completed='2026-07-28 04:00:04.453687', photon_index_error2='2.00', photon_index2='4.61', ts='1.53', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='5.91e-08', energy_flux_error2='4.67e-06', EG='0.96', time_epoch_completed='1785236404.45', return_code='0', job_id='33407009', GAL2='0.89', EG2='0.91', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='3.21e-08', ts2='3.93', photon_index='2.41' WHERE bin_id='938' AND source_name='4FGL J0309.9-6058' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 04:00:04 PDT 2026

kly_bin938.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=47.4921 yref=-60.9733 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33407163/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407163/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33407163/Model_4FGL_J0309.9-6058_weekly_bin938.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/33407163/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits.....................!
real 4030.46
user 4011.78
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33407163/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits', '/lscratch/kocevski/33407163/ft2_4FGL_J0309.9-6058_weekly_bin938.fits', expMap='/lscratch/kocevski/33407163/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', expCube='/lscratch/kocevski/33407163/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33407163/Model_4FGL_J0309.9-6058_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0309.9-6058'

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.562e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33407163/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33407163/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33407163/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33407163/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33407163/Model_4FGL_J0309.9-6058_weekly_bin938.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) = 15768.3202777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69106       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34741E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8652       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0117       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16739E-03   1.0000          .0000       .10000E+07
     6 'norm      '    3.3905       1.0000          .0000       .10000E+07
     7 'norm      '    5.6922       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5710       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1063       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    39.460       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67124E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .61148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61192E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .63316E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16024E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22960E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14681E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .66287E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18912E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .27501       1.0000          .0000       .10000E+07
    24 'Prefactor '    16.646       1.0000          .0000       .10000E+07
    25 'Prefactor '    21.052       1.0000          .0000       .10000E+07
    26 'Normalizat'    .96303       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15768.26     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1945 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69229        1.5253        .18257E-06    .34656E-03
   2  Prefactor      .0000        3.7132       -.77457E-07** at limit **
   3  Prefactor     1.8669        2.3393       -.27695E-06    .18516E-04
   4  Prefactor     1.0127        1.3203        .65187E-07   -.28431E-03
   5  Prefactor      .0000        17.242       -.38857E-06** at limit **
   6  norm          3.3691        3.3731       -.13447E-06   -.29088E-03
   7  norm          5.6910        1.4322        .94130E-07   -.10167E-02
   8  Prefactor     3.5661        1.6602        .12395E-06    .48323E-03
   9  Prefactor     4.1023        5.4894        .20153E-07    .33418E-06
  10  Prefactor     53.205        26.890       -.89182E-06    .64171E-02
  11  Prefactor      .0000        .84634       -.44690E-07** at limit **
  12  Prefactor     39.454        6.2184        .23219E-06    .24331E-01
  13  Prefactor      .0000        4.8655       -.68520E-07** at limit **
  14  norm           .0000        1.1162       -.11387E-06** at limit **
  15  norm          .60975        .55771       -.98525E-07   -.49839E-03
  16  Prefactor      .0000        4.2460        .20267E-06** at limit **
  17  Prefactor      .0000        1.9524        .35022E-06** at limit **
  18  Prefactor      .0000        53.693        .10965E-05** at limit **
  19  Prefactor      .0000        2.2372        .47141E-06** at limit **
  20  Prefactor      .0000        14.951       -.21324E-06** at limit **
  21  Prefactor      .0000        3.9261       -.59234E-06** at limit **
  22  Prefactor      .0000        2.7999        .53036E-06** at limit **
  23  norm          .26255        5.7819       -.46937E-06    .26376E-03
  24  Prefactor     16.660        1.1575       -.48167E-08    .11565E-02
  25  Prefactor     20.877        1.3608       -.18167E-07   -.53689E-03
  26  Normalizat    .96297        .11464       -.45867E-05    .10431E-04
  27  Prefactor     .85595        .10062        .30375E-05    .21492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.69229
  Prefactor  = 0
  Prefactor  = 1.86689
  Prefactor  = 1.01269
  Prefactor  = 0
  norm       = 3.36914
  norm       = 5.691
  Prefactor  = 3.56611
  Prefactor  = 4.10229
  Prefactor  = 53.205
  Prefactor  = 0
  Prefactor  = 39.4537
  Prefactor  = 0
  norm       = 0
  norm       = 0.609747
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.262547
  Prefactor  = 16.6601
  Prefactor  = 20.8767
  Normalizat = 0.962965
  Prefactor  = 0.85595
kly_bin938.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=47.4921 yref=-60.9733 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.87
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33407160/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407160/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33407160/Model_4FGL_J0309.9-6058_weekly_bin938.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/33407160/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits.....................!
real 4088.73
user 4069.94
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33407160/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits', '/lscratch/kocevski/33407160/ft2_4FGL_J0309.9-6058_weekly_bin938.fits', expMap='/lscratch/kocevski/33407160/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', expCube='/lscratch/kocevski/33407160/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33407160/Model_4FGL_J0309.9-6058_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0309.9-6058'

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.562e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33407160/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33407160/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33407160/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33407160/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33407160/Model_4FGL_J0309.9-6058_weekly_bin938.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) = 15768.3202777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69106       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34741E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8652       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0117       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16739E-03   1.0000          .0000       .10000E+07
     6 'norm      '    3.3905       1.0000          .0000       .10000E+07
     7 'norm      '    5.6922       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5710       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1063       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    39.460       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67124E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .61148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61192E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .63316E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16024E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22960E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14681E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .66287E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18912E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .27501       1.0000          .0000       .10000E+07
    24 'Prefactor '    16.646       1.0000          .0000       .10000E+07
    25 'Prefactor '    21.052       1.0000          .0000       .10000E+07
    26 'Normalizat'    .96303       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15768.26     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1945 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69229        1.5253        .18257E-06    .34656E-03
   2  Prefactor      .0000        3.7132       -.77457E-07** at limit **
   3  Prefactor     1.8669        2.3393       -.27695E-06    .18516E-04
   4  Prefactor     1.0127        1.3203        .65187E-07   -.28431E-03
   5  Prefactor      .0000        17.242       -.38857E-06** at limit **
   6  norm          3.3691        3.3731       -.13447E-06   -.29088E-03
   7  norm          5.6910        1.4322        .94130E-07   -.10167E-02
   8  Prefactor     3.5661        1.6602        .12395E-06    .48323E-03
   9  Prefactor     4.1023        5.4894        .20153E-07    .33418E-06
  10  Prefactor     53.205        26.890       -.89182E-06    .64171E-02
  11  Prefactor      .0000        .84634       -.44690E-07** at limit **
  12  Prefactor     39.454        6.2184        .23219E-06    .24331E-01
  13  Prefactor      .0000        4.8655       -.68520E-07** at limit **
  14  norm           .0000        1.1162       -.11387E-06** at limit **
  15  norm          .60975        .55771       -.98525E-07   -.49839E-03
  16  Prefactor      .0000        4.2460        .20267E-06** at limit **
  17  Prefactor      .0000        1.9524        .35022E-06** at limit **
  18  Prefactor      .0000        53.693        .10965E-05** at limit **
  19  Prefactor      .0000        2.2372        .47141E-06** at limit **
  20  Prefactor      .0000        14.951       -.21324E-06** at limit **
  21  Prefactor      .0000        3.9261       -.59234E-06** at limit **
  22  Prefactor      .0000        2.7999        .53036E-06** at limit **
  23  norm          .26255        5.7819       -.46937E-06    .26376E-03
  24  Prefactor     16.660        1.1575       -.48167E-08    .11565E-02
  25  Prefactor     20.877        1.3608       -.18167E-07   -.53689E-03
  26  Normalizat    .96297        .11464       -.45867E-05    .10431E-04
  27  Prefactor     .85595        .10062        .30375E-05    .21492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.69229
  Prefactor  = 0
  Prefactor  = 1.86689
  Prefactor  = 1.01269
  Prefactor  = 0
  norm       = 3.36914
  norm       = 5.691
  Prefactor  = 3.56611
  Prefactor  = 4.10229
  Prefactor  = 53.205
  Prefactor  = 0
  Prefactor  = 39.4537
  Prefactor  = 0
  norm       = 0
  norm       = 0.609747
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.262547
  Prefactor  = 16.6601
  Prefactor  = 20.8767
  Normalizat = 0.962965
  Prefactor  = 0.85595
 **********
 **   18 **HESSE 
 **********

 FCN=   15768.26     FROM HESSE     STATUS=OK           544 CALLS     2489 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69229        1.5455        .61437E-03   -1.5691    
   2  Prefactor      .0000        3.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8669        2.3559        .76252E-03   -1.5681    
   4  Prefactor     1.0127        1.3244        .44177E-03   -1.5688    
   5  Prefactor      .0000        17.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3691        3.3684        .54922E-03   -1.5671    
   7  norm          5.6910        1.4334        .42078E-03   -1.5660    
   8  Prefactor     3.5661        1.6622        .53456E-03   -1.5670    
   9  Prefactor     4.1023        5.4964        .49725E-03   -1.5667    
  10  Prefactor     53.205        27.909        .13796E-03   -1.5562    
  11  Prefactor      .0000        .84568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.454        23.923        .15921E-03   -1.5582    
  13  Prefactor      .0000        4.8694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60975        .55872        .68206E-04   -1.5692    
  16  Prefactor      .0000        4.2453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        53.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.2214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        14.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.9252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.8033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .26255        1.0519        .69588E-02   -1.5698    
  24  Prefactor     16.660        10.390        .24521E-03   -1.5626    
  25  Prefactor     20.877        19.080        .21801E-03   -1.5617    
  26  Normalizat    .96297        .99155E-01    .45702E-01   -.94282    
  27  Prefactor     .85595        .86829E-01    .44441E-01   -.97698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74585e-08
Minuit parameter uncertainties:
  1  1.54545
  2  5.50338e-06
  3  2.35586
  4  1.32445
  5  1.35864e-05
  6  3.3684
  7  1.43337
  8  1.66216
  9  5.49643
  10  27.9095
  11  7.68901e-07
  12  23.9233
  13  4.10298e-06
  14  2.25031e-06
  15  0.558724
  16  1.37266e-05
  17  5.81877e-06
  18  4.27382e-05
  19  1.91339e-06
  20  2.68859e-05
  21  4.85678e-06
  22  1.00005e-05
  23  1.05106
  24  10.3899
  25  19.0804
  26  0.099174
  27  0.086843
 **********
 **   18 **HESSE 
 **********

 FCN=   15768.26     FROM HESSE     STATUS=OK           544 CALLS     2489 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69229        1.5455        .61437E-03   -1.5691    
   2  Prefactor      .0000        3.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8669        2.3559        .76252E-03   -1.5681    
   4  Prefactor     1.0127        1.3244        .44177E-03   -1.5688    
   5  Prefactor      .0000        17.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3691        3.3684        .54922E-03   -1.5671    
   7  norm          5.6910        1.4334        .42078E-03   -1.5660    
   8  Prefactor     3.5661        1.6622        .53456E-03   -1.5670    
   9  Prefactor     4.1023        5.4964        .49725E-03   -1.5667    
  10  Prefactor     53.205        27.909        .13796E-03   -1.5562    
  11  Prefactor      .0000        .84568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.454        23.923        .15921E-03   -1.5582    
  13  Prefactor      .0000        4.8694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60975        .55872        .68206E-04   -1.5692    
  16  Prefactor      .0000        4.2453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        53.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.2214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        14.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.9252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.8033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .26255        1.0519        .69588E-02   -1.5698    
  24  Prefactor     16.660        10.390        .24521E-03   -1.5626    
  25  Prefactor     20.877        19.080        .21801E-03   -1.5617    
  26  Normalizat    .96297        .99155E-01    .45702E-01   -.94282    
  27  Prefactor     .85595        .86829E-01    .44441E-01   -.97698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74585e-08
Minuit parameter uncertainties:
  1  1.54545
  2  5.50338e-06
  3  2.35586
  4  1.32445
  5  1.35864e-05
  6  3.3684
  7  1.43337
  8  1.66216
  9  5.49643
  10  27.9095
  11  7.68901e-07
  12  23.9233
  13  4.10298e-06
  14  2.25031e-06
  15  0.558724
  16  1.37266e-05
  17  5.81877e-06
  18  4.27382e-05
  19  1.91339e-06
  20  2.68859e-05
  21  4.85678e-06
  22  1.00005e-05
  23  1.05106
  24  10.3899
  25  19.0804
  26  0.099174
  27  0.086843
Done.

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

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  6.097e-01  5.587e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.560e-01  8.684e-02  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.630e-01  9.917e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 6.24e-06 +/- 5.72e-06

TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Flux Upper Limit: 5.91258838963e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76992388167e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33407163/likelihoodResults_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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): 102
logL (Free Index) = 15767.2401374
delta logL = 1.01569387876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15767.161936
delta logL = 1.09389525996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11039       1.0000          .0000       .10000E+07
     2 'alpha     '    4.6114       1.0000          .0000       5.0000    
     3 'Normalizat'    .91442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15767.16     FROM MIGRAD    STATUS=FAILED        94 CALLS      275 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .23721E-04** at limit **
   2  alpha         4.6127        3.2627        .48631E-01   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .23819E-03   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .21560E-03   -.46719E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15767.16     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      359 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .55316E-05** at limit **
   2  alpha         4.6127        3.2627        .86555E-02   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .95120E-04   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .32509E-04   -.46719E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15767.16     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      393 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        .69502        .47442E-05** at limit **
   2  alpha         4.6127        4.7881        .19452E-02   -.10637E-05
   3  Normalizat    .91448        .11753        .95278E-05   -.19091E-04
   4  Prefactor     .88711        .10351        .86240E-05   -.46930E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110314
  alpha      = 4.61274
  Normalizat = 0.914483
  Prefactor  = 0.887112
 **********
 **   18 **HESSE 
 **********

 FCN=   15767.16     FROM HESSE     STATUS=OK            25 CALLS      418 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11031        .30180        .18977E-06   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6127        4.1463        .77809E-04    1.0067    
   3  Normalizat    .91448        .11700        .19056E-05   -.95953    
   4  Prefactor     .88711        .10239        .17248E-05   -.96593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40231e-12
Minuit parameter uncertainties:
  1  0.301801
  2  2.00246
  3  0.117033
  4  0.102417
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) = 15767.1619335
delta logL = 1.09389779047

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.103e-01  3.018e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  4.613e+00  2.002e+00  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.871e-01  1.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.145e-01  1.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.93
Ra Dec: 47.492 -60.973
Photon Index (Free Index): 4.61 +/- 2.00
Photon Flux (Free Index): 5.40e-08 +/- 3.21e-08
Energy Flux (Free Index): 7.62e-06 +/- 4.67e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33407163/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='7.62e-06', photon_flux_error='1.91e-08', dlogl='1.09e+00', energy_flux='6.24e-06', photon_flux2='5.40e-08', job_status='DONE', time_completed='2026-07-28 04:04:04.902675', photon_index_error2='2.00', photon_index2='4.61', ts='1.53', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='5.91e-08', energy_flux_error2='4.67e-06', EG='0.96', time_epoch_completed='1785236644.9', return_code='0', job_id='33407163', GAL2='0.89', EG2='0.91', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='3.21e-08', ts2='3.93', photon_index='2.41' WHERE bin_id='938' AND source_name='4FGL J0309.9-6058' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 04:04:05 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  6.097e-01  5.587e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.560e-01  8.684e-02  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.630e-01  9.917e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 6.24e-06 +/- 5.72e-06

TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Flux Upper Limit: 5.91258838963e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76992388167e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33407160/likelihoodResults_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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): 102
logL (Free Index) = 15767.2401374
delta logL = 1.01569387876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15767.161936
delta logL = 1.09389525996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11039       1.0000          .0000       .10000E+07
     2 'alpha     '    4.6114       1.0000          .0000       5.0000    
     3 'Normalizat'    .91442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15767.16     FROM MIGRAD    STATUS=FAILED        94 CALLS      275 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .23721E-04** at limit **
   2  alpha         4.6127        3.2627        .48631E-01   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .23819E-03   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .21560E-03   -.46719E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15767.16     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      359 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .55316E-05** at limit **
   2  alpha         4.6127        3.2627        .86555E-02   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .95120E-04   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .32509E-04   -.46719E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15767.16     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      393 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        .69502        .47442E-05** at limit **
   2  alpha         4.6127        4.7881        .19452E-02   -.10637E-05
   3  Normalizat    .91448        .11753        .95278E-05   -.19091E-04
   4  Prefactor     .88711        .10351        .86240E-05   -.46930E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110314
  alpha      = 4.61274
  Normalizat = 0.914483
  Prefactor  = 0.887112
 **********
 **   18 **HESSE 
 **********

 FCN=   15767.16     FROM HESSE     STATUS=OK            25 CALLS      418 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11031        .30180        .18977E-06   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6127        4.1463        .77809E-04    1.0067    
   3  Normalizat    .91448        .11700        .19056E-05   -.95953    
   4  Prefactor     .88711        .10239        .17248E-05   -.96593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40231e-12
Minuit parameter uncertainties:
  1  0.301801
  2  2.00246
  3  0.117033
  4  0.102417
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) = 15767.1619335
delta logL = 1.09389779047

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.103e-01  3.018e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  4.613e+00  2.002e+00  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.871e-01  1.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.145e-01  1.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.93
Ra Dec: 47.492 -60.973
Photon Index (Free Index): 4.61 +/- 2.00
Photon Flux (Free Index): 5.40e-08 +/- 3.21e-08
Energy Flux (Free Index): 7.62e-06 +/- 4.67e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33407160/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='7.62e-06', photon_flux_error='1.91e-08', dlogl='1.09e+00', energy_flux='6.24e-06', photon_flux2='5.40e-08', job_status='DONE', time_completed='2026-07-28 04:04:45.345068', photon_index_error2='2.00', photon_index2='4.61', ts='1.53', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='5.91e-08', energy_flux_error2='4.67e-06', EG='0.96', time_epoch_completed='1785236685.35', return_code='0', job_id='33407160', GAL2='0.89', EG2='0.91', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='3.21e-08', ts2='3.93', photon_index='2.41' WHERE bin_id='938' AND source_name='4FGL J0309.9-6058' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 04:04:45 PDT 2026

kly_bin938.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=47.4921 yref=-60.9733 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.13
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33407379/Model_4FGL_J0309.9-6058_weekly_bin938.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits.....................!
real 4035.49
user 4018.45
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits', '/lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits', expMap='/lscratch/kocevski/33407379/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', expCube='/lscratch/kocevski/33407379/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33407379/Model_4FGL_J0309.9-6058_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0309.9-6058'

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.562e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33407379/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33407379/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33407379/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33407379/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33407379/Model_4FGL_J0309.9-6058_weekly_bin938.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) = 15768.3202777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69106       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34741E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8652       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0117       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16739E-03   1.0000          .0000       .10000E+07
     6 'norm      '    3.3905       1.0000          .0000       .10000E+07
     7 'norm      '    5.6922       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5710       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1063       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    39.460       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67124E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .61148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61192E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .63316E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16024E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22960E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14681E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .66287E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18912E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .27501       1.0000          .0000       .10000E+07
    24 'Prefactor '    16.646       1.0000          .0000       .10000E+07
    25 'Prefactor '    21.052       1.0000          .0000       .10000E+07
    26 'Normalizat'    .96303       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15768.26     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1945 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69229        1.5253        .18257E-06    .34656E-03
   2  Prefactor      .0000        3.7132       -.77457E-07** at limit **
   3  Prefactor     1.8669        2.3393       -.27695E-06    .18516E-04
   4  Prefactor     1.0127        1.3203        .65187E-07   -.28431E-03
   5  Prefactor      .0000        17.242       -.38857E-06** at limit **
   6  norm          3.3691        3.3731       -.13447E-06   -.29088E-03
   7  norm          5.6910        1.4322        .94130E-07   -.10167E-02
   8  Prefactor     3.5661        1.6602        .12395E-06    .48323E-03
   9  Prefactor     4.1023        5.4894        .20153E-07    .33418E-06
  10  Prefactor     53.205        26.890       -.89182E-06    .64171E-02
  11  Prefactor      .0000        .84634       -.44690E-07** at limit **
  12  Prefactor     39.454        6.2184        .23219E-06    .24331E-01
  13  Prefactor      .0000        4.8655       -.68520E-07** at limit **
  14  norm           .0000        1.1162       -.11387E-06** at limit **
  15  norm          .60975        .55771       -.98525E-07   -.49839E-03
  16  Prefactor      .0000        4.2460        .20267E-06** at limit **
  17  Prefactor      .0000        1.9524        .35022E-06** at limit **
  18  Prefactor      .0000        53.693        .10965E-05** at limit **
  19  Prefactor      .0000        2.2372        .47141E-06** at limit **
  20  Prefactor      .0000        14.951       -.21324E-06** at limit **
  21  Prefactor      .0000        3.9261       -.59234E-06** at limit **
  22  Prefactor      .0000        2.7999        .53036E-06** at limit **
  23  norm          .26255        5.7819       -.46937E-06    .26376E-03
  24  Prefactor     16.660        1.1575       -.48167E-08    .11565E-02
  25  Prefactor     20.877        1.3608       -.18167E-07   -.53689E-03
  26  Normalizat    .96297        .11464       -.45867E-05    .10431E-04
  27  Prefactor     .85595        .10062        .30375E-05    .21492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.69229
  Prefactor  = 0
  Prefactor  = 1.86689
  Prefactor  = 1.01269
  Prefactor  = 0
  norm       = 3.36914
  norm       = 5.691
  Prefactor  = 3.56611
  Prefactor  = 4.10229
  Prefactor  = 53.205
  Prefactor  = 0
  Prefactor  = 39.4537
  Prefactor  = 0
  norm       = 0
  norm       = 0.609747
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.262547
  Prefactor  = 16.6601
  Prefactor  = 20.8767
  Normalizat = 0.962965
  Prefactor  = 0.85595
kly_bin938.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=47.4921 yref=-60.9733 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.13
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33407389/Model_4FGL_J0309.9-6058_weekly_bin938.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits.....................!
real 4005.07
user 3985.44
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits', '/lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits', expMap='/lscratch/kocevski/33407389/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', expCube='/lscratch/kocevski/33407389/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33407389/Model_4FGL_J0309.9-6058_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0309.9-6058'

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.562e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33407389/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33407389/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33407389/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33407389/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33407389/Model_4FGL_J0309.9-6058_weekly_bin938.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) = 15768.3202777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69106       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34741E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8652       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0117       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16739E-03   1.0000          .0000       .10000E+07
     6 'norm      '    3.3905       1.0000          .0000       .10000E+07
     7 'norm      '    5.6922       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5710       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1063       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    39.460       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67124E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .61148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61192E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .63316E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16024E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22960E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14681E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .66287E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18912E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .27501       1.0000          .0000       .10000E+07
    24 'Prefactor '    16.646       1.0000          .0000       .10000E+07
    25 'Prefactor '    21.052       1.0000          .0000       .10000E+07
    26 'Normalizat'    .96303       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15768.26     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1945 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69229        1.5253        .18257E-06    .34656E-03
   2  Prefactor      .0000        3.7132       -.77457E-07** at limit **
   3  Prefactor     1.8669        2.3393       -.27695E-06    .18516E-04
   4  Prefactor     1.0127        1.3203        .65187E-07   -.28431E-03
   5  Prefactor      .0000        17.242       -.38857E-06** at limit **
   6  norm          3.3691        3.3731       -.13447E-06   -.29088E-03
   7  norm          5.6910        1.4322        .94130E-07   -.10167E-02
   8  Prefactor     3.5661        1.6602        .12395E-06    .48323E-03
   9  Prefactor     4.1023        5.4894        .20153E-07    .33418E-06
  10  Prefactor     53.205        26.890       -.89182E-06    .64171E-02
  11  Prefactor      .0000        .84634       -.44690E-07** at limit **
  12  Prefactor     39.454        6.2184        .23219E-06    .24331E-01
  13  Prefactor      .0000        4.8655       -.68520E-07** at limit **
  14  norm           .0000        1.1162       -.11387E-06** at limit **
  15  norm          .60975        .55771       -.98525E-07   -.49839E-03
  16  Prefactor      .0000        4.2460        .20267E-06** at limit **
  17  Prefactor      .0000        1.9524        .35022E-06** at limit **
  18  Prefactor      .0000        53.693        .10965E-05** at limit **
  19  Prefactor      .0000        2.2372        .47141E-06** at limit **
  20  Prefactor      .0000        14.951       -.21324E-06** at limit **
  21  Prefactor      .0000        3.9261       -.59234E-06** at limit **
  22  Prefactor      .0000        2.7999        .53036E-06** at limit **
  23  norm          .26255        5.7819       -.46937E-06    .26376E-03
  24  Prefactor     16.660        1.1575       -.48167E-08    .11565E-02
  25  Prefactor     20.877        1.3608       -.18167E-07   -.53689E-03
  26  Normalizat    .96297        .11464       -.45867E-05    .10431E-04
  27  Prefactor     .85595        .10062        .30375E-05    .21492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.69229
  Prefactor  = 0
  Prefactor  = 1.86689
  Prefactor  = 1.01269
  Prefactor  = 0
  norm       = 3.36914
  norm       = 5.691
  Prefactor  = 3.56611
  Prefactor  = 4.10229
  Prefactor  = 53.205
  Prefactor  = 0
  Prefactor  = 39.4537
  Prefactor  = 0
  norm       = 0
  norm       = 0.609747
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.262547
  Prefactor  = 16.6601
  Prefactor  = 20.8767
  Normalizat = 0.962965
  Prefactor  = 0.85595
 **********
 **   18 **HESSE 
 **********

 FCN=   15768.26     FROM HESSE     STATUS=OK           544 CALLS     2489 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69229        1.5455        .61437E-03   -1.5691    
   2  Prefactor      .0000        3.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8669        2.3559        .76252E-03   -1.5681    
   4  Prefactor     1.0127        1.3244        .44177E-03   -1.5688    
   5  Prefactor      .0000        17.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3691        3.3684        .54922E-03   -1.5671    
   7  norm          5.6910        1.4334        .42078E-03   -1.5660    
   8  Prefactor     3.5661        1.6622        .53456E-03   -1.5670    
   9  Prefactor     4.1023        5.4964        .49725E-03   -1.5667    
  10  Prefactor     53.205        27.909        .13796E-03   -1.5562    
  11  Prefactor      .0000        .84568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.454        23.923        .15921E-03   -1.5582    
  13  Prefactor      .0000        4.8694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60975        .55872        .68206E-04   -1.5692    
  16  Prefactor      .0000        4.2453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        53.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.2214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        14.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.9252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.8033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .26255        1.0519        .69588E-02   -1.5698    
  24  Prefactor     16.660        10.390        .24521E-03   -1.5626    
  25  Prefactor     20.877        19.080        .21801E-03   -1.5617    
  26  Normalizat    .96297        .99155E-01    .45702E-01   -.94282    
  27  Prefactor     .85595        .86829E-01    .44441E-01   -.97698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74585e-08
Minuit parameter uncertainties:
  1  1.54545
  2  5.50338e-06
  3  2.35586
  4  1.32445
  5  1.35864e-05
  6  3.3684
  7  1.43337
  8  1.66216
  9  5.49643
  10  27.9095
  11  7.68901e-07
  12  23.9233
  13  4.10298e-06
  14  2.25031e-06
  15  0.558724
  16  1.37266e-05
  17  5.81877e-06
  18  4.27382e-05
  19  1.91339e-06
  20  2.68859e-05
  21  4.85678e-06
  22  1.00005e-05
  23  1.05106
  24  10.3899
  25  19.0804
  26  0.099174
  27  0.086843
 **********
 **   18 **HESSE 
 **********

 FCN=   15768.26     FROM HESSE     STATUS=OK           544 CALLS     2489 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69229        1.5455        .61437E-03   -1.5691    
   2  Prefactor      .0000        3.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8669        2.3559        .76252E-03   -1.5681    
   4  Prefactor     1.0127        1.3244        .44177E-03   -1.5688    
   5  Prefactor      .0000        17.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3691        3.3684        .54922E-03   -1.5671    
   7  norm          5.6910        1.4334        .42078E-03   -1.5660    
   8  Prefactor     3.5661        1.6622        .53456E-03   -1.5670    
   9  Prefactor     4.1023        5.4964        .49725E-03   -1.5667    
  10  Prefactor     53.205        27.909        .13796E-03   -1.5562    
  11  Prefactor      .0000        .84568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.454        23.923        .15921E-03   -1.5582    
  13  Prefactor      .0000        4.8694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60975        .55872        .68206E-04   -1.5692    
  16  Prefactor      .0000        4.2453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        53.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.2214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        14.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.9252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.8033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .26255        1.0519        .69588E-02   -1.5698    
  24  Prefactor     16.660        10.390        .24521E-03   -1.5626    
  25  Prefactor     20.877        19.080        .21801E-03   -1.5617    
  26  Normalizat    .96297        .99155E-01    .45702E-01   -.94282    
  27  Prefactor     .85595        .86829E-01    .44441E-01   -.97698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74585e-08
Minuit parameter uncertainties:
  1  1.54545
  2  5.50338e-06
  3  2.35586
  4  1.32445
  5  1.35864e-05
  6  3.3684
  7  1.43337
  8  1.66216
  9  5.49643
  10  27.9095
  11  7.68901e-07
  12  23.9233
  13  4.10298e-06
  14  2.25031e-06
  15  0.558724
  16  1.37266e-05
  17  5.81877e-06
  18  4.27382e-05
  19  1.91339e-06
  20  2.68859e-05
  21  4.85678e-06
  22  1.00005e-05
  23  1.05106
  24  10.3899
  25  19.0804
  26  0.099174
  27  0.086843
Done.

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

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  6.097e-01  5.587e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.560e-01  8.684e-02  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.630e-01  9.917e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 6.24e-06 +/- 5.72e-06

TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Flux Upper Limit: 5.91258838963e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76992388167e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33407379/likelihoodResults_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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): 102
logL (Free Index) = 15767.2401374
delta logL = 1.01569387876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15767.161936
delta logL = 1.09389525996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11039       1.0000          .0000       .10000E+07
     2 'alpha     '    4.6114       1.0000          .0000       5.0000    
     3 'Normalizat'    .91442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15767.16     FROM MIGRAD    STATUS=FAILED        94 CALLS      275 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .23721E-04** at limit **
   2  alpha         4.6127        3.2627        .48631E-01   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .23819E-03   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .21560E-03   -.46719E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15767.16     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      359 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .55316E-05** at limit **
   2  alpha         4.6127        3.2627        .86555E-02   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .95120E-04   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .32509E-04   -.46719E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15767.16     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      393 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        .69502        .47442E-05** at limit **
   2  alpha         4.6127        4.7881        .19452E-02   -.10637E-05
   3  Normalizat    .91448        .11753        .95278E-05   -.19091E-04
   4  Prefactor     .88711        .10351        .86240E-05   -.46930E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110314
  alpha      = 4.61274
  Normalizat = 0.914483
  Prefactor  = 0.887112
 **********
 **   18 **HESSE 
 **********

 FCN=   15767.16     FROM HESSE     STATUS=OK            25 CALLS      418 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11031        .30180        .18977E-06   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6127        4.1463        .77809E-04    1.0067    
   3  Normalizat    .91448        .11700        .19056E-05   -.95953    
   4  Prefactor     .88711        .10239        .17248E-05   -.96593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40231e-12
Minuit parameter uncertainties:
  1  0.301801
  2  2.00246
  3  0.117033
  4  0.102417
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) = 15767.1619335
delta logL = 1.09389779047

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.103e-01  3.018e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  4.613e+00  2.002e+00  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.871e-01  1.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.145e-01  1.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.93
Ra Dec: 47.492 -60.973
Photon Index (Free Index): 4.61 +/- 2.00
Photon Flux (Free Index): 5.40e-08 +/- 3.21e-08
Energy Flux (Free Index): 7.62e-06 +/- 4.67e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33407379/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='7.62e-06', photon_flux_error='1.91e-08', dlogl='1.09e+00', energy_flux='6.24e-06', photon_flux2='5.40e-08', job_status='DONE', time_completed='2026-07-28 04:10:34.169669', photon_index_error2='2.00', photon_index2='4.61', ts='1.53', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='5.91e-08', energy_flux_error2='4.67e-06', EG='0.96', time_epoch_completed='1785237034.17', return_code='0', job_id='33407379', GAL2='0.89', EG2='0.91', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='3.21e-08', ts2='3.93', photon_index='2.41' WHERE bin_id='938' AND source_name='4FGL J0309.9-6058' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 04:10:34 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  6.097e-01  5.587e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.560e-01  8.684e-02  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.630e-01  9.917e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 6.24e-06 +/- 5.72e-06

TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Flux Upper Limit: 5.91258838963e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76992388167e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33407389/likelihoodResults_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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): 102
logL (Free Index) = 15767.2401374
delta logL = 1.01569387876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15767.161936
delta logL = 1.09389525996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11039       1.0000          .0000       .10000E+07
     2 'alpha     '    4.6114       1.0000          .0000       5.0000    
     3 'Normalizat'    .91442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15767.16     FROM MIGRAD    STATUS=FAILED        94 CALLS      275 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .23721E-04** at limit **
   2  alpha         4.6127        3.2627        .48631E-01   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .23819E-03   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .21560E-03   -.46719E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15767.16     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      359 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .55316E-05** at limit **
   2  alpha         4.6127        3.2627        .86555E-02   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .95120E-04   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .32509E-04   -.46719E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15767.16     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      393 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        .69502        .47442E-05** at limit **
   2  alpha         4.6127        4.7881        .19452E-02   -.10637E-05
   3  Normalizat    .91448        .11753        .95278E-05   -.19091E-04
   4  Prefactor     .88711        .10351        .86240E-05   -.46930E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110314
  alpha      = 4.61274
  Normalizat = 0.914483
  Prefactor  = 0.887112
 **********
 **   18 **HESSE 
 **********

 FCN=   15767.16     FROM HESSE     STATUS=OK            25 CALLS      418 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11031        .30180        .18977E-06   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6127        4.1463        .77809E-04    1.0067    
   3  Normalizat    .91448        .11700        .19056E-05   -.95953    
   4  Prefactor     .88711        .10239        .17248E-05   -.96593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40231e-12
Minuit parameter uncertainties:
  1  0.301801
  2  2.00246
  3  0.117033
  4  0.102417
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) = 15767.1619335
delta logL = 1.09389779047

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.103e-01  3.018e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  4.613e+00  2.002e+00  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.871e-01  1.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.145e-01  1.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.93
Ra Dec: 47.492 -60.973
Photon Index (Free Index): 4.61 +/- 2.00
Photon Flux (Free Index): 5.40e-08 +/- 3.21e-08
Energy Flux (Free Index): 7.62e-06 +/- 4.67e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33407389/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='7.62e-06', photon_flux_error='1.91e-08', dlogl='1.09e+00', energy_flux='6.24e-06', photon_flux2='5.40e-08', job_status='DONE', time_completed='2026-07-28 04:11:16.460061', photon_index_error2='2.00', photon_index2='4.61', ts='1.53', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='5.91e-08', energy_flux_error2='4.67e-06', EG='0.96', time_epoch_completed='1785237076.46', return_code='0', job_id='33407389', GAL2='0.89', EG2='0.91', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='3.21e-08', ts2='3.93', photon_index='2.41' WHERE bin_id='938' AND source_name='4FGL J0309.9-6058' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 04:11:16 PDT 2026

kly_bin938.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=47.4921 yref=-60.9733 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.27
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33407190/Model_4FGL_J0309.9-6058_weekly_bin938.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits.....................!
real 5263.58
user 5147.76
sys 10.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits', '/lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits', expMap='/lscratch/kocevski/33407190/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', expCube='/lscratch/kocevski/33407190/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33407190/Model_4FGL_J0309.9-6058_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0309.9-6058'

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.562e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33407190/ft1_filtered_4FGL_J0309.9-6058_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33407190/ft2_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33407190/expmap_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33407190/ltcube_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33407190/Model_4FGL_J0309.9-6058_weekly_bin938.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) = 15768.3202777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69106       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34741E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8652       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0117       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16739E-03   1.0000          .0000       .10000E+07
     6 'norm      '    3.3905       1.0000          .0000       .10000E+07
     7 'norm      '    5.6922       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5710       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1063       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10431E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    39.460       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67124E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .61148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61192E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .63316E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16024E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22960E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14681E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .66287E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18912E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .27501       1.0000          .0000       .10000E+07
    24 'Prefactor '    16.646       1.0000          .0000       .10000E+07
    25 'Prefactor '    21.052       1.0000          .0000       .10000E+07
    26 'Normalizat'    .96303       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85593       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15768.26     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1945 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69229        1.5253        .18257E-06    .34656E-03
   2  Prefactor      .0000        3.7132       -.77457E-07** at limit **
   3  Prefactor     1.8669        2.3393       -.27695E-06    .18516E-04
   4  Prefactor     1.0127        1.3203        .65187E-07   -.28431E-03
   5  Prefactor      .0000        17.242       -.38857E-06** at limit **
   6  norm          3.3691        3.3731       -.13447E-06   -.29088E-03
   7  norm          5.6910        1.4322        .94130E-07   -.10167E-02
   8  Prefactor     3.5661        1.6602        .12395E-06    .48323E-03
   9  Prefactor     4.1023        5.4894        .20153E-07    .33418E-06
  10  Prefactor     53.205        26.890       -.89182E-06    .64171E-02
  11  Prefactor      .0000        .84634       -.44690E-07** at limit **
  12  Prefactor     39.454        6.2184        .23219E-06    .24331E-01
  13  Prefactor      .0000        4.8655       -.68520E-07** at limit **
  14  norm           .0000        1.1162       -.11387E-06** at limit **
  15  norm          .60975        .55771       -.98525E-07   -.49839E-03
  16  Prefactor      .0000        4.2460        .20267E-06** at limit **
  17  Prefactor      .0000        1.9524        .35022E-06** at limit **
  18  Prefactor      .0000        53.693        .10965E-05** at limit **
  19  Prefactor      .0000        2.2372        .47141E-06** at limit **
  20  Prefactor      .0000        14.951       -.21324E-06** at limit **
  21  Prefactor      .0000        3.9261       -.59234E-06** at limit **
  22  Prefactor      .0000        2.7999        .53036E-06** at limit **
  23  norm          .26255        5.7819       -.46937E-06    .26376E-03
  24  Prefactor     16.660        1.1575       -.48167E-08    .11565E-02
  25  Prefactor     20.877        1.3608       -.18167E-07   -.53689E-03
  26  Normalizat    .96297        .11464       -.45867E-05    .10431E-04
  27  Prefactor     .85595        .10062        .30375E-05    .21492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.69229
  Prefactor  = 0
  Prefactor  = 1.86689
  Prefactor  = 1.01269
  Prefactor  = 0
  norm       = 3.36914
  norm       = 5.691
  Prefactor  = 3.56611
  Prefactor  = 4.10229
  Prefactor  = 53.205
  Prefactor  = 0
  Prefactor  = 39.4537
  Prefactor  = 0
  norm       = 0
  norm       = 0.609747
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.262547
  Prefactor  = 16.6601
  Prefactor  = 20.8767
  Normalizat = 0.962965
  Prefactor  = 0.85595
 **********
 **   18 **HESSE 
 **********

 FCN=   15768.26     FROM HESSE     STATUS=OK           544 CALLS     2489 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69229        1.5455        .61437E-03   -1.5691    
   2  Prefactor      .0000        3.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8669        2.3559        .76252E-03   -1.5681    
   4  Prefactor     1.0127        1.3244        .44177E-03   -1.5688    
   5  Prefactor      .0000        17.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3691        3.3684        .54922E-03   -1.5671    
   7  norm          5.6910        1.4334        .42078E-03   -1.5660    
   8  Prefactor     3.5661        1.6622        .53456E-03   -1.5670    
   9  Prefactor     4.1023        5.4964        .49725E-03   -1.5667    
  10  Prefactor     53.205        27.909        .13796E-03   -1.5562    
  11  Prefactor      .0000        .84568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.454        23.923        .15921E-03   -1.5582    
  13  Prefactor      .0000        4.8694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60975        .55872        .68206E-04   -1.5692    
  16  Prefactor      .0000        4.2453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        53.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.2214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        14.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.9252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.8033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .26255        1.0519        .69588E-02   -1.5698    
  24  Prefactor     16.660        10.390        .24521E-03   -1.5626    
  25  Prefactor     20.877        19.080        .21801E-03   -1.5617    
  26  Normalizat    .96297        .99155E-01    .45702E-01   -.94282    
  27  Prefactor     .85595        .86829E-01    .44441E-01   -.97698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74585e-08
Minuit parameter uncertainties:
  1  1.54545
  2  5.50338e-06
  3  2.35586
  4  1.32445
  5  1.35864e-05
  6  3.3684
  7  1.43337
  8  1.66216
  9  5.49643
  10  27.9095
  11  7.68901e-07
  12  23.9233
  13  4.10298e-06
  14  2.25031e-06
  15  0.558724
  16  1.37266e-05
  17  5.81877e-06
  18  4.27382e-05
  19  1.91339e-06
  20  2.68859e-05
  21  4.85678e-06
  22  1.00005e-05
  23  1.05106
  24  10.3899
  25  19.0804
  26  0.099174
  27  0.086843
Done.

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

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  6.097e-01  5.587e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.413e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.560e-01  8.684e-02  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.630e-01  9.917e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 6.24e-06 +/- 5.72e-06

TS (Fixed Index): 1.53
Ra Dec: 47.492 -60.973
Photon Flux Upper Limit: 5.91258838963e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76992388167e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33407190/likelihoodResults_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.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): 102
logL (Free Index) = 15767.2401374
delta logL = 1.01569387876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15767.161936
delta logL = 1.09389525996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11039       1.0000          .0000       .10000E+07
     2 'alpha     '    4.6114       1.0000          .0000       5.0000    
     3 'Normalizat'    .91442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15767.16     FROM MIGRAD    STATUS=FAILED        94 CALLS      275 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .23721E-04** at limit **
   2  alpha         4.6127        3.2627        .48631E-01   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .23819E-03   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .21560E-03   -.46719E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15767.16     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      359 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        1.7687        .55316E-05** at limit **
   2  alpha         4.6127        3.2627        .86555E-02   -.26636E-05
   3  Normalizat    .91448        .86457E-01    .95120E-04   -.19378E-04
   4  Prefactor     .88711        .77418E-01    .32509E-04   -.46719E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15767.16     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      393 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11031        .69502        .47442E-05** at limit **
   2  alpha         4.6127        4.7881        .19452E-02   -.10637E-05
   3  Normalizat    .91448        .11753        .95278E-05   -.19091E-04
   4  Prefactor     .88711        .10351        .86240E-05   -.46930E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110314
  alpha      = 4.61274
  Normalizat = 0.914483
  Prefactor  = 0.887112
 **********
 **   18 **HESSE 
 **********

 FCN=   15767.16     FROM HESSE     STATUS=OK            25 CALLS      418 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11031        .30180        .18977E-06   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6127        4.1463        .77809E-04    1.0067    
   3  Normalizat    .91448        .11700        .19056E-05   -.95953    
   4  Prefactor     .88711        .10239        .17248E-05   -.96593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40231e-12
Minuit parameter uncertainties:
  1  0.301801
  2  2.00246
  3  0.117033
  4  0.102417
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) = 15767.1619335
delta logL = 1.09389779047

Extracting fit parameters...

4FGL J0309.9-6058
   Spectrum: LogParabola
286         norm:  1.103e-01  3.018e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  4.613e+00  2.002e+00  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  9.831e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.272e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  8.871e-01  1.024e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.145e-01  1.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.93
Ra Dec: 47.492 -60.973
Photon Index (Free Index): 4.61 +/- 2.00
Photon Flux (Free Index): 5.40e-08 +/- 3.21e-08
Energy Flux (Free Index): 7.62e-06 +/- 4.67e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33407190/cmap_HighResolution_806284801_806889601_4FGL_J0309.9-6058_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='7.62e-06', photon_flux_error='1.91e-08', dlogl='1.09e+00', energy_flux='6.24e-06', photon_flux2='5.40e-08', job_status='DONE', time_completed='2026-07-28 04:27:43.694454', photon_index_error2='2.00', photon_index2='4.61', ts='1.53', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='5.91e-08', energy_flux_error2='4.67e-06', EG='0.96', time_epoch_completed='1785238063.69', return_code='0', job_id='33407190', GAL2='0.89', EG2='0.91', return_code2='0', energy_flux_error='5.72e-06', photon_flux_error2='3.21e-08', ts2='3.93', photon_index='2.41' WHERE bin_id='938' AND source_name='4FGL J0309.9-6058' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 04:27:44 PDT 2026

