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


Performing analysis on: 4FGL_J1502.5+5552_weekly_bin945
RA = 225.626, Dec = 55.8797
tmin = 810518401, tmax = 811123201
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='38311859', job_status='RUN', time_executed='2026-09-15 11:47:15.046679', time_epoch_executed='1789498035.05' WHERE source_name='4FGL J1502.5+5552' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38311859

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38311859/ft1_4FGL_J1502.5+5552_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38311859/ft1_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38311859/ft1_filteredMKT_4FGL_J1502.5+5552_weekly_bin945.fits ra=225.626 dec=55.8797 rad=12.0 tmin=810518401.0 tmax=811123201.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.16
user 5.51
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.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/38311859/ft1_filteredMKT_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.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.22
sys 0.12

Number of photons that the gtmktime cut: 1220

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.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).

 outfile=/lscratch/kocevski/38311783/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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/38311783/ft2_4FGL_J1502.5+5552_weekly_bin945.fits
.....................!
real 18.55
user 17.69
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38311783/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38311783/ft2_4FGL_J1502.5+5552_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38311783/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38311783/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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/38311783/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
.....................!
real 71.60
user 66.30
sys 4.26

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

Setting source of interest to:
4FGL J1502.5+5552 @ 225.626 55.8797

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38311783/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits scfile=/lscratch/kocevski/38311783/ft2_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38311783/cmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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=225.626 yref=55.8797 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.75
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38311783/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits scfile=/lscratch/kocevski/38311783/ft2_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38311783/cmap_HighResolution_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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=225.626 yref=55.8797 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.83
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38311783/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38311783/ft2_4FGL_J1502.5+5552_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38311783/Model_4FGL_J1502.5+5552_weekly_bin945.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 = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1502.5+5552_weekly_bin945
RA = 225.626, Dec = 55.8797
tmin = 810518401, tmax = 811123201
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='38312010', job_status='RUN', time_executed='2026-09-15 11:49:56.066373', time_epoch_executed='1789498196.07' WHERE source_name='4FGL J1502.5+5552' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38312010

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38312010/ft1_4FGL_J1502.5+5552_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38312010/ft1_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38312010/ft1_filteredMKT_4FGL_J1502.5+5552_weekly_bin945.fits ra=225.626 dec=55.8797 rad=12.0 tmin=810518401.0 tmax=811123201.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.19
user 5.54
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.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/38312010/ft1_filteredMKT_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.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.89
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 1220

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38311859/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits
.....................!
real 18.79
user 17.99
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38311859/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38311859/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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/38311859/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
.....................!
real 72.12
user 67.09
sys 4.27

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

Setting source of interest to:
4FGL J1502.5+5552 @ 225.626 55.8797

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits scfile=/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38311859/cmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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=225.626 yref=55.8797 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.81
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits scfile=/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38311859/cmap_HighResolution_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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=225.626 yref=55.8797 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38311859/Model_4FGL_J1502.5+5552_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38311654/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits....................!
real 39.39
user 37.84
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38311654/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits', '/lscratch/kocevski/38311654/ft2_4FGL_J1502.5+5552_weekly_bin945.fits', expMap='/lscratch/kocevski/38311654/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', expCube='/lscratch/kocevski/38311654/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38311654/Model_4FGL_J1502.5+5552_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1502.5+5552'

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.174e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38311654/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38311654/ft2_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38311654/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38311654/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38311654/Model_4FGL_J1502.5+5552_weekly_bin945.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) = 13150.0043936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3339       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20691E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .62672E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .57029       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6860       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.063       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5823       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.507       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.150       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43210E-02   1.0000          .0000       .10000E+07
    12 'norm      '    2.1092       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.447       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.7745       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.5924       1.0000          .0000       .10000E+07
    16 'norm      '    1.2486       1.0000          .0000       .10000E+07
    17 'Prefactor '    .46099E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.7187       1.0000          .0000       .10000E+07
    19 'Prefactor '    37.392       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.786       1.0000          .0000       .10000E+07
    21 'norm      '    1.6552       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18025E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    10.416       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.5297       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93478       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .74099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13149.97     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2249 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3347        1.7746        .78349E-08    .33966E-03
   2  Prefactor     13.155        26.898       -.33519E-06    .34471E-01
   3  Prefactor     .88818E-09    14.787       -.57003E-06** at limit **
   4  Prefactor      .0000        1.3586       -.32611E-07** at limit **
   5  Prefactor     .53228        20.108        .18405E-07    .54244E-01
   6  Prefactor     3.6987        1.6300       -.17489E-07   -.80643E-03
   7  Prefactor     12.049        2.0057        .26490E-09   -.68227E-01
   8  Prefactor     4.7122        13.037        .16756E-06   -.56865E-02
   9  Prefactor     23.596        1.4767       -.76360E-08   -.25689E-01
  10  Prefactor     10.063        8.9009        .15041E-07    .81900E-02
  11  Prefactor     .55511E-10    6.8927       -.37908E-07** at limit **
  12  norm          2.1094        .90630        .14707E-07    .24555E-02
  13  Prefactor     11.230        8.1882       -.11388E-06    .23404E-02
  14  Prefactor     2.7748        2.2289       -.15951E-06   -.55728E-02
  15  Prefactor     8.7127        5.7417       -.29111E-07   -.10835E-02
  16  norm          1.2495        1.6109       -.78667E-07   -.23185E-02
  17  Prefactor     .22204E-09    5.2404       -.26101E-06** at limit **
  18  norm          3.7274        1.8573       -.16801E-07   -.16308E-02
  19  Prefactor     36.421        52.270       -.38307E-06    .37194E-01
  20  Prefactor     13.855        7.4338        .53592E-07    .36536E-02
  21  norm          1.5598        7.5990        .16968E-06    .92331E-03
  22  Prefactor     .43854E-08    12.967        .31278E-07** at limit **
  23  Prefactor     9.7168        30.156       -.46620E-06   -.52372E-01
  24  Prefactor     2.5312        3.1362       -.64738E-08    .24607E-03
  25  Normalizat    .93536        .12233        .50507E-07   -.24680E-04
  26  Prefactor     .74125        .13229        .73772E-06   -.70176E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33465
  Prefactor  = 13.1551
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  Prefactor  = 0.532282
  Prefactor  = 3.69873
  Prefactor  = 12.0489
  Prefactor  = 4.71218
  Prefactor  = 23.5965
  Prefactor  = 10.0632
  Prefactor  = 5.55112e-11
  norm       = 2.10941
  Prefactor  = 11.2299
  Prefactor  = 2.77478
  Prefactor  = 8.71268
  norm       = 1.24949
  Prefactor  = 2.22045e-10
  norm       = 3.72742
  Prefactor  = 36.4208
  Prefactor  = 13.8553
  norm       = 1.55979
  Prefactor  = 4.38538e-09
  Prefactor  = 9.71677
  Prefactor  = 2.53124
  Normalizat = 0.935359
  Prefactor  = 0.74125
 **********
 **   18 **HESSE 
 **********

 FCN=   13149.97     FROM HESSE     STATUS=OK           520 CALLS     2769 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3347        1.7994        .94987E-03   -1.5685    
   2  Prefactor     13.155        27.813        .26659E-03   -1.5635    
   3  Prefactor     .88818E-09    14.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.3458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .53228        56.851        .71932E-03   -1.5693    
   6  Prefactor     3.6987        1.7853        .52582E-03   -1.5669    
   7  Prefactor     12.049        15.697        .28817E-03   -1.5639    
   8  Prefactor     4.7122        61.225        .46999E-03   -1.5665    
   9  Prefactor     23.596        18.836        .20630E-03   -1.5611    
  10  Prefactor     10.063        9.7031        .31427E-03   -1.5645    
  11  Prefactor     .55511E-10    6.8430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1094        .90869        .71012E-03   -1.5679    
  13  Prefactor     11.230        8.2466        .29585E-03   -1.5641    
  14  Prefactor     2.7748        2.2269        .61071E-03   -1.5675    
  15  Prefactor     8.7127        5.7559        .34173E-03   -1.5649    
  16  norm          1.2495        1.6409        .10009E-02   -1.5686    
  17  Prefactor     .22204E-09    5.2402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7274        1.8708        .52341E-03   -1.5669    
  19  Prefactor     36.421        54.926        .16355E-03   -1.5587    
  20  Prefactor     13.855        8.1873        .26950E-03   -1.5634    
  21  norm          1.5598        9.2218        .82003E-03   -1.5683    
  22  Prefactor     .43854E-08    12.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.7168        37.156        .31020E-03   -1.5646    
  24  Prefactor     2.5312        3.1583        .64194E-03   -1.5676    
  25  Normalizat    .93536        .10415        .45345E-01   -.95229    
  26  Prefactor     .74125        .11186        .42944E-01   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39767e-06
Minuit parameter uncertainties:
  1  1.79937
  2  27.8133
  3  0.000229517
  4  1.06689e-05
  5  11.0021
  6  1.78534
  7  15.6966
  8  33.9712
  9  18.8356
  10  9.70313
  11  4.72203e-05
  12  0.908686
  13  8.24658
  14  2.22693
  15  5.7559
  16  1.6409
  17  6.41039e-05
  18  1.87075
  19  54.9272
  20  8.18734
  21  7.58527
  22  0.000477406
  23  37.157
  24  3.15834
  25  0.104177
  26  0.111897
 outfile=/lscratch/kocevski/38312010/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits
.....................!
real 18.56
user 17.87
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312010/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38312010/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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/38312010/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
.....................!
real 68.69
user 63.85
sys 4.07

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

Setting source of interest to:
4FGL J1502.5+5552 @ 225.626 55.8797

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits scfile=/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38312010/cmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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=225.626 yref=55.8797 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits scfile=/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits outfile=/lscratch/kocevski/38312010/cmap_HighResolution_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.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=225.626 yref=55.8797 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.64
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38312010/Model_4FGL_J1502.5+5552_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38311783/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits....................!
real 39.59
user 37.95
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38311783/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits', '/lscratch/kocevski/38311783/ft2_4FGL_J1502.5+5552_weekly_bin945.fits', expMap='/lscratch/kocevski/38311783/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', expCube='/lscratch/kocevski/38311783/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38311783/Model_4FGL_J1502.5+5552_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1502.5+5552'

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.174e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38311783/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38311783/ft2_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38311783/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38311783/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38311783/Model_4FGL_J1502.5+5552_weekly_bin945.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) = 13150.0043936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3339       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20691E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .62672E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .57029       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6860       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.063       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5823       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.507       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.150       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43210E-02   1.0000          .0000       .10000E+07
    12 'norm      '    2.1092       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.447       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.7745       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.5924       1.0000          .0000       .10000E+07
    16 'norm      '    1.2486       1.0000          .0000       .10000E+07
    17 'Prefactor '    .46099E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.7187       1.0000          .0000       .10000E+07
    19 'Prefactor '    37.392       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.786       1.0000          .0000       .10000E+07
    21 'norm      '    1.6552       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18025E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    10.416       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.5297       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93478       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .74099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13149.97     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2249 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3347        1.7746        .78349E-08    .33966E-03
   2  Prefactor     13.155        26.898       -.33519E-06    .34471E-01
   3  Prefactor     .88818E-09    14.787       -.57003E-06** at limit **
   4  Prefactor      .0000        1.3586       -.32611E-07** at limit **
   5  Prefactor     .53228        20.108        .18405E-07    .54244E-01
   6  Prefactor     3.6987        1.6300       -.17489E-07   -.80643E-03
   7  Prefactor     12.049        2.0057        .26490E-09   -.68227E-01
   8  Prefactor     4.7122        13.037        .16756E-06   -.56865E-02
   9  Prefactor     23.596        1.4767       -.76360E-08   -.25689E-01
  10  Prefactor     10.063        8.9009        .15041E-07    .81900E-02
  11  Prefactor     .55511E-10    6.8927       -.37908E-07** at limit **
  12  norm          2.1094        .90630        .14707E-07    .24555E-02
  13  Prefactor     11.230        8.1882       -.11388E-06    .23404E-02
  14  Prefactor     2.7748        2.2289       -.15951E-06   -.55728E-02
  15  Prefactor     8.7127        5.7417       -.29111E-07   -.10835E-02
  16  norm          1.2495        1.6109       -.78667E-07   -.23185E-02
  17  Prefactor     .22204E-09    5.2404       -.26101E-06** at limit **
  18  norm          3.7274        1.8573       -.16801E-07   -.16308E-02
  19  Prefactor     36.421        52.270       -.38307E-06    .37194E-01
  20  Prefactor     13.855        7.4338        .53592E-07    .36536E-02
  21  norm          1.5598        7.5990        .16968E-06    .92331E-03
  22  Prefactor     .43854E-08    12.967        .31278E-07** at limit **
  23  Prefactor     9.7168        30.156       -.46620E-06   -.52372E-01
  24  Prefactor     2.5312        3.1362       -.64738E-08    .24607E-03
  25  Normalizat    .93536        .12233        .50507E-07   -.24680E-04
  26  Prefactor     .74125        .13229        .73772E-06   -.70176E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33465
  Prefactor  = 13.1551
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  Prefactor  = 0.532282
  Prefactor  = 3.69873
  Prefactor  = 12.0489
  Prefactor  = 4.71218
  Prefactor  = 23.5965
  Prefactor  = 10.0632
  Prefactor  = 5.55112e-11
  norm       = 2.10941
  Prefactor  = 11.2299
  Prefactor  = 2.77478
  Prefactor  = 8.71268
  norm       = 1.24949
  Prefactor  = 2.22045e-10
  norm       = 3.72742
  Prefactor  = 36.4208
  Prefactor  = 13.8553
  norm       = 1.55979
  Prefactor  = 4.38538e-09
  Prefactor  = 9.71677
  Prefactor  = 2.53124
  Normalizat = 0.935359
  Prefactor  = 0.74125
Done.

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

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  1.123e+01  8.247e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.413e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.354e-01  1.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 8.33e-06

TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Flux Upper Limit: 7.92356980419e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612717598113 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38311654/likelihoodResults_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13148.2618021
delta logL = 1.70568222933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13148.2470531
delta logL = 1.72043121317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4648       1.0000          .0000       .10000E+07
     2 'Index     '    3.5309       1.0000          .0000       10.000    
     3 'Normalizat'    .88408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+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=   13148.25     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      283 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4645        22.663        .26044E-05   -.41024E-01
   2  Index         3.5310        2.7245        .38886E-02   -.68606E-03
   3  Normalizat    .88409        .12227        .21153E-03    .10749E-04
   4  Prefactor     .78067        .13642        .25213E-03    .26693E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.46452
  Index      = 3.53096
  Normalizat = 0.884089
  Prefactor  = 0.78067
 **********
 **   18 **HESSE 
 **********

 FCN=   13148.25     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4645        3.6903        .52088E-06   -1.5677    
   2  Index         3.5310        .71241        .15555E-03   -.29821    
   3  Normalizat    .88409        .12072        .84613E-05   -.97022    
   4  Prefactor     .78067        .13328        .10085E-04   -1.0044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19283e-09
Minuit parameter uncertainties:
  1  3.6903
  2  0.715072
  3  0.120761
  4  0.133335
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) = 13148.2470531
delta logL = 1.72043121871

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.465e+00  3.690e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  3.531e+00  7.151e-01  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.807e-01  1.333e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  8.841e-01  1.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.79
Ra Dec: 225.626 55.880
Photon Index (Free Index): 3.53 +/- 0.72
Photon Flux (Free Index): 7.28e-08 +/- 3.33e-08
Energy Flux (Free Index): 1.20e-05 +/- 5.49e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38311654/cmap_HighResolution_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='1.20e-05', photon_flux_error='2.58e-08', dlogl='1.72e+00', energy_flux='1.13e-05', photon_flux2='7.28e-08', job_status='DONE', time_completed='2026-09-15 11:55:19.508817', photon_index_error2='0.72', photon_index2='3.53', ts='3.04', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='7.92e-08', energy_flux_error2='5.49e-06', EG='0.94', time_epoch_completed='1789498519.51', return_code='0', job_id='38311654', GAL2='0.78', EG2='0.88', return_code2='0', energy_flux_error='8.33e-06', photon_flux_error2='3.33e-08', ts2='6.79', photon_index='2.41' WHERE bin_id='945' AND source_name='4FGL J1502.5+5552' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 11:55:19 PDT 2026

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

 FCN=   13149.97     FROM HESSE     STATUS=OK           520 CALLS     2769 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3347        1.7994        .94987E-03   -1.5685    
   2  Prefactor     13.155        27.813        .26659E-03   -1.5635    
   3  Prefactor     .88818E-09    14.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.3458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .53228        56.851        .71932E-03   -1.5693    
   6  Prefactor     3.6987        1.7853        .52582E-03   -1.5669    
   7  Prefactor     12.049        15.697        .28817E-03   -1.5639    
   8  Prefactor     4.7122        61.225        .46999E-03   -1.5665    
   9  Prefactor     23.596        18.836        .20630E-03   -1.5611    
  10  Prefactor     10.063        9.7031        .31427E-03   -1.5645    
  11  Prefactor     .55511E-10    6.8430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1094        .90869        .71012E-03   -1.5679    
  13  Prefactor     11.230        8.2466        .29585E-03   -1.5641    
  14  Prefactor     2.7748        2.2269        .61071E-03   -1.5675    
  15  Prefactor     8.7127        5.7559        .34173E-03   -1.5649    
  16  norm          1.2495        1.6409        .10009E-02   -1.5686    
  17  Prefactor     .22204E-09    5.2402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7274        1.8708        .52341E-03   -1.5669    
  19  Prefactor     36.421        54.926        .16355E-03   -1.5587    
  20  Prefactor     13.855        8.1873        .26950E-03   -1.5634    
  21  norm          1.5598        9.2218        .82003E-03   -1.5683    
  22  Prefactor     .43854E-08    12.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.7168        37.156        .31020E-03   -1.5646    
  24  Prefactor     2.5312        3.1583        .64194E-03   -1.5676    
  25  Normalizat    .93536        .10415        .45345E-01   -.95229    
  26  Prefactor     .74125        .11186        .42944E-01   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39767e-06
Minuit parameter uncertainties:
  1  1.79937
  2  27.8133
  3  0.000229517
  4  1.06689e-05
  5  11.0021
  6  1.78534
  7  15.6966
  8  33.9712
  9  18.8356
  10  9.70313
  11  4.72203e-05
  12  0.908686
  13  8.24658
  14  2.22693
  15  5.7559
  16  1.6409
  17  6.41039e-05
  18  1.87075
  19  54.9272
  20  8.18734
  21  7.58527
  22  0.000477406
  23  37.157
  24  3.15834
  25  0.104177
  26  0.111897
e GAL_V02
Working on...
/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits....................!
real 39.83
user 38.04
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits', '/lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits', expMap='/lscratch/kocevski/38311859/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', expCube='/lscratch/kocevski/38311859/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38311859/Model_4FGL_J1502.5+5552_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1502.5+5552'

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.174e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38311859/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38311859/ft2_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38311859/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38311859/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38311859/Model_4FGL_J1502.5+5552_weekly_bin945.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) = 13150.0043936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3339       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20691E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .62672E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .57029       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6860       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.063       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5823       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.507       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.150       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43210E-02   1.0000          .0000       .10000E+07
    12 'norm      '    2.1092       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.447       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.7745       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.5924       1.0000          .0000       .10000E+07
    16 'norm      '    1.2486       1.0000          .0000       .10000E+07
    17 'Prefactor '    .46099E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.7187       1.0000          .0000       .10000E+07
    19 'Prefactor '    37.392       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.786       1.0000          .0000       .10000E+07
    21 'norm      '    1.6552       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18025E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    10.416       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.5297       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93478       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .74099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13149.97     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2249 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3347        1.7746        .78349E-08    .33966E-03
   2  Prefactor     13.155        26.898       -.33519E-06    .34471E-01
   3  Prefactor     .88818E-09    14.787       -.57003E-06** at limit **
   4  Prefactor      .0000        1.3586       -.32611E-07** at limit **
   5  Prefactor     .53228        20.108        .18405E-07    .54244E-01
   6  Prefactor     3.6987        1.6300       -.17489E-07   -.80643E-03
   7  Prefactor     12.049        2.0057        .26490E-09   -.68227E-01
   8  Prefactor     4.7122        13.037        .16756E-06   -.56865E-02
   9  Prefactor     23.596        1.4767       -.76360E-08   -.25689E-01
  10  Prefactor     10.063        8.9009        .15041E-07    .81900E-02
  11  Prefactor     .55511E-10    6.8927       -.37908E-07** at limit **
  12  norm          2.1094        .90630        .14707E-07    .24555E-02
  13  Prefactor     11.230        8.1882       -.11388E-06    .23404E-02
  14  Prefactor     2.7748        2.2289       -.15951E-06   -.55728E-02
  15  Prefactor     8.7127        5.7417       -.29111E-07   -.10835E-02
  16  norm          1.2495        1.6109       -.78667E-07   -.23185E-02
  17  Prefactor     .22204E-09    5.2404       -.26101E-06** at limit **
  18  norm          3.7274        1.8573       -.16801E-07   -.16308E-02
  19  Prefactor     36.421        52.270       -.38307E-06    .37194E-01
  20  Prefactor     13.855        7.4338        .53592E-07    .36536E-02
  21  norm          1.5598        7.5990        .16968E-06    .92331E-03
  22  Prefactor     .43854E-08    12.967        .31278E-07** at limit **
  23  Prefactor     9.7168        30.156       -.46620E-06   -.52372E-01
  24  Prefactor     2.5312        3.1362       -.64738E-08    .24607E-03
  25  Normalizat    .93536        .12233        .50507E-07   -.24680E-04
  26  Prefactor     .74125        .13229        .73772E-06   -.70176E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33465
  Prefactor  = 13.1551
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  Prefactor  = 0.532282
  Prefactor  = 3.69873
  Prefactor  = 12.0489
  Prefactor  = 4.71218
  Prefactor  = 23.5965
  Prefactor  = 10.0632
  Prefactor  = 5.55112e-11
  norm       = 2.10941
  Prefactor  = 11.2299
  Prefactor  = 2.77478
  Prefactor  = 8.71268
  norm       = 1.24949
  Prefactor  = 2.22045e-10
  norm       = 3.72742
  Prefactor  = 36.4208
  Prefactor  = 13.8553
  norm       = 1.55979
  Prefactor  = 4.38538e-09
  Prefactor  = 9.71677
  Prefactor  = 2.53124
  Normalizat = 0.935359
  Prefactor  = 0.74125
 **********
 **   18 **HESSE 
 **********

 FCN=   13149.97     FROM HESSE     STATUS=OK           520 CALLS     2769 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3347        1.7994        .94987E-03   -1.5685    
   2  Prefactor     13.155        27.813        .26659E-03   -1.5635    
   3  Prefactor     .88818E-09    14.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.3458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .53228        56.851        .71932E-03   -1.5693    
   6  Prefactor     3.6987        1.7853        .52582E-03   -1.5669    
   7  Prefactor     12.049        15.697        .28817E-03   -1.5639    
   8  Prefactor     4.7122        61.225        .46999E-03   -1.5665    
   9  Prefactor     23.596        18.836        .20630E-03   -1.5611    
  10  Prefactor     10.063        9.7031        .31427E-03   -1.5645    
  11  Prefactor     .55511E-10    6.8430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1094        .90869        .71012E-03   -1.5679    
  13  Prefactor     11.230        8.2466        .29585E-03   -1.5641    
  14  Prefactor     2.7748        2.2269        .61071E-03   -1.5675    
  15  Prefactor     8.7127        5.7559        .34173E-03   -1.5649    
  16  norm          1.2495        1.6409        .10009E-02   -1.5686    
  17  Prefactor     .22204E-09    5.2402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7274        1.8708        .52341E-03   -1.5669    
  19  Prefactor     36.421        54.926        .16355E-03   -1.5587    
  20  Prefactor     13.855        8.1873        .26950E-03   -1.5634    
  21  norm          1.5598        9.2218        .82003E-03   -1.5683    
  22  Prefactor     .43854E-08    12.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.7168        37.156        .31020E-03   -1.5646    
  24  Prefactor     2.5312        3.1583        .64194E-03   -1.5676    
  25  Normalizat    .93536        .10415        .45345E-01   -.95229    
  26  Prefactor     .74125        .11186        .42944E-01   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39767e-06
Minuit parameter uncertainties:
  1  1.79937
  2  27.8133
  3  0.000229517
  4  1.06689e-05
  5  11.0021
  6  1.78534
  7  15.6966
  8  33.9712
  9  18.8356
  10  9.70313
  11  4.72203e-05
  12  0.908686
  13  8.24658
  14  2.22693
  15  5.7559
  16  1.6409
  17  6.41039e-05
  18  1.87075
  19  54.9272
  20  8.18734
  21  7.58527
  22  0.000477406
  23  37.157
  24  3.15834
  25  0.104177
  26  0.111897
Done.

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

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  1.123e+01  8.247e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.413e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.354e-01  1.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 8.33e-06

TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Flux Upper Limit: 7.92356980419e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612717598113 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38311783/likelihoodResults_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13148.2618021
delta logL = 1.70568222933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13148.2470531
delta logL = 1.72043121317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4648       1.0000          .0000       .10000E+07
     2 'Index     '    3.5309       1.0000          .0000       10.000    
     3 'Normalizat'    .88408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+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=   13148.25     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      283 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4645        22.663        .26044E-05   -.41024E-01
   2  Index         3.5310        2.7245        .38886E-02   -.68606E-03
   3  Normalizat    .88409        .12227        .21153E-03    .10749E-04
   4  Prefactor     .78067        .13642        .25213E-03    .26693E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.46452
  Index      = 3.53096
  Normalizat = 0.884089
  Prefactor  = 0.78067
 **********
 **   18 **HESSE 
 **********

 FCN=   13148.25     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4645        3.6903        .52088E-06   -1.5677    
   2  Index         3.5310        .71241        .15555E-03   -.29821    
   3  Normalizat    .88409        .12072        .84613E-05   -.97022    
   4  Prefactor     .78067        .13328        .10085E-04   -1.0044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19283e-09
Minuit parameter uncertainties:
  1  3.6903
  2  0.715072
  3  0.120761
  4  0.133335
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) = 13148.2470531
delta logL = 1.72043121871

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.465e+00  3.690e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  3.531e+00  7.151e-01  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.807e-01  1.333e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  8.841e-01  1.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.79
Ra Dec: 225.626 55.880
Photon Index (Free Index): 3.53 +/- 0.72
Photon Flux (Free Index): 7.28e-08 +/- 3.33e-08
Energy Flux (Free Index): 1.20e-05 +/- 5.49e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38311783/cmap_HighResolution_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='1.20e-05', photon_flux_error='2.58e-08', dlogl='1.72e+00', energy_flux='1.13e-05', photon_flux2='7.28e-08', job_status='DONE', time_completed='2026-09-15 11:57:00.644443', photon_index_error2='0.72', photon_index2='3.53', ts='3.04', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='7.92e-08', energy_flux_error2='5.49e-06', EG='0.94', time_epoch_completed='1789498620.64', return_code='0', job_id='38311783', GAL2='0.78', EG2='0.88', return_code2='0', energy_flux_error='8.33e-06', photon_flux_error2='3.33e-08', ts2='6.79', photon_index='2.41' WHERE bin_id='945' AND source_name='4FGL J1502.5+5552' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 11:57:00 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits....................!
real 37.01
user 35.36
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits', '/lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits', expMap='/lscratch/kocevski/38312010/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', expCube='/lscratch/kocevski/38312010/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312010/Model_4FGL_J1502.5+5552_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1502.5+5552'

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.174e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38312010/ft1_filtered_4FGL_J1502.5+5552_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312010/ft2_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312010/expmap_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312010/ltcube_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312010/Model_4FGL_J1502.5+5552_weekly_bin945.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) = 13150.0043936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3339       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.088       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20691E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .62672E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .57029       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6860       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.063       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5823       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.507       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.150       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43210E-02   1.0000          .0000       .10000E+07
    12 'norm      '    2.1092       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.447       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.7745       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.5924       1.0000          .0000       .10000E+07
    16 'norm      '    1.2486       1.0000          .0000       .10000E+07
    17 'Prefactor '    .46099E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.7187       1.0000          .0000       .10000E+07
    19 'Prefactor '    37.392       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.786       1.0000          .0000       .10000E+07
    21 'norm      '    1.6552       1.0000          .0000       .10000E+07
    22 'Prefactor '    .18025E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    10.416       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.5297       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93478       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .74099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13149.97     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2249 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3347        1.7746        .78349E-08    .33966E-03
   2  Prefactor     13.155        26.898       -.33519E-06    .34471E-01
   3  Prefactor     .88818E-09    14.787       -.57003E-06** at limit **
   4  Prefactor      .0000        1.3586       -.32611E-07** at limit **
   5  Prefactor     .53228        20.108        .18405E-07    .54244E-01
   6  Prefactor     3.6987        1.6300       -.17489E-07   -.80643E-03
   7  Prefactor     12.049        2.0057        .26490E-09   -.68227E-01
   8  Prefactor     4.7122        13.037        .16756E-06   -.56865E-02
   9  Prefactor     23.596        1.4767       -.76360E-08   -.25689E-01
  10  Prefactor     10.063        8.9009        .15041E-07    .81900E-02
  11  Prefactor     .55511E-10    6.8927       -.37908E-07** at limit **
  12  norm          2.1094        .90630        .14707E-07    .24555E-02
  13  Prefactor     11.230        8.1882       -.11388E-06    .23404E-02
  14  Prefactor     2.7748        2.2289       -.15951E-06   -.55728E-02
  15  Prefactor     8.7127        5.7417       -.29111E-07   -.10835E-02
  16  norm          1.2495        1.6109       -.78667E-07   -.23185E-02
  17  Prefactor     .22204E-09    5.2404       -.26101E-06** at limit **
  18  norm          3.7274        1.8573       -.16801E-07   -.16308E-02
  19  Prefactor     36.421        52.270       -.38307E-06    .37194E-01
  20  Prefactor     13.855        7.4338        .53592E-07    .36536E-02
  21  norm          1.5598        7.5990        .16968E-06    .92331E-03
  22  Prefactor     .43854E-08    12.967        .31278E-07** at limit **
  23  Prefactor     9.7168        30.156       -.46620E-06   -.52372E-01
  24  Prefactor     2.5312        3.1362       -.64738E-08    .24607E-03
  25  Normalizat    .93536        .12233        .50507E-07   -.24680E-04
  26  Prefactor     .74125        .13229        .73772E-06   -.70176E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33465
  Prefactor  = 13.1551
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  Prefactor  = 0.532282
  Prefactor  = 3.69873
  Prefactor  = 12.0489
  Prefactor  = 4.71218
  Prefactor  = 23.5965
  Prefactor  = 10.0632
  Prefactor  = 5.55112e-11
  norm       = 2.10941
  Prefactor  = 11.2299
  Prefactor  = 2.77478
  Prefactor  = 8.71268
  norm       = 1.24949
  Prefactor  = 2.22045e-10
  norm       = 3.72742
  Prefactor  = 36.4208
  Prefactor  = 13.8553
  norm       = 1.55979
  Prefactor  = 4.38538e-09
  Prefactor  = 9.71677
  Prefactor  = 2.53124
  Normalizat = 0.935359
  Prefactor  = 0.74125
Done.

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

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  1.123e+01  8.247e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.413e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.354e-01  1.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 8.33e-06

TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Flux Upper Limit: 7.92356980419e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612717598113 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38311859/likelihoodResults_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13148.2618021
delta logL = 1.70568222933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13148.2470531
delta logL = 1.72043121317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4648       1.0000          .0000       .10000E+07
     2 'Index     '    3.5309       1.0000          .0000       10.000    
     3 'Normalizat'    .88408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+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=   13148.25     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      283 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4645        22.663        .26044E-05   -.41024E-01
   2  Index         3.5310        2.7245        .38886E-02   -.68606E-03
   3  Normalizat    .88409        .12227        .21153E-03    .10749E-04
   4  Prefactor     .78067        .13642        .25213E-03    .26693E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.46452
  Index      = 3.53096
  Normalizat = 0.884089
  Prefactor  = 0.78067
 **********
 **   18 **HESSE 
 **********

 FCN=   13148.25     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4645        3.6903        .52088E-06   -1.5677    
   2  Index         3.5310        .71241        .15555E-03   -.29821    
   3  Normalizat    .88409        .12072        .84613E-05   -.97022    
   4  Prefactor     .78067        .13328        .10085E-04   -1.0044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19283e-09
Minuit parameter uncertainties:
  1  3.6903
  2  0.715072
  3  0.120761
  4  0.133335
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) = 13148.2470531
delta logL = 1.72043121871

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.465e+00  3.690e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  3.531e+00  7.151e-01  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.807e-01  1.333e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  8.841e-01  1.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.79
Ra Dec: 225.626 55.880
Photon Index (Free Index): 3.53 +/- 0.72
Photon Flux (Free Index): 7.28e-08 +/- 3.33e-08
Energy Flux (Free Index): 1.20e-05 +/- 5.49e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38311859/cmap_HighResolution_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='1.20e-05', photon_flux_error='2.58e-08', dlogl='1.72e+00', energy_flux='1.13e-05', photon_flux2='7.28e-08', job_status='DONE', time_completed='2026-09-15 11:58:01.550597', photon_index_error2='0.72', photon_index2='3.53', ts='3.04', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='7.92e-08', energy_flux_error2='5.49e-06', EG='0.94', time_epoch_completed='1789498681.55', return_code='0', job_id='38311859', GAL2='0.78', EG2='0.88', return_code2='0', energy_flux_error='8.33e-06', photon_flux_error2='3.33e-08', ts2='6.79', photon_index='2.41' WHERE bin_id='945' AND source_name='4FGL J1502.5+5552' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 11:58:01 PDT 2026

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

 FCN=   13149.97     FROM HESSE     STATUS=OK           520 CALLS     2769 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3347        1.7994        .94987E-03   -1.5685    
   2  Prefactor     13.155        27.813        .26659E-03   -1.5635    
   3  Prefactor     .88818E-09    14.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.3458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .53228        56.851        .71932E-03   -1.5693    
   6  Prefactor     3.6987        1.7853        .52582E-03   -1.5669    
   7  Prefactor     12.049        15.697        .28817E-03   -1.5639    
   8  Prefactor     4.7122        61.225        .46999E-03   -1.5665    
   9  Prefactor     23.596        18.836        .20630E-03   -1.5611    
  10  Prefactor     10.063        9.7031        .31427E-03   -1.5645    
  11  Prefactor     .55511E-10    6.8430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1094        .90869        .71012E-03   -1.5679    
  13  Prefactor     11.230        8.2466        .29585E-03   -1.5641    
  14  Prefactor     2.7748        2.2269        .61071E-03   -1.5675    
  15  Prefactor     8.7127        5.7559        .34173E-03   -1.5649    
  16  norm          1.2495        1.6409        .10009E-02   -1.5686    
  17  Prefactor     .22204E-09    5.2402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7274        1.8708        .52341E-03   -1.5669    
  19  Prefactor     36.421        54.926        .16355E-03   -1.5587    
  20  Prefactor     13.855        8.1873        .26950E-03   -1.5634    
  21  norm          1.5598        9.2218        .82003E-03   -1.5683    
  22  Prefactor     .43854E-08    12.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.7168        37.156        .31020E-03   -1.5646    
  24  Prefactor     2.5312        3.1583        .64194E-03   -1.5676    
  25  Normalizat    .93536        .10415        .45345E-01   -.95229    
  26  Prefactor     .74125        .11186        .42944E-01   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39767e-06
Minuit parameter uncertainties:
  1  1.79937
  2  27.8133
  3  0.000229517
  4  1.06689e-05
  5  11.0021
  6  1.78534
  7  15.6966
  8  33.9712
  9  18.8356
  10  9.70313
  11  4.72203e-05
  12  0.908686
  13  8.24658
  14  2.22693
  15  5.7559
  16  1.6409
  17  6.41039e-05
  18  1.87075
  19  54.9272
  20  8.18734
  21  7.58527
  22  0.000477406
  23  37.157
  24  3.15834
  25  0.104177
  26  0.111897
Done.

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

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  1.123e+01  8.247e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.413e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.354e-01  1.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 8.33e-06

TS (Fixed Index): 3.04
Ra Dec: 225.626 55.880
Photon Flux Upper Limit: 7.92356980419e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00612717598113 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38312010/likelihoodResults_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13148.2618021
delta logL = 1.70568222933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13148.2470531
delta logL = 1.72043121317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4648       1.0000          .0000       .10000E+07
     2 'Index     '    3.5309       1.0000          .0000       10.000    
     3 'Normalizat'    .88408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+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=   13148.25     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      283 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4645        22.663        .26044E-05   -.41024E-01
   2  Index         3.5310        2.7245        .38886E-02   -.68606E-03
   3  Normalizat    .88409        .12227        .21153E-03    .10749E-04
   4  Prefactor     .78067        .13642        .25213E-03    .26693E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.46452
  Index      = 3.53096
  Normalizat = 0.884089
  Prefactor  = 0.78067
 **********
 **   18 **HESSE 
 **********

 FCN=   13148.25     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4645        3.6903        .52088E-06   -1.5677    
   2  Index         3.5310        .71241        .15555E-03   -.29821    
   3  Normalizat    .88409        .12072        .84613E-05   -.97022    
   4  Prefactor     .78067        .13328        .10085E-04   -1.0044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19283e-09
Minuit parameter uncertainties:
  1  3.6903
  2  0.715072
  3  0.120761
  4  0.133335
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) = 13148.2470531
delta logL = 1.72043121871

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.465e+00  3.690e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  3.531e+00  7.151e-01  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  7.807e-01  1.333e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  8.841e-01  1.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.79
Ra Dec: 225.626 55.880
Photon Index (Free Index): 3.53 +/- 0.72
Photon Flux (Free Index): 7.28e-08 +/- 3.33e-08
Energy Flux (Free Index): 1.20e-05 +/- 5.49e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38312010/cmap_HighResolution_810518401_811123201_4FGL_J1502.5+5552_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='1.20e-05', photon_flux_error='2.58e-08', dlogl='1.72e+00', energy_flux='1.13e-05', photon_flux2='7.28e-08', job_status='DONE', time_completed='2026-09-15 11:59:43.925597', photon_index_error2='0.72', photon_index2='3.53', ts='3.04', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='7.92e-08', energy_flux_error2='5.49e-06', EG='0.94', time_epoch_completed='1789498783.93', return_code='0', job_id='38312010', GAL2='0.78', EG2='0.88', return_code2='0', energy_flux_error='8.33e-06', photon_flux_error2='3.33e-08', ts2='6.79', photon_index='2.41' WHERE bin_id='945' AND source_name='4FGL J1502.5+5552' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 11:59:44 PDT 2026

