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

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


Performing analysis on: 4FGL_J1028.4-0234_weekly_bin942
RA = 157.121, Dec = -2.5829
tmin = 808704001, tmax = 809308801
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='35788435', job_status='RUN', time_executed='2026-08-25 07:42:11.630655', time_epoch_executed='1787668931.63' WHERE source_name='4FGL J1028.4-0234' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35788435

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35788435/ft1_4FGL_J1028.4-0234_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35788435/ft1_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788435/ft1_filteredMKT_4FGL_J1028.4-0234_weekly_bin942.fits ra=157.121 dec=-2.5829 rad=12.0 tmin=808704001.0 tmax=809308801.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.19
user 4.73
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.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/35788435/ft1_filteredMKT_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.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.52
user 0.22
sys 0.11

Number of photons that the gtmktime cut: 1543

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA"/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1028.4-0234_weekly_bin942
RA = 157.121, Dec = -2.5829
tmin = 808704001, tmax = 809308801
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='35788437', job_status='RUN', time_executed='2026-08-25 07:42:17.474410', time_epoch_executed='1787668937.47' WHERE source_name='4FGL J1028.4-0234' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35788437

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35788437/ft1_4FGL_J1028.4-0234_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35788437/ft1_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788437/ft1_filteredMKT_4FGL_J1028.4-0234_weekly_bin942.fits ra=157.121 dec=-2.5829 rad=12.0 tmin=808704001.0 tmax=809308801.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.66
user 4.86
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.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/35788437/ft1_filteredMKT_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.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.59
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 1543

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA"number of points = 17429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1028.4-0234_weekly_bin942
RA = 157.121, Dec = -2.5829
tmin = 808704001, tmax = 809308801
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='35788494', job_status='RUN', time_executed='2026-08-25 07:43:20.149912', time_epoch_executed='1787669000.15' WHERE source_name='4FGL J1028.4-0234' and cadence='weekly' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35788494

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35788494/ft1_4FGL_J1028.4-0234_weekly_bin942.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35788494/ft1_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788494/ft1_filteredMKT_4FGL_J1028.4-0234_weekly_bin942.fits ra=157.121 dec=-2.5829 rad=12.0 tmin=808704001.0 tmax=809308801.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.59
user 4.84
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.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/35788494/ft1_filteredMKT_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.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.56
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 1543

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35788435/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits
.....................!
real 19.42
user 18.85
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35788435/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788435/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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/35788435/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
.....................!
real 74.13
user 69.34
sys 4.16

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

Setting source of interest to:
4FGL J1028.4-0234 @ 157.121 -2.5829

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits scfile=/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788435/cmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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=157.121 yref=-2.5829 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.58
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits scfile=/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788435/cmap_HighResolution_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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=157.121 yref=-2.5829 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35788435/Model_4FGL_J1028.4-0234_weekly_bin942.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 sourc outfile=/lscratch/kocevski/35788437/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits
.....................!
real 19.76
user 19.05
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35788437/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788437/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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/35788437/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
.....................!
real 75.70
user 70.41
sys 4.48

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

Setting source of interest to:
4FGL J1028.4-0234 @ 157.121 -2.5829

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits scfile=/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788437/cmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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=157.121 yref=-2.5829 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits scfile=/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788437/cmap_HighResolution_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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=157.121 yref=-2.5829 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35788437/Model_4FGL_J1028.4-0234_weekly_bin942.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 sourc outfile=/lscratch/kocevski/35788494/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits
.....................!
real 19.42
user 18.91
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35788494/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788494/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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/35788494/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
.....................!
real 73.94
user 69.13
sys 4.20

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

Setting source of interest to:
4FGL J1028.4-0234 @ 157.121 -2.5829

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits scfile=/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788494/cmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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=157.121 yref=-2.5829 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.60
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits scfile=/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits outfile=/lscratch/kocevski/35788494/cmap_HighResolution_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.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=157.121 yref=-2.5829 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.53
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35788494/Model_4FGL_J1028.4-0234_weekly_bin942.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits.....................!
real 62.10
user 60.57
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits', '/lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits', expMap='/lscratch/kocevski/35788435/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits', expCube='/lscratch/kocevski/35788435/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35788435/Model_4FGL_J1028.4-0234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.4-0234'

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.582e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35788435/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35788435/ft2_4FGL_J1028.4-0234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35788435/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35788435/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35788435/Model_4FGL_J1028.4-0234_weekly_bin942.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) = 16985.3677605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7627       1.0000          .0000       .10000E+07
     2 'norm      '    .59900       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.162       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40856E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42191E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    45.651       1.0000          .0000       .10000E+07
     8 'Prefactor '    27.332       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6255       1.0000          .0000       .10000E+07
    10 'norm      '    2.3134       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .79936E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2087       1.0000          .0000       .10000E+07
    14 'norm      '    .89970       1.0000          .0000       .10000E+07
    15 'norm      '    3.0721       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16985.26     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      975 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7634        .52265        .48815E-08   -.85139E-03
   2  norm          .59913        .98514       -.91316E-07    .26972E-03
   3  Prefactor     13.985        8.3547       -.22791E-07   -.67856E-02
   4  Prefactor      .0000        10.011       -.12096E-06** at limit **
   5  Prefactor      .0000        5.7496       -.11027E-07** at limit **
   6  Prefactor      .0000        2.0774        .50194E-07** at limit **
   7  Prefactor     46.619        35.503       -.33081E-07   -.32446E-01
   8  Prefactor     26.907        11.324        .15861E-07   -.76207E-01
   9  Prefactor     9.3982        8.8962       -.27436E-07    .10207E-01
  10  norm          2.3150        .93737       -.85786E-08    .19936E-03
  11  Prefactor     2.9538        3.6338        .14366E-07   -.12569E-03
  12  Prefactor      .0000        .69976       -.70499E-08** at limit **
  13  Prefactor     6.3093        5.7054       -.30998E-07   -.10826E-03
  14  norm          .89899        .32147       -.13993E-07    .14948E-02
  15  norm          3.0717        2.7614        .61904E-07   -.46977E-03
  16  Normalizat    1.0958        .14947       -.79378E-06    .22638E-04
  17  Prefactor     1.0482        .11046        .36282E-06    .18360E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7634
  norm       = 0.599127
  Prefactor  = 13.9846
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 46.619
  Prefactor  = 26.9072
  Prefactor  = 9.3982
  norm       = 2.31497
  Prefactor  = 2.95382
  Prefactor  = 0
  Prefactor  = 6.30928
  norm       = 0.898985
  norm       = 3.07174
  Normalizat = 1.0958
  Prefactor  = 1.04819
e GAL_V02
Working on...
/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits.....................!
real 64.05
user 62.10
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits', '/lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits', expMap='/lscratch/kocevski/35788437/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits', expCube='/lscratch/kocevski/35788437/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35788437/Model_4FGL_J1028.4-0234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.4-0234'

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.582e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35788437/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35788437/ft2_4FGL_J1028.4-0234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35788437/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35788437/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35788437/Model_4FGL_J1028.4-0234_weekly_bin942.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) = 16985.3677605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7627       1.0000          .0000       .10000E+07
     2 'norm      '    .59900       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.162       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40856E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42191E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    45.651       1.0000          .0000       .10000E+07
     8 'Prefactor '    27.332       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6255       1.0000          .0000       .10000E+07
    10 'norm      '    2.3134       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .79936E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2087       1.0000          .0000       .10000E+07
    14 'norm      '    .89970       1.0000          .0000       .10000E+07
    15 'norm      '    3.0721       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16985.26     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      975 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7634        .52265        .48815E-08   -.85139E-03
   2  norm          .59913        .98514       -.91316E-07    .26972E-03
   3  Prefactor     13.985        8.3547       -.22791E-07   -.67856E-02
   4  Prefactor      .0000        10.011       -.12096E-06** at limit **
   5  Prefactor      .0000        5.7496       -.11027E-07** at limit **
   6  Prefactor      .0000        2.0774        .50194E-07** at limit **
   7  Prefactor     46.619        35.503       -.33081E-07   -.32446E-01
   8  Prefactor     26.907        11.324        .15861E-07   -.76207E-01
   9  Prefactor     9.3982        8.8962       -.27436E-07    .10207E-01
  10  norm          2.3150        .93737       -.85786E-08    .19936E-03
  11  Prefactor     2.9538        3.6338        .14366E-07   -.12569E-03
  12  Prefactor      .0000        .69976       -.70499E-08** at limit **
  13  Prefactor     6.3093        5.7054       -.30998E-07   -.10826E-03
  14  norm          .89899        .32147       -.13993E-07    .14948E-02
  15  norm          3.0717        2.7614        .61904E-07   -.46977E-03
  16  Normalizat    1.0958        .14947       -.79378E-06    .22638E-04
  17  Prefactor     1.0482        .11046        .36282E-06    .18360E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7634
  norm       = 0.599127
  Prefactor  = 13.9846
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 46.619
  Prefactor  = 26.9072
  Prefactor  = 9.3982
  norm       = 2.31497
  Prefactor  = 2.95382
  Prefactor  = 0
  Prefactor  = 6.30928
  norm       = 0.898985
  norm       = 3.07174
  Normalizat = 1.0958
  Prefactor  = 1.04819
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7634        .52556        .78880E-03   -1.5681    
   2  norm          .59913        .99556        .69318E-03   -1.5692    
   3  Prefactor     13.985        8.3662        .26589E-03   -1.5633    
   4  Prefactor      .0000        10.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.7541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.619        36.787        .14802E-03   -1.5571    
   8  Prefactor     26.907        29.495        .19131E-03   -1.5604    
   9  Prefactor     9.3982        10.863        .32276E-03   -1.5647    
  10  norm          2.3150        .94093        .67424E-03   -1.5678    
  11  Prefactor     2.9538        3.6447        .59103E-03   -1.5674    
  12  Prefactor      .0000        .69771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3093        5.7268        .40264E-03   -1.5658    
  14  norm          .89899        .32214        .45781E-03   -1.5689    
  15  norm          3.0717        2.7635        .57847E-03   -1.5673    
  16  Normalizat    1.0958        .12753        .64345E-01   -.89887    
  17  Prefactor     1.0482        .94048E-01    .40030E-01   -.91140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70757e-07
Minuit parameter uncertainties:
  1  0.525563
  2  0.995564
  3  8.36616
  4  2.37647e-05
  5  3.11612e-06
  6  2.67586e-06
  7  36.787
  8  29.4949
  9  10.8627
  10  0.940933
  11  3.64472
  12  7.14004e-07
  13  5.72683
  14  0.322136
  15  2.76346
  16  0.127569
  17  0.0940627
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7634        .52556        .78880E-03   -1.5681    
   2  norm          .59913        .99556        .69318E-03   -1.5692    
   3  Prefactor     13.985        8.3662        .26589E-03   -1.5633    
   4  Prefactor      .0000        10.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.7541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.619        36.787        .14802E-03   -1.5571    
   8  Prefactor     26.907        29.495        .19131E-03   -1.5604    
   9  Prefactor     9.3982        10.863        .32276E-03   -1.5647    
  10  norm          2.3150        .94093        .67424E-03   -1.5678    
  11  Prefactor     2.9538        3.6447        .59103E-03   -1.5674    
  12  Prefactor      .0000        .69771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3093        5.7268        .40264E-03   -1.5658    
  14  norm          .89899        .32214        .45781E-03   -1.5689    
  15  norm          3.0717        2.7635        .57847E-03   -1.5673    
  16  Normalizat    1.0958        .12753        .64345E-01   -.89887    
  17  Prefactor     1.0482        .94048E-01    .40030E-01   -.91140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70757e-07
Minuit parameter uncertainties:
  1  0.525563
  2  0.995564
  3  8.36616
  4  2.37647e-05
  5  3.11612e-06
  6  2.67586e-06
  7  36.787
  8  29.4949
  9  10.8627
  10  0.940933
  11  3.64472
  12  7.14004e-07
  13  5.72683
  14  0.322136
  15  2.76346
  16  0.127569
  17  0.0940627
e GAL_V02
Working on...
/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits.....................!
real 62.41
user 60.57
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits', '/lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits', expMap='/lscratch/kocevski/35788494/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits', expCube='/lscratch/kocevski/35788494/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35788494/Model_4FGL_J1028.4-0234_weekly_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.4-0234'

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.582e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35788494/ft1_filtered_4FGL_J1028.4-0234_weekly_bin942.fits
Spacecraft file(s): /lscratch/kocevski/35788494/ft2_4FGL_J1028.4-0234_weekly_bin942.fits
Exposure map: /lscratch/kocevski/35788494/expmap_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
Exposure cube: /lscratch/kocevski/35788494/ltcube_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35788494/Model_4FGL_J1028.4-0234_weekly_bin942.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) = 16985.3677605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7627       1.0000          .0000       .10000E+07
     2 'norm      '    .59900       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.162       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40856E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42191E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    45.651       1.0000          .0000       .10000E+07
     8 'Prefactor '    27.332       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6255       1.0000          .0000       .10000E+07
    10 'norm      '    2.3134       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .79936E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2087       1.0000          .0000       .10000E+07
    14 'norm      '    .89970       1.0000          .0000       .10000E+07
    15 'norm      '    3.0721       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16985.26     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      975 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7634        .52265        .48815E-08   -.85139E-03
   2  norm          .59913        .98514       -.91316E-07    .26972E-03
   3  Prefactor     13.985        8.3547       -.22791E-07   -.67856E-02
   4  Prefactor      .0000        10.011       -.12096E-06** at limit **
   5  Prefactor      .0000        5.7496       -.11027E-07** at limit **
   6  Prefactor      .0000        2.0774        .50194E-07** at limit **
   7  Prefactor     46.619        35.503       -.33081E-07   -.32446E-01
   8  Prefactor     26.907        11.324        .15861E-07   -.76207E-01
   9  Prefactor     9.3982        8.8962       -.27436E-07    .10207E-01
  10  norm          2.3150        .93737       -.85786E-08    .19936E-03
  11  Prefactor     2.9538        3.6338        .14366E-07   -.12569E-03
  12  Prefactor      .0000        .69976       -.70499E-08** at limit **
  13  Prefactor     6.3093        5.7054       -.30998E-07   -.10826E-03
  14  norm          .89899        .32147       -.13993E-07    .14948E-02
  15  norm          3.0717        2.7614        .61904E-07   -.46977E-03
  16  Normalizat    1.0958        .14947       -.79378E-06    .22638E-04
  17  Prefactor     1.0482        .11046        .36282E-06    .18360E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7634
  norm       = 0.599127
  Prefactor  = 13.9846
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 46.619
  Prefactor  = 26.9072
  Prefactor  = 9.3982
  norm       = 2.31497
  Prefactor  = 2.95382
  Prefactor  = 0
  Prefactor  = 6.30928
  norm       = 0.898985
  norm       = 3.07174
  Normalizat = 1.0958
  Prefactor  = 1.04819
Done.

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

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  2.954e+00  3.645e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.048e+00  9.406e-02  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.096e+00  1.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 157.121 -2.583
Photon Flux Upper Limit: 7.21114902353e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564808499078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35788435/likelihoodResults_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16985.24923
delta logL = 0.0112063863198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16985.2444528
delta logL = 0.0159835977211

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16985.24     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      257 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5573        4.8299        .23369E-04   -.62271E-04
   2  Index         2.8738        1.7314        .79973E-02    .11309E-03
   3  Normalizat    1.0898        .14807        .28533E-03   -.36497E-04
   4  Prefactor     1.0515        .11183        .22273E-03   -.35117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55734
  Index      = 2.87378
  Normalizat = 1.08976
  Prefactor  = 1.05153
 **********
 **   18 **HESSE 
 **********

 FCN=   16985.24     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5573        4.3561        .93475E-06   -1.5676    
   2  Index         2.8738        1.5672        .15995E-02   -.43923    
   3  Normalizat    1.0898        .14754        .11413E-04   -.90081    
   4  Prefactor     1.0515        .11149        .89093E-05   -.91031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31902e-12
Minuit parameter uncertainties:
  1  4.35607
  2  1.60034
  3  0.147599
  4  0.111511
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) = 16985.2444512
delta logL = 0.0159852285979

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  2.557e+00  4.356e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.874e+00  1.600e+00  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.052e+00  1.115e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.090e+00  1.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.82
Ra Dec: 157.121 -2.583

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/35788435/cmap_HighResolution_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2026-08-25 07:49:00.810202', job_id='35788435', GAL2='1.05', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1787669340.81', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.60e-02', ts2='0.86', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='942' AND source_name='4FGL J1028.4-0234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 07:49:00 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  2.954e+00  3.645e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.048e+00  9.406e-02  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.096e+00  1.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 157.121 -2.583
Photon Flux Upper Limit: 7.21114902353e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564808499078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35788437/likelihoodResults_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16985.24923
delta logL = 0.0112063863198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16985.2444528
delta logL = 0.0159835977211

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16985.24     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      257 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5573        4.8299        .23369E-04   -.62271E-04
   2  Index         2.8738        1.7314        .79973E-02    .11309E-03
   3  Normalizat    1.0898        .14807        .28533E-03   -.36497E-04
   4  Prefactor     1.0515        .11183        .22273E-03   -.35117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55734
  Index      = 2.87378
  Normalizat = 1.08976
  Prefactor  = 1.05153
 **********
 **   18 **HESSE 
 **********

 FCN=   16985.24     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5573        4.3561        .93475E-06   -1.5676    
   2  Index         2.8738        1.5672        .15995E-02   -.43923    
   3  Normalizat    1.0898        .14754        .11413E-04   -.90081    
   4  Prefactor     1.0515        .11149        .89093E-05   -.91031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31902e-12
Minuit parameter uncertainties:
  1  4.35607
  2  1.60034
  3  0.147599
  4  0.111511
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7634        .52556        .78880E-03   -1.5681    
   2  norm          .59913        .99556        .69318E-03   -1.5692    
   3  Prefactor     13.985        8.3662        .26589E-03   -1.5633    
   4  Prefactor      .0000        10.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.7541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.619        36.787        .14802E-03   -1.5571    
   8  Prefactor     26.907        29.495        .19131E-03   -1.5604    
   9  Prefactor     9.3982        10.863        .32276E-03   -1.5647    
  10  norm          2.3150        .94093        .67424E-03   -1.5678    
  11  Prefactor     2.9538        3.6447        .59103E-03   -1.5674    
  12  Prefactor      .0000        .69771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3093        5.7268        .40264E-03   -1.5658    
  14  norm          .89899        .32214        .45781E-03   -1.5689    
  15  norm          3.0717        2.7635        .57847E-03   -1.5673    
  16  Normalizat    1.0958        .12753        .64345E-01   -.89887    
  17  Prefactor     1.0482        .94048E-01    .40030E-01   -.91140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70757e-07
Minuit parameter uncertainties:
  1  0.525563
  2  0.995564
  3  8.36616
  4  2.37647e-05
  5  3.11612e-06
  6  2.67586e-06
  7  36.787
  8  29.4949
  9  10.8627
  10  0.940933
  11  3.64472
  12  7.14004e-07
  13  5.72683
  14  0.322136
  15  2.76346
  16  0.127569
  17  0.0940627
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) = 16985.2444512
delta logL = 0.0159852285979

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  2.557e+00  4.356e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.874e+00  1.600e+00  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.052e+00  1.115e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.090e+00  1.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.82
Ra Dec: 157.121 -2.583

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/35788437/cmap_HighResolution_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2026-08-25 07:49:10.068042', job_id='35788437', GAL2='1.05', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1787669350.07', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.60e-02', ts2='0.86', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='942' AND source_name='4FGL J1028.4-0234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 07:49:10 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  2.954e+00  3.645e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.048e+00  9.406e-02  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.096e+00  1.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 157.121 -2.583
Photon Flux Upper Limit: 7.21114902353e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564808499078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35788494/likelihoodResults_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16985.24923
delta logL = 0.0112063863198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16985.2444528
delta logL = 0.0159835977211

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16985.24     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      257 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5573        4.8299        .23369E-04   -.62271E-04
   2  Index         2.8738        1.7314        .79973E-02    .11309E-03
   3  Normalizat    1.0898        .14807        .28533E-03   -.36497E-04
   4  Prefactor     1.0515        .11183        .22273E-03   -.35117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55734
  Index      = 2.87378
  Normalizat = 1.08976
  Prefactor  = 1.05153
 **********
 **   18 **HESSE 
 **********

 FCN=   16985.24     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5573        4.3561        .93475E-06   -1.5676    
   2  Index         2.8738        1.5672        .15995E-02   -.43923    
   3  Normalizat    1.0898        .14754        .11413E-04   -.90081    
   4  Prefactor     1.0515        .11149        .89093E-05   -.91031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31902e-12
Minuit parameter uncertainties:
  1  4.35607
  2  1.60034
  3  0.147599
  4  0.111511
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) = 16985.2444512
delta logL = 0.0159852285979

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  2.557e+00  4.356e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.874e+00  1.600e+00  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.052e+00  1.115e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.090e+00  1.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.82
Ra Dec: 157.121 -2.583

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/35788494/cmap_HighResolution_808704001_809308801_4FGL_J1028.4-0234_weekly_bin942.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2026-08-25 07:50:04.773295', job_id='35788494', GAL2='1.05', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1787669404.77', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.60e-02', ts2='0.86', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='942' AND source_name='4FGL J1028.4-0234' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 25 07:50:04 PDT 2026

