number of points = 17454
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_J1048.4+7143_weekly_bin948
RA = 162.107, Dec = 71.7297
tmin = 812332801, tmax = 812937601
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='40019866', job_status='RUN', time_executed='2026-10-06 07:58:40.802277', time_epoch_executed='1791298720.8' WHERE source_name='4FGL J1048.4+7143' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40019866

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40019866/ft1_4FGL_J1048.4+7143_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40019866/ft1_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019866/ft1_filteredMKT_4FGL_J1048.4+7143_weekly_bin948.fits ra=162.107 dec=71.7297 rad=12.0 tmin=812332801.0 tmax=812937601.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.99
user 5.32
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.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/40019866/ft1_filteredMKT_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2061

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" 
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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

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

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

 outfile=/lscratch/kocevski/40019776/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019776/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 20.56
user 19.72
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40019776/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019776/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40019776/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019776/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019776/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 73.88
user 69.08
sys 4.15

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

Setting source of interest to:
4FGL J1048.4+7143 @ 162.107 71.7297

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40019776/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019776/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019776/cmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40019776/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019776/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019776/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40019776/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019776/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40019776/Model_4FGL_J1048.4+7143_weekly_bin948.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 sourcnumber of points = 17454
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1048.4+7143_weekly_bin948
RA = 162.107, Dec = 71.7297
tmin = 812332801, tmax = 812937601
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='40019961', job_status='RUN', time_executed='2026-10-06 08:00:38.103554', time_epoch_executed='1791298838.1' WHERE source_name='4FGL J1048.4+7143' and cadence='weekly' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40019961

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40019961/ft1_4FGL_J1048.4+7143_weekly_bin948.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40019961/ft1_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019961/ft1_filteredMKT_4FGL_J1048.4+7143_weekly_bin948.fits ra=162.107 dec=71.7297 rad=12.0 tmin=812332801.0 tmax=812937601.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.04
user 5.56
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.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/40019961/ft1_filteredMKT_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2061

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/40019846/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019846/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 22.33
user 21.47
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40019846/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019846/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40019846/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019846/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019846/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 79.19
user 73.69
sys 4.53

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

Setting source of interest to:
4FGL J1048.4+7143 @ 162.107 71.7297

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40019846/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019846/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019846/cmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 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.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40019846/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019846/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019846/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 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.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40019846/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019846/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40019846/Model_4FGL_J1048.4+7143_weekly_bin948.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 sourcoutfile=/lscratch/kocevski/40019866/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 19.22
user 18.55
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40019866/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019866/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019866/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 73.37
user 68.52
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 223 point sources and 0 extended sources

Setting source of interest to:
4FGL J1048.4+7143 @ 162.107 71.7297

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019866/cmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 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.66
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019866/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 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.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40019866/Model_4FGL_J1048.4+7143_weekly_bin948.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 sourceoutfile=/lscratch/kocevski/40019961/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 20.34
user 19.78
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40019961/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019961/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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/40019961/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
.....................!
real 76.82
user 71.86
sys 4.34

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

Setting source of interest to:
4FGL J1048.4+7143 @ 162.107 71.7297

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019961/cmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.28
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits scfile=/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits outfile=/lscratch/kocevski/40019961/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.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=162.107 yref=71.7297 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40019961/Model_4FGL_J1048.4+7143_weekly_bin948.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 sourcee GAL_V02
Working on...
/lscratch/kocevski/40019776/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits.....................!
real 91.05
user 89.11
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40019776/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits', '/lscratch/kocevski/40019776/ft2_4FGL_J1048.4+7143_weekly_bin948.fits', expMap='/lscratch/kocevski/40019776/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', expCube='/lscratch/kocevski/40019776/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40019776/Model_4FGL_J1048.4+7143_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1048.4+7143'

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  2.733e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40019776/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40019776/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40019776/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40019776/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40019776/Model_4FGL_J1048.4+7143_weekly_bin948.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) = 21481.1892152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73363E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7286       1.0000          .0000       .10000E+07
     3 'norm      '    .59294       1.0000          .0000       .10000E+07
     4 'Prefactor '    39.559       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.987       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.5115       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.5040       1.0000          .0000       .10000E+07
     8 'norm      '    1.2593       1.0000          .0000       .10000E+07
     9 'norm      '    .24841E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47051       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23000E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.228       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.433       1.0000          .0000       .10000E+07
    14 'norm      '    1.1811       1.0000          .0000       .10000E+07
    15 'norm      '    2.3087       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89119E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.9557       1.0000          .0000       .10000E+07
    18 'norm      '    5.8351       1.0000          .0000       .10000E+07
    19 'norm      '    3.1044       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10151E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23719       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.0758       1.0000          .0000       .10000E+07
    23 'norm      '    .16294E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .87102E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    48.062       1.0000          .0000       .10000E+07
    26 'Prefactor '    .16831       1.0000          .0000       .10000E+07
    27 'norm      '    7.0587       1.0000          .0000       .10000E+07
    28 'norm      '    .22449E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .34506E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1770       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .85979       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     2311 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27645E-07    10.295       -.71606E-06** at limit **
   2  Prefactor     1.7281        1.9031        .87087E-07    .26743E-02
   3  norm          .57906        1.1550       -.63888E-07    .73066E-02
   4  Prefactor     39.807        8.9402        .79202E-06    .14300E-03
   5  Prefactor     27.318        6.5933       -.18794E-06   -.18740    
   6  Prefactor     4.5404        6.2983       -.12825E-06    .47715E-03
   7  Prefactor     9.4915        4.3780       -.93429E-06   -.52377E-01
   8  norm          1.2590        .41413        .39278E-07   -.46380E-01
   9  norm          .66003E-07    8.6496       -.19722E-06** at limit **
  10  Prefactor     .47325        2.4590       -.19994E-05   -.18616E-01
  11  Prefactor      .0000        1.7468       -.16146E-06** at limit **
  12  Prefactor     13.155        2.3011       -.37951E-06   -.29852E-01
  13  Prefactor     12.432        1.1639       -.39714E-07    .11696E-01
  14  norm          1.1809        1.1257       -.90944E-07    .93657E-02
  15  norm          2.3083        2.1406        .17221E-06    .27623E-02
  16  Prefactor     .55012E-07    23.472       -.11596E-05** at limit **
  17  Prefactor     3.9673        3.4121       -.57149E-07   -.39231E-02
  18  norm          5.8341        .76874        .80283E-09   -.34871E-01
  19  norm          3.1047        1.5607        .65575E-07   -.87911E-02
  20  Prefactor     .11102E-08    2.8743       -.11746E-07** at limit **
  21  Prefactor     .24275        7.5457        .29673E-05** at limit **
  22  Prefactor     1.0756        1.2119       -.34882E-07    .17006E-02
  23  norm           .0000        1.7865       -.55183E-06** at limit **
  24  Prefactor     .22204E-09    2.5170       -.13253E-06** at limit **
  25  Prefactor     47.928        3.1486       -.23855E-06   -.57878E-02
  26  Prefactor     .22921E-04    233.36       -.17509E-04** at limit **
  27  norm          7.0482        2.8492       -.80595E-07   -.63493E-02
  28  norm           .0000        .31831        .32532E-07** at limit **
  29  Prefactor      .0000        4.9564       -.19634E-06** at limit **
  30  Normalizat    1.1771        .11188        .69387E-05   -.26156E-04
  31  Prefactor     .85969        .10147       -.26809E-05   -.66623E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76446e-08
  Prefactor  = 1.72808
  norm       = 0.579062
  Prefactor  = 39.8068
  Prefactor  = 27.318
  Prefactor  = 4.54039
  Prefactor  = 9.49148
  norm       = 1.25898
  norm       = 6.60028e-08
  Prefactor  = 0.47325
  Prefactor  = 0
  Prefactor  = 13.1549
  Prefactor  = 12.4319
  norm       = 1.18087
  norm       = 2.30829
  Prefactor  = 5.50116e-08
  Prefactor  = 3.9673
  norm       = 5.83413
  norm       = 3.10472
  Prefactor  = 1.11022e-09
  Prefactor  = 0.242754
  Prefactor  = 1.07559
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 47.9284
  Prefactor  = 2.29213e-05
  norm       = 7.04819
  norm       = 0
  Prefactor  = 0
  Normalizat = 1.17712
  Prefactor  = 0.859686
 **********
 **   18 **HESSE 
 **********

 FCN=   21481.11     FROM HESSE     STATUS=OK           694 CALLS     3005 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27645E-07    10.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7281        1.9161        .79827E-03   -1.5682    
   3  norm          .57906        1.2591        .69863E-03   -1.5693    
   4  Prefactor     39.807        27.014        .15901E-03   -1.5582    
   5  Prefactor     27.318        12.979        .19253E-03   -1.5603    
   6  Prefactor     4.5404        6.3339        .47376E-03   -1.5665    
   7  Prefactor     9.4915        7.6916        .32483E-03   -1.5646    
   8  norm          1.2590        .42152        .99386E-03   -1.5686    
   9  norm          .66003E-07    8.7991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47325        19.855        .81733E-03   -1.5694    
  11  Prefactor      .0000        1.7473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.155        15.304        .27515E-03   -1.5635    
  13  Prefactor     12.432        11.926        .28383E-03   -1.5637    
  14  norm          1.1809        1.3717        .10513E-03   -1.5686    
  15  norm          2.3083        2.1593        .67501E-03   -1.5678    
  16  Prefactor     .55012E-07    23.716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9673        3.4335        .50693E-03   -1.5668    
  18  norm          5.8341        .76465        .41552E-03   -1.5660    
  19  norm          3.1047        1.5637        .57528E-03   -1.5673    
  20  Prefactor     .11102E-08    2.8920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .24275        3.1085        .11148E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0756        1.2125        .11654E-03   -1.5687    
  23  norm           .0000        1.7876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .22204E-09    2.5211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     47.928        24.711        .14426E-03   -1.5570    
  26  Prefactor     .22921E-04    4.9747        .12369E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          7.0482        2.8524        .37734E-03   -1.5655    
  28  norm           .0000        .31796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor      .0000        4.9612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1771        .10019        .56578E-01   -.87313    
  31  Prefactor     .85969        .89233E-01    .44490E-01   -.97564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8507e-07
Minuit parameter uncertainties:
  1  0.00107223
  2  1.91614
  3  1.25907
  4  27.0145
  5  12.9785
  6  6.33395
  7  7.69162
  8  0.42152
  9  0.00152407
  10  6.13074
  11  3.78659e-06
  12  15.304
  13  11.9259
  14  1.37174
  15  2.15929
  16  0.0022839
  17  3.43353
  18  0.764654
  19  1.56366
  20  0.000112787
  21  1.73737
  22  1.21247
  23  6.89348e-06
  24  4.68968e-05
  25  24.7113
  26  0.0213566
  27  2.85245
  28  2.07164e-06
  29  6.5843e-06
  30  0.100203
  31  0.0892479
 GAL_V02
Working on...
/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits.....................!
real 94.41
user 92.80
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits', '/lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits', expMap='/lscratch/kocevski/40019866/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', expCube='/lscratch/kocevski/40019866/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40019866/Model_4FGL_J1048.4+7143_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1048.4+7143'

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  2.733e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40019866/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40019866/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40019866/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40019866/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40019866/Model_4FGL_J1048.4+7143_weekly_bin948.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) = 21481.1892152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73363E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7286       1.0000          .0000       .10000E+07
     3 'norm      '    .59294       1.0000          .0000       .10000E+07
     4 'Prefactor '    39.559       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.987       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.5115       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.5040       1.0000          .0000       .10000E+07
     8 'norm      '    1.2593       1.0000          .0000       .10000E+07
     9 'norm      '    .24841E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47051       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23000E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.228       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.433       1.0000          .0000       .10000E+07
    14 'norm      '    1.1811       1.0000          .0000       .10000E+07
    15 'norm      '    2.3087       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89119E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.9557       1.0000          .0000       .10000E+07
    18 'norm      '    5.8351       1.0000          .0000       .10000E+07
    19 'norm      '    3.1044       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10151E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23719       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.0758       1.0000          .0000       .10000E+07
    23 'norm      '    .16294E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .87102E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    48.062       1.0000          .0000       .10000E+07
    26 'Prefactor '    .16831       1.0000Done.

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

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.834e+00  7.647e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.597e-01  8.925e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.177e+00  1.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 237.03
Ra Dec: 162.107 71.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.99e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 1.20e-04 +/- 1.57e-05

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) = 21481.1058307
delta logL = 0.000684334525431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21481.1056038
delta logL = 0.00091127741689

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8204        1.4801        .41605E-03   -.38751E-01
   2  alpha         2.2079        .22330        .12324        .10217E-03
   3  Normalizat    1.1763        .98442E-01    .56591E-01    .46149E-04
   4  Prefactor     .86013        .89374E-01    .44495E-01    .33227E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.8204
  alpha      = 2.20791
  Normalizat = 1.17634
  Prefactor  = 0.860126
 **********
 **   18 **HESSE 
 **********

 FCN=   21481.11     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8204        .71224        .36832E-05   -1.5660    
   2  alpha         2.2079        .10958        .53444E-03   -.11710    
   3  Normalizat    1.1763        .11075        .25025E-03   -.87337    
   4  Prefactor     .86013        .10089        .26408E-03   -.97549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25948e-10
Minuit parameter uncertainties:
  1  0.712238
  2  0.10962
  3  0.11077
  4  0.100908
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) = 21481.1056038
delta logL = 0.000911277464184

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.820e+00  7.122e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.208e+00  1.096e-01  0.000e+00  5.000e+00 ( 1.000e+00)
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.601e-01  1.009e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.176e+00  1.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 241.69
Ra Dec: 162.107 71.730
Photon Index (Free Index): 2.21 +/- 0.11
Photon Flux (Free Index): 3.00e-07 +/- 3.75e-08
Energy Flux (Free Index): 1.19e-04 +/- 1.62e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/40019776/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-07', energy_flux2='1.19e-04', photon_flux_error='3.92e-08', dlogl='9.11e-04', energy_flux='1.20e-04', photon_flux2='3.00e-07', job_status='DONE', time_completed='2026-10-06 08:10:21.779677', photon_index_error2='0.11', photon_index2='2.21', ts='237.03', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.18', time_epoch_completed='1791299421.78', return_code='0', job_id='40019776', GAL2='0.86', EG2='1.18', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.75e-08', ts2='241.69', photon_index='2.20' WHERE bin_id='948' AND source_name='4FGL J1048.4+7143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 08:10:21 PDT 2026

          .0000       .10000E+07
    27 'norm      '    7.0587       1.0000          .0000       .10000E+07
    28 'norm      '    .22449E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .34506E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1770       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .85979       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     2311 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27645E-07    10.295       -.71606E-06** at limit **
   2  Prefactor     1.7281        1.9031        .87087E-07    .26743E-02
   3  norm          .57906        1.1550       -.63888E-07    .73066E-02
   4  Prefactor     39.807        8.9402        .79202E-06    .14300E-03
   5  Prefactor     27.318        6.5933       -.18794E-06   -.18740    
   6  Prefactor     4.5404        6.2983       -.12825E-06    .47715E-03
   7  Prefactor     9.4915        4.3780       -.93429E-06   -.52377E-01
   8  norm          1.2590        .41413        .39278E-07   -.46380E-01
   9  norm          .66003E-07    8.6496       -.19722E-06** at limit **
  10  Prefactor     .47325        2.4590       -.19994E-05   -.18616E-01
  11  Prefactor      .0000        1.7468       -.16146E-06** at limit **
  12  Prefactor     13.155        2.3011       -.37951E-06   -.29852E-01
  13  Prefactor     12.432        1.1639       -.39714E-07    .11696E-01
  14  norm          1.1809        1.1257       -.90944E-07    .93657E-02
  15  norm          2.3083        2.1406        .17221E-06    .27623E-02
  16  Prefactor     .55012E-07    23.472       -.11596E-05** at limit **
  17  Prefactor     3.9673        3.4121       -.57149E-07   -.39231E-02
  18  norm          5.8341        .76874        .80283E-09   -.34871E-01
  19  norm          3.1047        1.5607        .65575E-07   -.87911E-02
  20  Prefactor     .11102E-08    2.8743       -.11746E-07** at limit **
  21  Prefactor     .24275        7.5457        .29673E-05** at limit **
  22  Prefactor     1.0756        1.2119       -.34882E-07    .17006E-02
  23  norm           .0000        1.7865       -.55183E-06** at limit **
  24  Prefactor     .22204E-09    2.5170       -.13253E-06** at limit **
  25  Prefactor     47.928        3.1486       -.23855E-06   -.57878E-02
  26  Prefactor     .22921E-04    233.36       -.17509E-04** at limit **
  27  norm          7.0482        2.8492       -.80595E-07   -.63493E-02
  28  norm           .0000        .31831        .32532E-07** at limit **
  29  Prefactor      .0000        4.9564       -.19634E-06** at limit **
  30  Normalizat    1.1771        .11188        .69387E-05   -.26156E-04
  31  Prefactor     .85969        .10147       -.26809E-05   -.66623E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76446e-08
  Prefactor  = 1.72808
  norm       = 0.579062
  Prefactor  = 39.8068
  Prefactor  = 27.318
  Prefactor  = 4.54039
  Prefactor  = 9.49148
  norm       = 1.25898
  norm       = 6.60028e-08
  Prefactor  = 0.47325
  Prefactor  = 0
  Prefactor  = 13.1549
  Prefactor  = 12.4319
  norm       = 1.18087
  norm       = 2.30829
  Prefactor  = 5.50116e-08
  Prefactor  = 3.9673
  norm       = 5.83413
  norm       = 3.10472
  Prefactor  = 1.11022e-09
  Prefactor  = 0.242754
  Prefactor  = 1.07559
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 47.9284
  Prefactor  = 2.29213e-05
  norm       = 7.04819
  norm       = 0
  Prefactor  = 0
  Normalizat = 1.17712
  Prefactor  = 0.859686
e GAL_V02
Working on...
/lscratch/kocevski/40019846/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits.....................!
real 102.34
user 99.48
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40019846/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits', '/lscratch/kocevski/40019846/ft2_4FGL_J1048.4+7143_weekly_bin948.fits', expMap='/lscratch/kocevski/40019846/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', expCube='/lscratch/kocevski/40019846/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40019846/Model_4FGL_J1048.4+7143_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1048.4+7143'

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  2.733e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40019846/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40019846/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40019846/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40019846/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40019846/Model_4FGL_J1048.4+7143_weekly_bin948.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) = 21481.1892152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73363E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7286       1.0000          .0000       .10000E+07
     3 'norm      '    .59294       1.0000          .0000       .10000E+07
     4 'Prefactor '    39.559       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.987       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.5115       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.5040       1.0000          .0000       .10000E+07
     8 'norm      '    1.2593       1.0000          .0000       .10000E+07
     9 'norm      '    .24841E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47051       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23000E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.228       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.433       1.0000          .0000       .10000E+07
    14 'norm      '    1.1811       1.0000          .0000       .10000E+07
    15 'norm      '    2.3087       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89119E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.9557       1.0000          .0000       .10000E+07
    18 'norm      '    5.8351       1.0000          .0000       .10000E+07
    19 'norm      '    3.1044       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10151E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23719       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.0758       1.0000          .0000       .10000E+07
    23 'norm      '    .16294E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .87102E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    48.062       1.0000          .0000       .10000E+07
    26 'Prefactor '    .16831       1.0000          .0000       .10000E+07
    27 'norm      '    7.0587       1.0000          .0000       .10000E+07
    28 'norm      '    .22449E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .34506E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1770       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .85979       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     2311 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27645E-07    10.295       -.71606E-06** at limit **
   2  Prefactor     1.7281        1.9031        .87087E-07    .26743E-02
   3  norm          .57906        1.1550       -.63888E-07    .73066E-02
   4  Prefactor     39.807        8.9402        .79202E-06    .14300E-03
   5  Prefactor     27.318        6.5933       -.18794E-06   -.18740    
   6  Prefactor     4.5404        6.2983       -.12825E-06    .47715E-03
   7  Prefactor     9.4915        4.3780       -.93429E-06   -.52377E-01
   8  norm          1.2590        .41413        .39278E-07   -.46380E-01
   9  norm          .66003E-07    8.6496       -.19722E-06** at limit **
  10  Prefactor     .47325        2.4590       -.19994E-05   -.18616E-01
  11  Prefactor      .0000        1.7468       -.16146E-06** at limit **
  12  Prefactor     13.155        2.3011       -.37951E-06   -.29852E-01
  13  Prefactor     12.432        1.1639       -.39714E-07    .11696E-01
  14  norm          1.1809        1.1257       -.90944E-07    .93657E-02
  15  norm          2.3083        2.1406        .17221E-06    .27623E-02
  16  Prefactor     .55012E-07    23.472       -.11596E-05** at limit **
  17  Prefactor     3.9673        3.4121       -.57149E-07   -.39231E-02
  18  norm          5.8341        .76874        .80283E-09   -.34871E-01
  19  norm          3.1047        1.5607        .65575E-07   -.87911E-02
  20  Prefactor     .11102E-08    2.8743       -.11746E-07** at limit **
  21  Prefactor     .24275        7.5457        .29673E-05** at limit **
  22  Prefactor     1.0756        1.2119       -.34882E-07    .17006E-02
  23  norm           .0000        1.7865       -.55183E-06** at limit **
  24  Prefactor     .22204E-09    2.5170       -.13253E-06** at limit **
  25  Prefactor     47.928        3.1486       -.23855E-06   -.57878E-02
  26  Prefactor     .22921E-04    233.36       -.17509E-04** at limit **
  27  norm          7.0482        2.8492       -.80595E-07   -.63493E-02
  28  norm           .0000        .31831        .32532E-07** at limit **
  29  Prefactor      .0000        4.9564       -.19634E-06** at limit **
  30  Normalizat    1.1771        .11188        .69387E-05   -.26156E-04
  31  Prefactor     .85969        .10147       -.26809E-05   -.66623E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76446e-08
  Prefactor  = 1.72808
  norm       = 0.579062
  Prefactor  = 39.8068
  Prefactor  = 27.318
  Prefactor  = 4.54039
  Prefactor  = 9.49148
  norm       = 1.25898
  norm       = 6.60028e-08
  Prefactor  = 0.47325
  Prefactor  = 0
  Prefactor  = 13.1549
  Prefactor  = 12.4319
  norm       = 1.18087
  norm       = 2.30829
  Prefactor  = 5.50116e-08
  Prefactor  = 3.9673
  norm       = 5.83413
  norm       = 3.10472
  Prefactor  = 1.11022e-09
  Prefactor  = 0.242754
  Prefactor  = 1.07559
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 47.9284
  Prefactor  = 2.29213e-05
  norm       = 7.04819
  norm       = 0
  Prefactor  = 0
  Normalizat = 1.17712
  Prefactor  = 0.859686
 GAL_V02
Working on...
/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits.....................!
real 100.37
user 98.26
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits', '/lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits', expMap='/lscratch/kocevski/40019961/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', expCube='/lscratch/kocevski/40019961/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40019961/Model_4FGL_J1048.4+7143_weekly_bin948.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1048.4+7143'

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  2.733e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40019961/ft1_filtered_4FGL_J1048.4+7143_weekly_bin948.fits
Spacecraft file(s): /lscratch/kocevski/40019961/ft2_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure map: /lscratch/kocevski/40019961/expmap_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
Exposure cube: /lscratch/kocevski/40019961/ltcube_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40019961/Model_4FGL_J1048.4+7143_weekly_bin948.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) = 21481.1892152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73363E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7286       1.0000          .0000       .10000E+07
     3 'norm      '    .59294       1.0000          .0000       .10000E+07
     4 'Prefactor '    39.559       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.987       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.5115       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.5040       1.0000          .0000       .10000E+07
     8 'norm      '    1.2593       1.0000          .0000       .10000E+07
     9 'norm      '    .24841E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47051       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23000E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.228       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.433       1.0000          .0000       .10000E+07
    14 'norm      '    1.1811       1.0000          .0000       .10000E+07
    15 'norm      '    2.3087       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89119E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.9557       1.0000          .0000       .10000E+07
    18 'norm      '    5.8351       1.0000          .0000       .10000E+07
    19 'norm      '    3.1044       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10151E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23719       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.0758       1.0000          .0000       .10000E+07
    23 'norm      '    .16294E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .87102E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    48.062       1.0000          .0000       .10000E+07
    26 'Prefactor '    .16831       1.000 **********
 **   18 **HESSE 
 **********

 FCN=   21481.11     FROM HESSE     STATUS=OK           694 CALLS     3005 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27645E-07    10.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7281        1.9161        .79827E-03   -1.5682    
   3  norm          .57906        1.2591        .69863E-03   -1.5693    
   4  Prefactor     39.807        27.014        .15901E-03   -1.5582    
   5  Prefactor     27.318        12.979        .19253E-03   -1.5603    
   6  Prefactor     4.5404        6.3339        .47376E-03   -1.5665    
   7  Prefactor     9.4915        7.6916        .32483E-03   -1.5646    
   8  norm          1.2590        .42152        .99386E-03   -1.5686    
   9  norm          .66003E-07    8.7991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47325        19.855        .81733E-03   -1.5694    
  11  Prefactor      .0000        1.7473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.155        15.304        .27515E-03   -1.5635    
  13  Prefactor     12.432        11.926        .28383E-03   -1.5637    
  14  norm          1.1809        1.3717        .10513E-03   -1.5686    
  15  norm          2.3083        2.1593        .67501E-03   -1.5678    
  16  Prefactor     .55012E-07    23.716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9673        3.4335        .50693E-03   -1.5668    
  18  norm          5.8341        .76465        .41552E-03   -1.5660    
  19  norm          3.1047        1.5637        .57528E-03   -1.5673    
  20  Prefactor     .11102E-08    2.8920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .24275        3.1085        .11148E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0756        1.2125        .11654E-03   -1.5687    
  23  norm           .0000        1.7876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .22204E-09    2.5211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     47.928        24.711        .14426E-03   -1.5570    
  26  Prefactor     .22921E-04    4.9747        .12369E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          7.0482        2.8524        .37734E-03   -1.5655    
  28  norm           .0000        .31796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor      .0000        4.9612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1771        .10019        .56578E-01   -.87313    
  31  Prefactor     .85969        .89233E-01    .44490E-01   -.97564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8507e-07
Minuit parameter uncertainties:
  1  0.00107223
  2  1.91614
  3  1.25907
  4  27.0145
  5  12.9785
  6  6.33395
  7  7.69162
  8  0.42152
  9  0.00152407
  10  6.13074
  11  3.78659e-06
  12  15.304
  13  11.9259
  14  1.37174
  15  2.15929
  16  0.0022839
  17  3.43353
  18  0.764654
  19  1.56366
  20  0.000112787
  21  1.73737
  22  1.21247
  23  6.89348e-06
  24  4.68968e-05
  25  24.7113
  26  0.0213566
  27  2.85245
  28  2.07164e-06
  29  6.5843e-06
  30  0.100203
  31  0.0892479
0          .0000       .10000E+07
    27 'norm      '    7.0587       1.0000          .0000       .10000E+07
    28 'norm      '    .22449E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .34506E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1770       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .85979       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     2311 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27645E-07    10.295       -.71606E-06** at limit **
   2  Prefactor     1.7281        1.9031        .87087E-07    .26743E-02
   3  norm          .57906        1.1550       -.63888E-07    .73066E-02
   4  Prefactor     39.807        8.9402        .79202E-06    .14300E-03
   5  Prefactor     27.318        6.5933       -.18794E-06   -.18740    
   6  Prefactor     4.5404        6.2983       -.12825E-06    .47715E-03
   7  Prefactor     9.4915        4.3780       -.93429E-06   -.52377E-01
   8  norm          1.2590        .41413        .39278E-07   -.46380E-01
   9  norm          .66003E-07    8.6496       -.19722E-06** at limit **
  10  Prefactor     .47325        2.4590       -.19994E-05   -.18616E-01
  11  Prefactor      .0000        1.7468       -.16146E-06** at limit **
  12  Prefactor     13.155        2.3011       -.37951E-06   -.29852E-01
  13  Prefactor     12.432        1.1639       -.39714E-07    .11696E-01
  14  norm          1.1809        1.1257       -.90944E-07    .93657E-02
  15  norm          2.3083        2.1406        .17221E-06    .27623E-02
  16  Prefactor     .55012E-07    23.472       -.11596E-05** at limit **
  17  Prefactor     3.9673        3.4121       -.57149E-07   -.39231E-02
  18  norm          5.8341        .76874        .80283E-09   -.34871E-01
  19  norm          3.1047        1.5607        .65575E-07   -.87911E-02
  20  Prefactor     .11102E-08    2.8743       -.11746E-07** at limit **
  21  Prefactor     .24275        7.5457        .29673E-05** at limit **
  22  Prefactor     1.0756        1.2119       -.34882E-07    .17006E-02
  23  norm           .0000        1.7865       -.55183E-06** at limit **
  24  Prefactor     .22204E-09    2.5170       -.13253E-06** at limit **
  25  Prefactor     47.928        3.1486       -.23855E-06   -.57878E-02
  26  Prefactor     .22921E-04    233.36       -.17509E-04** at limit **
  27  norm          7.0482        2.8492       -.80595E-07   -.63493E-02
  28  norm           .0000        .31831        .32532E-07** at limit **
  29  Prefactor      .0000        4.9564       -.19634E-06** at limit **
  30  Normalizat    1.1771        .11188        .69387E-05   -.26156E-04
  31  Prefactor     .85969        .10147       -.26809E-05   -.66623E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76446e-08
  Prefactor  = 1.72808
  norm       = 0.579062
  Prefactor  = 39.8068
  Prefactor  = 27.318
  Prefactor  = 4.54039
  Prefactor  = 9.49148
  norm       = 1.25898
  norm       = 6.60028e-08
  Prefactor  = 0.47325
  Prefactor  = 0
  Prefactor  = 13.1549
  Prefactor  = 12.4319
  norm       = 1.18087
  norm       = 2.30829
  Prefactor  = 5.50116e-08
  Prefactor  = 3.9673
  norm       = 5.83413
  norm       = 3.10472
  Prefactor  = 1.11022e-09
  Prefactor  = 0.242754
  Prefactor  = 1.07559
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 47.9284
  Prefactor  = 2.29213e-05
  norm       = 7.04819
  norm       = 0
  Prefactor  = 0
  Normalizat = 1.17712
  Prefactor  = 0.859686
Done.

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

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.834e+00  7.647e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.597e-01  8.925e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.177e+00  1.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 237.03
Ra Dec: 162.107 71.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.99e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 1.20e-04 +/- 1.57e-05

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) = 21481.1058307
delta logL = 0.000684334525431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21481.1056038
delta logL = 0.00091127741689

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8204        1.4801        .41605E-03   -.38751E-01
   2  alpha         2.2079        .22330        .12324        .10217E-03
   3  Normalizat    1.1763        .98442E-01    .56591E-01    .46149E-04
   4  Prefactor     .86013        .89374E-01    .44495E-01    .33227E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.8204
  alpha      = 2.20791
  Normalizat = 1.17634
  Prefactor  = 0.860126
 **********
 **   18 **HESSE 
 **********

 FCN=   21481.11     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8204        .71224        .36832E-05   -1.5660    
   2  alpha         2.2079        .10958        .53444E-03   -.11710    
   3  Normalizat    1.1763        .11075        .25025E-03   -.87337    
   4  Prefactor     .86013        .10089        .26408E-03   -.97549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25948e-10
Minuit parameter uncertainties:
  1  0.712238
  2  0.10962
  3  0.11077
  4  0.100908
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) = 21481.1056038
delta logL = 0.000911277464184

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.820e+00  7.122e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.208e+00  1.096e-01  0.000e+00  5.000e+00 ( 1.000e+00)
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.601e-01  1.009e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.176e+00  1.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 241.69
Ra Dec: 162.107 71.730
Photon Index (Free Index): 2.21 +/- 0.11
Photon Flux (Free Index): 3.00e-07 +/- 3.75e-08
Energy Flux (Free Index): 1.19e-04 +/- 1.62e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/40019866/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-07', energy_flux2='1.19e-04', photon_flux_error='3.92e-08', dlogl='9.11e-04', energy_flux='1.20e-04', photon_flux2='3.00e-07', job_status='DONE', time_completed='2026-10-06 08:13:14.900550', photon_index_error2='0.11', photon_index2='2.21', ts='237.03', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.18', time_epoch_completed='1791299594.9', return_code='0', job_id='40019866', GAL2='0.86', EG2='1.18', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.75e-08', ts2='241.69', photon_index='2.20' WHERE bin_id='948' AND source_name='4FGL J1048.4+7143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 08:13:15 PDT 2026

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

 FCN=   21481.11     FROM HESSE     STATUS=OK           694 CALLS     3005 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27645E-07    10.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7281        1.9161        .79827E-03   -1.5682    
   3  norm          .57906        1.2591        .69863E-03   -1.5693    
   4  Prefactor     39.807        27.014        .15901E-03   -1.5582    
   5  Prefactor     27.318        12.979        .19253E-03   -1.5603    
   6  Prefactor     4.5404        6.3339        .47376E-03   -1.5665    
   7  Prefactor     9.4915        7.6916        .32483E-03   -1.5646    
   8  norm          1.2590        .42152        .99386E-03   -1.5686    
   9  norm          .66003E-07    8.7991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47325        19.855        .81733E-03   -1.5694    
  11  Prefactor      .0000        1.7473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.155        15.304        .27515E-03   -1.5635    
  13  Prefactor     12.432        11.926        .28383E-03   -1.5637    
  14  norm          1.1809        1.3717        .10513E-03   -1.5686    
  15  norm          2.3083        2.1593        .67501E-03   -1.5678    
  16  Prefactor     .55012E-07    23.716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9673        3.4335        .50693E-03   -1.5668    
  18  norm          5.8341        .76465        .41552E-03   -1.5660    
  19  norm          3.1047        1.5637        .57528E-03   -1.5673    
  20  Prefactor     .11102E-08    2.8920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .24275        3.1085        .11148E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0756        1.2125        .11654E-03   -1.5687    
  23  norm           .0000        1.7876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .22204E-09    2.5211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     47.928        24.711        .14426E-03   -1.5570    
  26  Prefactor     .22921E-04    4.9747        .12369E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          7.0482        2.8524        .37734E-03   -1.5655    
  28  norm           .0000        .31796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor      .0000        4.9612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1771        .10019        .56578E-01   -.87313    
  31  Prefactor     .85969        .89233E-01    .44490E-01   -.97564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8507e-07
Minuit parameter uncertainties:
  1  0.00107223
  2  1.91614
  3  1.25907
  4  27.0145
  5  12.9785
  6  6.33395
  7  7.69162
  8  0.42152
  9  0.00152407
  10  6.13074
  11  3.78659e-06
  12  15.304
  13  11.9259
  14  1.37174
  15  2.15929
  16  0.0022839
  17  3.43353
  18  0.764654
  19  1.56366
  20  0.000112787
  21  1.73737
  22  1.21247
  23  6.89348e-06
  24  4.68968e-05
  25  24.7113
  26  0.0213566
  27  2.85245
  28  2.07164e-06
  29  6.5843e-06
  30  0.100203
  31  0.0892479
Done.

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

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.834e+00  7.647e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.597e-01  8.925e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.177e+00  1.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 237.03
Ra Dec: 162.107 71.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.99e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 1.20e-04 +/- 1.57e-05

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) = 21481.1058307
delta logL = 0.000684334525431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21481.1056038
delta logL = 0.00091127741689

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8204        1.4801        .41605E-03   -.38751E-01
   2  alpha         2.2079        .22330        .12324        .10217E-03
   3  Normalizat    1.1763        .98442E-01    .56591E-01    .46149E-04
   4  Prefactor     .86013        .89374E-01    .44495E-01    .33227E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.8204
  alpha      = 2.20791
  Normalizat = 1.17634
  Prefactor  = 0.860126
 **********
 **   18 **HESSE 
 **********

 FCN=   21481.11     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8204        .71224        .36832E-05   -1.5660    
   2  alpha         2.2079        .10958        .53444E-03   -.11710    
   3  Normalizat    1.1763        .11075        .25025E-03   -.87337    
   4  Prefactor     .86013        .10089        .26408E-03   -.97549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25948e-10
Minuit parameter uncertainties:
  1  0.712238
  2  0.10962
  3  0.11077
  4  0.100908
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) = 21481.1056038
delta logL = 0.000911277464184

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.820e+00  7.122e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.208e+00  1.096e-01  0.000e+00  5.000e+00 ( 1.000e+00)
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.601e-01  1.009e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.176e+00  1.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 241.69
Ra Dec: 162.107 71.730
Photon Index (Free Index): 2.21 +/- 0.11
Photon Flux (Free Index): 3.00e-07 +/- 3.75e-08
Energy Flux (Free Index): 1.19e-04 +/- 1.62e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/40019846/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-07', energy_flux2='1.19e-04', photon_flux_error='3.92e-08', dlogl='9.11e-04', energy_flux='1.20e-04', photon_flux2='3.00e-07', job_status='DONE', time_completed='2026-10-06 08:13:56.418775', photon_index_error2='0.11', photon_index2='2.21', ts='237.03', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.18', time_epoch_completed='1791299636.42', return_code='0', job_id='40019846', GAL2='0.86', EG2='1.18', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.75e-08', ts2='241.69', photon_index='2.20' WHERE bin_id='948' AND source_name='4FGL J1048.4+7143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 08:13:56 PDT 2026

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

 FCN=   21481.11     FROM HESSE     STATUS=OK           694 CALLS     3005 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27645E-07    10.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7281        1.9161        .79827E-03   -1.5682    
   3  norm          .57906        1.2591        .69863E-03   -1.5693    
   4  Prefactor     39.807        27.014        .15901E-03   -1.5582    
   5  Prefactor     27.318        12.979        .19253E-03   -1.5603    
   6  Prefactor     4.5404        6.3339        .47376E-03   -1.5665    
   7  Prefactor     9.4915        7.6916        .32483E-03   -1.5646    
   8  norm          1.2590        .42152        .99386E-03   -1.5686    
   9  norm          .66003E-07    8.7991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47325        19.855        .81733E-03   -1.5694    
  11  Prefactor      .0000        1.7473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.155        15.304        .27515E-03   -1.5635    
  13  Prefactor     12.432        11.926        .28383E-03   -1.5637    
  14  norm          1.1809        1.3717        .10513E-03   -1.5686    
  15  norm          2.3083        2.1593        .67501E-03   -1.5678    
  16  Prefactor     .55012E-07    23.716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9673        3.4335        .50693E-03   -1.5668    
  18  norm          5.8341        .76465        .41552E-03   -1.5660    
  19  norm          3.1047        1.5637        .57528E-03   -1.5673    
  20  Prefactor     .11102E-08    2.8920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .24275        3.1085        .11148E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0756        1.2125        .11654E-03   -1.5687    
  23  norm           .0000        1.7876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .22204E-09    2.5211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     47.928        24.711        .14426E-03   -1.5570    
  26  Prefactor     .22921E-04    4.9747        .12369E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          7.0482        2.8524        .37734E-03   -1.5655    
  28  norm           .0000        .31796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor      .0000        4.9612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1771        .10019        .56578E-01   -.87313    
  31  Prefactor     .85969        .89233E-01    .44490E-01   -.97564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8507e-07
Minuit parameter uncertainties:
  1  0.00107223
  2  1.91614
  3  1.25907
  4  27.0145
  5  12.9785
  6  6.33395
  7  7.69162
  8  0.42152
  9  0.00152407
  10  6.13074
  11  3.78659e-06
  12  15.304
  13  11.9259
  14  1.37174
  15  2.15929
  16  0.0022839
  17  3.43353
  18  0.764654
  19  1.56366
  20  0.000112787
  21  1.73737
  22  1.21247
  23  6.89348e-06
  24  4.68968e-05
  25  24.7113
  26  0.0213566
  27  2.85245
  28  2.07164e-06
  29  6.5843e-06
  30  0.100203
  31  0.0892479
Done.

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

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.834e+00  7.647e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.597e-01  8.925e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.177e+00  1.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 237.03
Ra Dec: 162.107 71.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.99e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 1.20e-04 +/- 1.57e-05

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) = 21481.1058307
delta logL = 0.000684334525431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21481.1056038
delta logL = 0.00091127741689

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21481.11     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8204        1.4801        .41605E-03   -.38751E-01
   2  alpha         2.2079        .22330        .12324        .10217E-03
   3  Normalizat    1.1763        .98442E-01    .56591E-01    .46149E-04
   4  Prefactor     .86013        .89374E-01    .44495E-01    .33227E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.8204
  alpha      = 2.20791
  Normalizat = 1.17634
  Prefactor  = 0.860126
 **********
 **   18 **HESSE 
 **********

 FCN=   21481.11     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8204        .71224        .36832E-05   -1.5660    
   2  alpha         2.2079        .10958        .53444E-03   -.11710    
   3  Normalizat    1.1763        .11075        .25025E-03   -.87337    
   4  Prefactor     .86013        .10089        .26408E-03   -.97549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25948e-10
Minuit parameter uncertainties:
  1  0.712238
  2  0.10962
  3  0.11077
  4  0.100908
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) = 21481.1056038
delta logL = 0.000911277464184

Extracting fit parameters...

4FGL J1048.4+7143
   Spectrum: LogParabola
389         norm:  5.820e+00  7.122e-01  0.000e+00  1.000e+06 ( 1.000e-11)
390        alpha:  2.208e+00  1.096e-01  0.000e+00  5.000e+00 ( 1.000e+00)
391         beta:  8.500e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
392           Eb:  6.970e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  8.601e-01  1.009e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.176e+00  1.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 241.69
Ra Dec: 162.107 71.730
Photon Index (Free Index): 2.21 +/- 0.11
Photon Flux (Free Index): 3.00e-07 +/- 3.75e-08
Energy Flux (Free Index): 1.19e-04 +/- 1.62e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/40019961/cmap_HighResolution_812332801_812937601_4FGL_J1048.4+7143_weekly_bin948.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-07', energy_flux2='1.19e-04', photon_flux_error='3.92e-08', dlogl='9.11e-04', energy_flux='1.20e-04', photon_flux2='3.00e-07', job_status='DONE', time_completed='2026-10-06 08:15:03.508384', photon_index_error2='0.11', photon_index2='2.21', ts='237.03', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.18', time_epoch_completed='1791299703.51', return_code='0', job_id='40019961', GAL2='0.86', EG2='1.18', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.75e-08', ts2='241.69', photon_index='2.20' WHERE bin_id='948' AND source_name='4FGL J1048.4+7143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct  6 08:15:03 PDT 2026

