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


Performing analysis on: 4FGL_J0602.0+5315_weekly_bin947
RA = 90.5148, Dec = 53.2657
tmin = 811728001, tmax = 812332801
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='39443019', job_status='RUN', time_executed='2026-09-29 09:22:49.534859', time_epoch_executed='1790698969.53' WHERE source_name='4FGL J0602.0+5315' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39443019

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39443019/ft1_4FGL_J0602.0+5315_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39443019/ft1_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443019/ft1_filteredMKT_4FGL_J0602.0+5315_weekly_bin947.fits ra=90.5148 dec=53.2657 rad=12.0 tmin=811728001.0 tmax=812332801.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 7.14
user 6.51
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.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/39443019/ft1_filteredMKT_4FGL_J0602.0+5315_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.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.63
user 0.24
sys 0.11

Number of photons that the gtmktime cut: 3931

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits sctable="SC_DATA"/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J0602.0+5315_weekly_bin947
RA = 90.5148, Dec = 53.2657
tmin = 811728001, tmax = 812332801
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='39443259', job_status='RUN', time_executed='2026-09-29 09:24:17.995401', time_epoch_executed='1790699058.0' WHERE source_name='4FGL J0602.0+5315' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39443259

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39443259/ft1_4FGL_J0602.0+5315_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39443259/ft1_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443259/ft1_filteredMKT_4FGL_J0602.0+5315_weekly_bin947.fits ra=90.5148 dec=53.2657 rad=12.0 tmin=811728001.0 tmax=812332801.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.02
user 5.46
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.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/39443259/ft1_filteredMKT_4FGL_J0602.0+5315_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.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.58
user 0.21
sys 0.11

Number of photons that the gtmktime cut: 3931

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/39443019/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits
.....................!
real 20.97
user 20.39
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39443019/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443019/expmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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/39443019/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits
.....................!
real 80.10
user 75.04
sys 4.30

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Added 173 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0602.0+5315 @ 90.5148 53.2657

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits scfile=/lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443019/cmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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=90.5148 yref=53.2657 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.27
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits scfile=/lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443019/cmap_HighResolution_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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=90.5148 yref=53.2657 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.67
user 0.29
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits evtable="EVENTS" scfile=/lscratchoutfile=/lscratch/kocevski/39443259/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits
.....................!
real 16.99
user 16.40
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39443259/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443259/expmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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/39443259/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits
.....................!
real 65.27
user 61.20
sys 3.55

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Added 173 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0602.0+5315 @ 90.5148 53.2657

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits scfile=/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443259/cmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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=90.5148 yref=53.2657 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.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits scfile=/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits outfile=/lscratch/kocevski/39443259/cmap_HighResolution_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.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=90.5148 yref=53.2657 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39443259/Model_4FGL_J0602.0+5315_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits.....................!
real 226.19
user 223.97
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits', '/lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits', expMap='/lscratch/kocevski/39443259/expmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits', expCube='/lscratch/kocevski/39443259/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39443259/Model_4FGL_J0602.0+5315_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0602.0+5315'

4FGL J0602.0+5315
   Spectrum: PowerLaw
252    Prefactor:  9.649e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
253        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39443259/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39443259/ft2_4FGL_J0602.0+5315_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39443259/expmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39443259/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39443259/Model_4FGL_J0602.0+5315_weekly_bin947.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) = 39309.8584613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24980E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    26.896       1.0000          .0000       .10000E+07
     3 'norm      '    .68366       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.3523       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8179       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5443       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.363       1.0000          .0000       .10000E+07
     8 'Prefactor '    26.433       1.0000          .0000       .10000E+07
     9 'norm      '    .15071       1.0000          .0000       .10000E+07
    10 'norm      '    .25983       1.0000          .0000       .10000E+07
    11 'norm      '    .74112E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.8308       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12487E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .41121E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    .82042       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39309.81     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      959 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.0983        .92135E-06** at limit **
   2  Prefactor     26.614        17.588       -.53375E-06    .47718E-01
   3  norm          .68437        .82156       -.54020E-07    .69388E-02
   4  Prefactor     3.3559        2.9751        .67040E-06   -.89774E-01
   5  Prefactor     5.8267        4.9206       -.12857E-05   -.37006E-01
   6  Prefactor     1.5453        1.7932       -.26081E-07   -.63255E-02
   7  Prefactor     11.418        1.0307       -.31586E-07    .74090E-03
   8  Prefactor     26.342        6.9933       -.14180E-06   -.50520E-01
   9  norm          .14761        6.4345       -.21019E-05** at limit **
  10  norm          .24642        4.5764       -.13520E-05** at limit **
  11  norm          .16653E-09    .93721        .60486E-07** at limit **
  12  Prefactor     8.9959        7.0084       -.38511E-06   -.24245E-01
  13  Prefactor     .18874E-08    3.6283        .10030E-06** at limit **
  14  Prefactor     .10547E-08    4.9709       -.37091E-06** at limit **
  15  Normalizat    .82041        .11921        .76431E-05    .11489E-03
  16  Prefactor     1.1052        .32670E-01    .27563E-06    .10890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 26.6141
  norm       = 0.684368
  Prefactor  = 3.35589
  Prefactor  = 5.8267
  Prefactor  = 1.54529
  Prefactor  = 11.4183
  Prefactor  = 26.3418
  norm       = 0.147605
  norm       = 0.246424
  norm       = 1.66533e-10
  Prefactor  = 8.9959
  Prefactor  = 1.88738e-09
  Prefactor  = 1.05471e-09
  Normalizat = 0.820409
  Prefactor  = 1.10516
/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39443019/Model_4FGL_J0602.0+5315_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits.....................!
real 254.86
user 252.32
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits', '/lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits', expMap='/lscratch/kocevski/39443019/expmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits', expCube='/lscratch/kocevski/39443019/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39443019/Model_4FGL_J0602.0+5315_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0602.0+5315'

4FGL J0602.0+5315
   Spectrum: PowerLaw
252    Prefactor:  9.649e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
253        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39443019/ft1_filtered_4FGL_J0602.0+5315_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39443019/ft2_4FGL_J0602.0+5315_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39443019/expmap_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39443019/ltcube_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39443019/Model_4FGL_J0602.0+5315_weekly_bin947.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) = 39309.8584613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24980E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    26.896       1.0000          .0000       .10000E+07
     3 'norm      '    .68366       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.3523       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8179       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5443       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.363       1.0000          .0000       .10000E+07
     8 'Prefactor '    26.433       1.0000          .0000       .10000E+07
     9 'norm      '    .15071       1.0000          .0000       .10000E+07
    10 'norm      '    .25983       1.0000          .0000       .10000E+07
    11 'norm      '    .74112E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.8308       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12487E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .41121E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    .82042       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39309.81     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      959 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.0983        .92135E-06** at limit **
   2  Prefactor     26.614        17.588       -.53375E-06    .47718E-01
   3  norm          .68437        .82156       -.54020E-07    .69388E-02
   4  Prefactor     3.3559        2.9751        .67040E-06   -.89774E-01
   5  Prefactor     5.8267        4.9206       -.12857E-05   -.37006E-01
   6  Prefactor     1.5453        1.7932       -.26081E-07   -.63255E-02
   7  Prefactor     11.418        1.0307       -.31586E-07    .74090E-03
   8  Prefactor     26.342        6.9933       -.14180E-06   -.50520E-01
   9  norm          .14761        6.4345       -.21019E-05** at limit **
  10  norm          .24642        4.5764       -.13520E-05** at limit **
  11  norm          .16653E-09    .93721        .60486E-07** at limit **
  12  Prefactor     8.9959        7.0084       -.38511E-06   -.24245E-01
  13  Prefactor     .18874E-08    3.6283        .10030E-06** at limit **
  14  Prefactor     .10547E-08    4.9709       -.37091E-06** at limit **
  15  Normalizat    .82041        .11921        .76431E-05    .11489E-03
  16  Prefactor     1.1052        .32670E-01    .27563E-06    .10890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 26.6141
  norm       = 0.684368
  Prefactor  = 3.35589
  Prefactor  = 5.8267
  Prefactor  = 1.54529
  Prefactor  = 11.4183
  Prefactor  = 26.3418
  norm       = 0.147605
  norm       = 0.246424
  norm       = 1.66533e-10
  Prefactor  = 8.9959
  Prefactor  = 1.88738e-09
  Prefactor  = 1.05471e-09
  Normalizat = 0.820409
  Prefactor  = 1.10516
 **********
 **   18 **HESSE 
 **********

 FCN=   39309.81     FROM HESSE     STATUS=OK           255 CALLS     1214 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .16778        .26634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.614        19.225        .19286E-03   -1.5605    
   3  norm          .68437        .83093        .62045E-03   -1.5691    
   4  Prefactor     3.3559        11.720        .55250E-03   -1.5671    
   5  Prefactor     5.8267        4.9817        .41614E-03   -1.5660    
   6  Prefactor     1.5453        1.8068        .85731E-03   -1.5683    
   7  Prefactor     11.418        16.439        .29695E-03   -1.5640    
   8  Prefactor     26.342        18.112        .19454E-03   -1.5605    
   9  norm          .14761        .61898        .82650E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .24642        .93041        .63296E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .16653E-09    .93676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9959        7.0453        .33705E-03   -1.5648    
  13  Prefactor     .18874E-08    3.6378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10547E-08    4.9749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .82041        .12120        .12228       -.99316    
  16  Prefactor     1.1052        .31516E-01    .37395E-01   -.89302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83495e-07
Minuit parameter uncertainties:
  1  3.81372e-06
  2  19.2255
  3  0.830934
  4  11.72
  5  4.98169
  6  1.80679
  7  16.4395
  8  18.1121
  9  0.604532
  10  0.930414
  11  2.42603e-05
  12  7.04535
  13  0.000164953
  14  0.000142999
  15  0.121244
  16  0.0315163
 **********
 **   18 **HESSE 
 **********

 FCN=   39309.81     FROM HESSE     STATUS=OK           255 CALLS     1214 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .16778        .26634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.614        19.225        .19286E-03   -1.5605    
   3  norm          .68437        .83093        .62045E-03   -1.5691    
   4  Prefactor     3.3559        11.720        .55250E-03   -1.5671    
   5  Prefactor     5.8267        4.9817        .41614E-03   -1.5660    
   6  Prefactor     1.5453        1.8068        .85731E-03   -1.5683    
   7  Prefactor     11.418        16.439        .29695E-03   -1.5640    
   8  Prefactor     26.342        18.112        .19454E-03   -1.5605    
   9  norm          .14761        .61898        .82650E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .24642        .93041        .63296E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .16653E-09    .93676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9959        7.0453        .33705E-03   -1.5648    
  13  Prefactor     .18874E-08    3.6378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10547E-08    4.9749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .82041        .12120        .12228       -.99316    
  16  Prefactor     1.1052        .31516E-01    .37395E-01   -.89302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83495e-07
Minuit parameter uncertainties:
  1  3.81372e-06
  2  19.2255
  3  0.830934
  4  11.72
  5  4.98169
  6  1.80679
  7  16.4395
  8  18.1121
  9  0.604532
  10  0.930414
  11  2.42603e-05
  12  7.04535
  13  0.000164953
  14  0.000142999
  15  0.121244
  16  0.0315163
Done.

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

Extracting fit parameters...

4FGL J0602.0+5315
   Spectrum: PowerLaw
252    Prefactor:  2.661e+01  1.923e+01  0.000e+00  1.000e+06 ( 1.000e-14)
253        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.105e+00  3.152e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  8.204e-01  1.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 90.515 53.266
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.95e-08 +/- 1.41e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.06e-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) = 39309.7521041
delta logL = 0.0535628524958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 39309.7401111
delta logL = 0.0655558417275

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39309.74     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      244 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.704        23.238        .73411E-05   -.50399E-02
   2  Index         1.8093        .43834        .93416E-02   -.44662E-03
   3  Normalizat    .82345        .11638        .54177E-03    .62953E-03
   4  Prefactor     1.1051        .32652E-01    .13216E-03    .27449E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.7039
  Index      = 1.80928
  Normalizat = 0.82345
  Prefactor  = 1.10508
 **********
 **   18 **HESSE 
 **********

 FCN=   39309.74     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.704        22.914        .14682E-05   -1.5599    
   2  Index         1.8093        .43234        .37366E-03   -.69208    
   3  Normalizat    .82345        .11637        .21671E-04   -.99205    
   4  Prefactor     1.1051        .32656E-01    .26432E-04   -.89304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36025e-09
Minuit parameter uncertainties:
  1  22.9142
  2  0.433254
  3  0.116403
  4  0.0326569
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) = 39309.7401093
delta logL = 0.0655576719728

Extracting fit parameters...

4FGL J0602.0+5315
   Spectrum: PowerLaw
252    Prefactor:  2.970e+01  2.291e+01  0.000e+00  1.000e+06 ( 1.000e-14)
253        Index:  1.809e+00  4.333e-01  0.000e+00  1.000e+01 (-1.000e+00)
254        Scale:  2.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.105e+00  3.266e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  8.234e-01  1.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.12
Ra Dec: 90.515 53.266
Photon Index (Free Index): 1.81 +/- 0.43
Photon Flux (Free Index): 1.54e-08 +/- 1.63e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.66e-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/39443259/cmap_HighResolution_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.95e-08', energy_flux2='1.79e-05', photon_flux_error='1.41e-08', dlogl='6.56e-02', energy_flux='1.47e-05', photon_flux2='1.54e-08', job_status='DONE', time_completed='2026-09-29 09:36:05.590448', photon_index_error2='0.43', photon_index2='1.81', ts='4.99', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.82', time_epoch_completed='1790699765.59', return_code='0', job_id='39443259', GAL2='1.11', EG2='0.82', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='1.63e-08', ts2='5.12', photon_index='1.96' WHERE bin_id='947' AND source_name='4FGL J0602.0+5315' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 09:36:05 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0602.0+5315
   Spectrum: PowerLaw
252    Prefactor:  2.661e+01  1.923e+01  0.000e+00  1.000e+06 ( 1.000e-14)
253        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.105e+00  3.152e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  8.204e-01  1.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 90.515 53.266
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.95e-08 +/- 1.41e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.06e-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) = 39309.7521041
delta logL = 0.0535628524958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 39309.7401111
delta logL = 0.0655558417275

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39309.74     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      244 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.704        23.238        .73411E-05   -.50399E-02
   2  Index         1.8093        .43834        .93416E-02   -.44662E-03
   3  Normalizat    .82345        .11638        .54177E-03    .62953E-03
   4  Prefactor     1.1051        .32652E-01    .13216E-03    .27449E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.7039
  Index      = 1.80928
  Normalizat = 0.82345
  Prefactor  = 1.10508
 **********
 **   18 **HESSE 
 **********

 FCN=   39309.74     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.704        22.914        .14682E-05   -1.5599    
   2  Index         1.8093        .43234        .37366E-03   -.69208    
   3  Normalizat    .82345        .11637        .21671E-04   -.99205    
   4  Prefactor     1.1051        .32656E-01    .26432E-04   -.89304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36025e-09
Minuit parameter uncertainties:
  1  22.9142
  2  0.433254
  3  0.116403
  4  0.0326569
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) = 39309.7401093
delta logL = 0.0655576719728

Extracting fit parameters...

4FGL J0602.0+5315
   Spectrum: PowerLaw
252    Prefactor:  2.970e+01  2.291e+01  0.000e+00  1.000e+06 ( 1.000e-14)
253        Index:  1.809e+00  4.333e-01  0.000e+00  1.000e+01 (-1.000e+00)
254        Scale:  2.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.105e+00  3.266e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  8.234e-01  1.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.12
Ra Dec: 90.515 53.266
Photon Index (Free Index): 1.81 +/- 0.43
Photon Flux (Free Index): 1.54e-08 +/- 1.63e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.66e-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/39443019/cmap_HighResolution_811728001_812332801_4FGL_J0602.0+5315_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.95e-08', energy_flux2='1.79e-05', photon_flux_error='1.41e-08', dlogl='6.56e-02', energy_flux='1.47e-05', photon_flux2='1.54e-08', job_status='DONE', time_completed='2026-09-29 09:36:30.119005', photon_index_error2='0.43', photon_index2='1.81', ts='4.99', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.82', time_epoch_completed='1790699790.12', return_code='0', job_id='39443019', GAL2='1.11', EG2='0.82', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='1.63e-08', ts2='5.12', photon_index='1.96' WHERE bin_id='947' AND source_name='4FGL J0602.0+5315' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 09:36:30 PDT 2026

