/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 = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin928
RA = 226.273, Dec = 3.4472
tmin = 800236801, tmax = 800841601
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='26872740', job_status='RUN', time_executed='2026-05-19 11:37:19.380509', time_epoch_executed='1779215839.38' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26872740

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26872740/ft1_4FGL_J1505.0+0326_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26872740/ft1_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872740/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits ra=226.273 dec=3.4472 rad=12.0 tmin=800236801.0 tmax=800841601.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 4.82
user 4.23
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.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/26872740/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.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.67
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin928
RA = 226.273, Dec = 3.4472
tmin = 800236801, tmax = 800841601
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='26872747', job_status='RUN', time_executed='2026-05-19 11:38:21.333714', time_epoch_executed='1779215901.33' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26872747

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26872747/ft1_4FGL_J1505.0+0326_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26872747/ft1_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872747/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits ra=226.273 dec=3.4472 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.48
user 4.82
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.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/26872747/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.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.14

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin928
RA = 226.273, Dec = 3.4472
tmin = 800236801, tmax = 800841601
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='26872757', job_status='RUN', time_executed='2026-05-19 11:38:30.883719', time_epoch_executed='1779215910.88' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26872757

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26872757/ft1_4FGL_J1505.0+0326_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26872757/ft1_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872757/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits ra=226.273 dec=3.4472 rad=12.0 tmin=800236801.0 tmax=800841601.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 4.78
user 4.17
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.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/26872757/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin928
RA = 226.273, Dec = 3.4472
tmin = 800236801, tmax = 800841601
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='26872760', job_status='RUN', time_executed='2026-05-19 11:38:31.573784', time_epoch_executed='1779215911.57' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26872760

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26872760/ft1_4FGL_J1505.0+0326_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26872760/ft1_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872760/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits ra=226.273 dec=3.4472 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.23
user 4.45
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.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/26872760/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.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.83
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26872740/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 17.19
user 16.54
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26872740/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872740/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872740/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 63.18
user 58.93
sys 3.54

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872740/cmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872740/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.60
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26872740/Model_4FGL_J1505.0+0326_weekly_bin928.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 GALnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin928
RA = 226.273, Dec = 3.4472
tmin = 800236801, tmax = 800841601
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='26872762', job_status='RUN', time_executed='2026-05-19 11:39:24.249180', time_epoch_executed='1779215964.25' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26872762

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26872762/ft1_4FGL_J1505.0+0326_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26872762/ft1_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872762/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits ra=226.273 dec=3.4472 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.50
user 4.69
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.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/26872762/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.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.74
user 0.24
sys 0.11

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" onumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin928
RA = 226.273, Dec = 3.4472
tmin = 800236801, tmax = 800841601
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='26872774', job_status='RUN', time_executed='2026-05-19 11:39:23.181214', time_epoch_executed='1779215963.18' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26872774

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26872774/ft1_4FGL_J1505.0+0326_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26872774/ft1_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872774/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits ra=226.273 dec=3.4472 rad=12.0 tmin=800236801.0 tmax=800841601.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 4.97
user 4.27
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.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/26872774/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.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.21
sys 0.13

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits.....................!
real 34.05
user 32.28
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits', '/lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits', expMap='/lscratch/kocevski/26872740/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', expCube='/lscratch/kocevski/26872740/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26872740/Model_4FGL_J1505.0+0326_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26872740/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26872740/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26872740/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26872740/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26872740/Model_4FGL_J1505.0+0326_weekly_bin928.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) = 12664.8005655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22755E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63602E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .53705E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84013E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46598       1.0000          .0000       .10000E+07
     7 'norm      '    3.0689       1.0000          .0000       .10000E+07
     8 'norm      '    2.5520       1.0000          .0000       .10000E+07
     9 'norm      '    .12221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68823E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
    14 'norm      '    4.8163       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12664.74     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      914 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63580E-01    1.2558        .85294E-07** at limit **
   2  Prefactor     .44409E-09    29.207       -.55081E-06** at limit **
   3  Prefactor     .16098E-08    64.481       -.68031E-06** at limit **
   4  norm          .22204E-09    18.913        .12486E-06** at limit **
   5  Prefactor      .0000        11.701        .26888E-06** at limit **
   6  norm          .46593        .14955        .22553E-07    .92834E-03
   7  norm          3.0666        2.3421       -.33023E-07    .61984E-05
   8  norm          2.5514        2.4020        .63956E-07    .48831E-03
   9  norm           .0000        2.2135       -.20565E-06** at limit **
  10  norm           .0000        3.1937        .76977E-08** at limit **
  11  Prefactor     5.3157        3.8967        .29560E-07   -.12021E-03
  12  Prefactor      .0000        25.560       -.59269E-06** at limit **
  13  Prefactor     4.1267        4.8071        .13409E-06   -.41291E-03
  14  norm          4.8030        4.0250        .36307E-07   -.14607E-03
  15  Normalizat    1.1067        .20424       -.41492E-05    .56319E-04
  16  Prefactor     1.0185        .10190       -.15327E-05    .66887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0635799
  Prefactor  = 4.44089e-10
  Prefactor  = 1.60982e-09
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0.465933
  norm       = 3.06662
  norm       = 2.55139
  norm       = 0
  norm       = 0
  Prefactor  = 5.31565
  Prefactor  = 0
  Prefactor  = 4.12665
  norm       = 4.80298
  Normalizat = 1.10666
  Prefactor  = 1.01852
number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1505.0+0326_weekly_bin928
RA = 226.273, Dec = 3.4472
tmin = 800236801, tmax = 800841601
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='26872779', job_status='RUN', time_executed='2026-05-19 11:40:23.681672', time_epoch_executed='1779216023.68' WHERE source_name='4FGL J1505.0+0326' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26872779

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26872779/ft1_4FGL_J1505.0+0326_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26872779/ft1_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872779/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits ra=226.273 dec=3.4472 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.46
user 4.70
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.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/26872779/ft1_filteredMKT_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.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.85
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1104

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   12664.74     FROM HESSE     STATUS=OK           237 CALLS     1151 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63580E-01    7.9391        .12526E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    29.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    64.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46593        .15130        .52507E-03   -1.5694    
   7  norm          3.0666        2.3504        .57878E-03   -1.5673    
   8  norm          2.5514        2.4005        .63889E-03   -1.5676    
   9  norm           .0000        2.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3157        3.9040        .43639E-03   -1.5662    
  12  Prefactor      .0000        25.425        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1267        4.8312        .49481E-03   -1.5667    
  14  norm          4.8030        4.0354        .45817E-03   -1.5664    
  15  Normalizat    1.1067        .17623        .81035E-01   -.89538    
  16  Prefactor     1.0185        .87238E-01    .42296E-01   -.92115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24377e-07
Minuit parameter uncertainties:
  1  1.42094
  2  0.000223247
  3  0.000641627
  4  0.000122254
  5  2.95398e-07
  6  0.1513
  7  2.35041
  8  2.40046
  9  3.53501e-06
  10  4.39631e-06
  11  3.90401
  12  3.98381e-05
  13  4.83125
  14  4.03538
  15  0.176329
  16  0.0872506
utfile=/lscratch/kocevski/26872747/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 20.18
user 19.28
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26872747/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872747/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872747/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 74.03
user 68.99
sys 4.38

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872747/cmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872747/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.98
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26872747/Model_4FGL_J1505.0+0326_weekly_bin928.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 GALutfile=/lscratch/kocevski/26872757/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 17.44
user 16.82
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26872757/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872757/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872757/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 64.69
user 60.18
sys 3.77

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872757/cmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872757/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26872757/Model_4FGL_J1505.0+0326_weekly_bin928.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 GALDone.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.067e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.019e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.107e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.34e-05

TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.59751408097e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.31215228778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26872740/likelihoodResults_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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) = 12663.3320479
delta logL = 1.40617458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292095
delta logL = 1.40901297744

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12663.33     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9756        13.865        .73705E-03    .12216E-01
   2  alpha         3.9577        4.3532        .50000        .71922E-04
   3  Normalizat    1.0009        .63346E-01    .84653E-01    .40949E-04
   4  Prefactor     1.0533        .32742E-01    .39715E-01    .18436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97557
  alpha      = 3.95772
  Normalizat = 1.00092
  Prefactor  = 1.05334
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.33     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9756        4.1896        .73081E-05   -1.5680    
   2  alpha         3.9577        3.7020        .25981E-01    .62253    
   3  Normalizat    1.0009        .21225        .37478E-03   -.93000    
   4  Prefactor     1.0533        .10492        .18420E-03   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40766e-10
Minuit parameter uncertainties:
  1  4.18958
  2  2.05281
  3  0.212434
  4  0.104943
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) = 12663.3292085
delta logL = 1.40901397242

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.976e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.958e+00  2.053e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.053e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.001e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.96 +/- 2.05
Photon Flux (Free Index): 1.65e-07 +/- 8.65e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.42e-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/26872740/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.54e-05', photon_flux_error='4.95e-08', dlogl='1.41e+00', energy_flux='1.75e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2026-05-19 11:44:45.141177', photon_index_error2='2.05', photon_index2='3.96', ts='2.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.42e-05', EG='1.11', time_epoch_completed='1779216285.14', return_code='0', job_id='26872740', GAL2='1.05', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='8.65e-08', ts2='5.48', photon_index='2.49' WHERE bin_id='928' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 11:44:45 PDT 2026

utfile=/lscratch/kocevski/26872760/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 19.86
user 18.15
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26872760/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872760/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872760/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 69.22
user 64.20
sys 3.95

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872760/cmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.76
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872760/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26872760/Model_4FGL_J1505.0+0326_weekly_bin928.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 GALutfile=/lscratch/kocevski/26872774/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 17.76
user 16.93
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26872774/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872774/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872774/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 64.27
user 59.49
sys 3.95

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872774/cmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872774/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.72
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26872774/Model_4FGL_J1505.0+0326_weekly_bin928.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 GALutfile=/lscratch/kocevski/26872762/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 19.27
user 18.51
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26872762/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872762/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872762/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 71.39
user 66.06
sys 4.22

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872762/cmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.77
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872762/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.10
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26872762/Model_4FGL_J1505.0+0326_weekly_bin928.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/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits.....................!
real 34.46
user 32.81
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits', '/lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits', expMap='/lscratch/kocevski/26872757/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', expCube='/lscratch/kocevski/26872757/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26872757/Model_4FGL_J1505.0+0326_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26872757/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26872757/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26872757/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26872757/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26872757/Model_4FGL_J1505.0+0326_weekly_bin928.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) = 12664.8005655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22755E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63602E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .53705E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84013E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46598       1.0000          .0000       .10000E+07
     7 'norm      '    3.0689       1.0000          .0000       .10000E+07
     8 'norm      '    2.5520       1.0000          .0000       .10000E+07
     9 'norm      '    .12221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68823E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
    14 'norm      '    4.8163       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12664.74     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      914 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63580E-01    1.2558        .85294E-07** at limit **
   2  Prefactor     .44409E-09    29.207       -.55081E-06** at limit **
   3  Prefactor     .16098E-08    64.481       -.68031E-06** at limit **
   4  norm          .22204E-09    18.913        .12486E-06** at limit **
   5  Prefactor      .0000        11.701        .26888E-06** at limit **
   6  norm          .46593        .14955        .22553E-07    .92834E-03
   7  norm          3.0666        2.3421       -.33023E-07    .61984E-05
   8  norm          2.5514        2.4020        .63956E-07    .48831E-03
   9  norm           .0000        2.2135       -.20565E-06** at limit **
  10  norm           .0000        3.1937        .76977E-08** at limit **
  11  Prefactor     5.3157        3.8967        .29560E-07   -.12021E-03
  12  Prefactor      .0000        25.560       -.59269E-06** at limit **
  13  Prefactor     4.1267        4.8071        .13409E-06   -.41291E-03
  14  norm          4.8030        4.0250        .36307E-07   -.14607E-03
  15  Normalizat    1.1067        .20424       -.41492E-05    .56319E-04
  16  Prefactor     1.0185        .10190       -.15327E-05    .66887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0635799
  Prefactor  = 4.44089e-10
  Prefactor  = 1.60982e-09
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0.465933
  norm       = 3.06662
  norm       = 2.55139
  norm       = 0
  norm       = 0
  Prefactor  = 5.31565
  Prefactor  = 0
  Prefactor  = 4.12665
  norm       = 4.80298
  Normalizat = 1.10666
  Prefactor  = 1.01852
_V02
Working on...
/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits.....................!
real 41.11
user 38.90
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits', '/lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits', expMap='/lscratch/kocevski/26872747/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', expCube='/lscratch/kocevski/26872747/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26872747/Model_4FGL_J1505.0+0326_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26872747/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26872747/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26872747/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26872747/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26872747/Model_4FGL_J1505.0+0326_weekly_bin928.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) = 12664.8005655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22755E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63602E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .53705E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84013E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46598       1.0000          .0000       .10000E+07
     7 'norm      '    3.0689       1.0000          .0000       .10000E+07
     8 'norm      '    2.5520       1.0000          .0000       .10000E+07
     9 'norm      '    .12221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68823E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
    14 'norm      '    4.8163       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12664.74     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      914 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63580E-01    1.2558        .85294E-07** at limit **
   2  Prefactor     .44409E-09    29.207       -.55081E-06** at limit **
   3  Prefactor     .16098E-08    64.481       -.68031E-06** at limit **
   4  norm          .22204E-09    18.913        .12486E-06** at limit **
   5  Prefactor      .0000        11.701        .26888E-06** at limit **
   6  norm          .46593        .14955        .22553E-07    .92834E-03
   7  norm          3.0666        2.3421       -.33023E-07    .61984E-05
   8  norm          2.5514        2.4020        .63956E-07    .48831E-03
   9  norm           .0000        2.2135       -.20565E-06** at limit **
  10  norm           .0000        3.1937        .76977E-08** at limit **
  11  Prefactor     5.3157        3.8967        .29560E-07   -.12021E-03
  12  Prefactor      .0000        25.560       -.59269E-06** at limit **
  13  Prefactor     4.1267        4.8071        .13409E-06   -.41291E-03
  14  norm          4.8030        4.0250        .36307E-07   -.14607E-03
  15  Normalizat    1.1067        .20424       -.41492E-05    .56319E-04
  16  Prefactor     1.0185        .10190       -.15327E-05    .66887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0635799
  Prefactor  = 4.44089e-10
  Prefactor  = 1.60982e-09
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0.465933
  norm       = 3.06662
  norm       = 2.55139
  norm       = 0
  norm       = 0
  Prefactor  = 5.31565
  Prefactor  = 0
  Prefactor  = 4.12665
  norm       = 4.80298
  Normalizat = 1.10666
  Prefactor  = 1.01852
 **********
 **   18 **HESSE 
 **********

 FCN=   12664.74     FROM HESSE     STATUS=OK           237 CALLS     1151 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63580E-01    7.9391        .12526E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    29.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    64.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46593        .15130        .52507E-03   -1.5694    
   7  norm          3.0666        2.3504        .57878E-03   -1.5673    
   8  norm          2.5514        2.4005        .63889E-03   -1.5676    
   9  norm           .0000        2.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3157        3.9040        .43639E-03   -1.5662    
  12  Prefactor      .0000        25.425        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1267        4.8312        .49481E-03   -1.5667    
  14  norm          4.8030        4.0354        .45817E-03   -1.5664    
  15  Normalizat    1.1067        .17623        .81035E-01   -.89538    
  16  Prefactor     1.0185        .87238E-01    .42296E-01   -.92115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24377e-07
Minuit parameter uncertainties:
  1  1.42094
  2  0.000223247
  3  0.000641627
  4  0.000122254
  5  2.95398e-07
  6  0.1513
  7  2.35041
  8  2.40046
  9  3.53501e-06
  10  4.39631e-06
  11  3.90401
  12  3.98381e-05
  13  4.83125
  14  4.03538
  15  0.176329
  16  0.0872506
 **********
 **   18 **HESSE 
 **********

 FCN=   12664.74     FROM HESSE     STATUS=OK           237 CALLS     1151 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63580E-01    7.9391        .12526E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    29.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    64.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46593        .15130        .52507E-03   -1.5694    
   7  norm          3.0666        2.3504        .57878E-03   -1.5673    
   8  norm          2.5514        2.4005        .63889E-03   -1.5676    
   9  norm           .0000        2.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3157        3.9040        .43639E-03   -1.5662    
  12  Prefactor      .0000        25.425        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1267        4.8312        .49481E-03   -1.5667    
  14  norm          4.8030        4.0354        .45817E-03   -1.5664    
  15  Normalizat    1.1067        .17623        .81035E-01   -.89538    
  16  Prefactor     1.0185        .87238E-01    .42296E-01   -.92115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24377e-07
Minuit parameter uncertainties:
  1  1.42094
  2  0.000223247
  3  0.000641627
  4  0.000122254
  5  2.95398e-07
  6  0.1513
  7  2.35041
  8  2.40046
  9  3.53501e-06
  10  4.39631e-06
  11  3.90401
  12  3.98381e-05
  13  4.83125
  14  4.03538
  15  0.176329
  16  0.0872506
_V02
Working on...
/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits.....................!
real 37.65
user 36.13
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits', '/lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits', expMap='/lscratch/kocevski/26872760/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', expCube='/lscratch/kocevski/26872760/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26872760/Model_4FGL_J1505.0+0326_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26872760/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26872760/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26872760/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26872760/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26872760/Model_4FGL_J1505.0+0326_weekly_bin928.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) = 12664.8005655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22755E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63602E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .53705E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84013E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46598       1.0000          .0000       .10000E+07
     7 'norm      '    3.0689       1.0000          .0000       .10000E+07
     8 'norm      '    2.5520       1.0000          .0000       .10000E+07
     9 'norm      '    .12221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68823E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
    14 'norm      '    4.8163       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12664.74     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      914 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63580E-01    1.2558        .85294E-07** at limit **
   2  Prefactor     .44409E-09    29.207       -.55081E-06** at limit **
   3  Prefactor     .16098E-08    64.481       -.68031E-06** at limit **
   4  norm          .22204E-09    18.913        .12486E-06** at limit **
   5  Prefactor      .0000        11.701        .26888E-06** at limit **
   6  norm          .46593        .14955        .22553E-07    .92834E-03
   7  norm          3.0666        2.3421       -.33023E-07    .61984E-05
   8  norm          2.5514        2.4020        .63956E-07    .48831E-03
   9  norm           .0000        2.2135       -.20565E-06** at limit **
  10  norm           .0000        3.1937        .76977E-08** at limit **
  11  Prefactor     5.3157        3.8967        .29560E-07   -.12021E-03
  12  Prefactor      .0000        25.560       -.59269E-06** at limit **
  13  Prefactor     4.1267        4.8071        .13409E-06   -.41291E-03
  14  norm          4.8030        4.0250        .36307E-07   -.14607E-03
  15  Normalizat    1.1067        .20424       -.41492E-05    .56319E-04
  16  Prefactor     1.0185        .10190       -.15327E-05    .66887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0635799
  Prefactor  = 4.44089e-10
  Prefactor  = 1.60982e-09
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0.465933
  norm       = 3.06662
  norm       = 2.55139
  norm       = 0
  norm       = 0
  Prefactor  = 5.31565
  Prefactor  = 0
  Prefactor  = 4.12665
  norm       = 4.80298
  Normalizat = 1.10666
  Prefactor  = 1.01852
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.067e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.019e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.107e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.34e-05

TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.59751408097e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.31215228778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26872757/likelihoodResults_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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) = 12663.3320479
delta logL = 1.40617458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292095
delta logL = 1.40901297744

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12663.33     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9756        13.865        .73705E-03    .12216E-01
   2  alpha         3.9577        4.3532        .50000        .71922E-04
   3  Normalizat    1.0009        .63346E-01    .84653E-01    .40949E-04
   4  Prefactor     1.0533        .32742E-01    .39715E-01    .18436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97557
  alpha      = 3.95772
  Normalizat = 1.00092
  Prefactor  = 1.05334
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.33     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9756        4.1896        .73081E-05   -1.5680    
   2  alpha         3.9577        3.7020        .25981E-01    .62253    
   3  Normalizat    1.0009        .21225        .37478E-03   -.93000    
   4  Prefactor     1.0533        .10492        .18420E-03   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40766e-10
Minuit parameter uncertainties:
  1  4.18958
  2  2.05281
  3  0.212434
  4  0.104943
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) = 12663.3292085
delta logL = 1.40901397242

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.976e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.958e+00  2.053e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.053e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.001e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.96 +/- 2.05
Photon Flux (Free Index): 1.65e-07 +/- 8.65e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.42e-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/26872757/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.54e-05', photon_flux_error='4.95e-08', dlogl='1.41e+00', energy_flux='1.75e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2026-05-19 11:46:13.440739', photon_index_error2='2.05', photon_index2='3.96', ts='2.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.42e-05', EG='1.11', time_epoch_completed='1779216373.44', return_code='0', job_id='26872757', GAL2='1.05', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='8.65e-08', ts2='5.48', photon_index='2.49' WHERE bin_id='928' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 11:46:13 PDT 2026

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

 FCN=   12664.74     FROM HESSE     STATUS=OK           237 CALLS     1151 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63580E-01    7.9391        .12526E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    29.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    64.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46593        .15130        .52507E-03   -1.5694    
   7  norm          3.0666        2.3504        .57878E-03   -1.5673    
   8  norm          2.5514        2.4005        .63889E-03   -1.5676    
   9  norm           .0000        2.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3157        3.9040        .43639E-03   -1.5662    
  12  Prefactor      .0000        25.425        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1267        4.8312        .49481E-03   -1.5667    
  14  norm          4.8030        4.0354        .45817E-03   -1.5664    
  15  Normalizat    1.1067        .17623        .81035E-01   -.89538    
  16  Prefactor     1.0185        .87238E-01    .42296E-01   -.92115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24377e-07
Minuit parameter uncertainties:
  1  1.42094
  2  0.000223247
  3  0.000641627
  4  0.000122254
  5  2.95398e-07
  6  0.1513
  7  2.35041
  8  2.40046
  9  3.53501e-06
  10  4.39631e-06
  11  3.90401
  12  3.98381e-05
  13  4.83125
  14  4.03538
  15  0.176329
  16  0.0872506
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.067e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.019e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.107e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.34e-05

TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.59751408097e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.31215228778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26872747/likelihoodResults_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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) = 12663.3320479
delta logL = 1.40617458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292095
delta logL = 1.40901297744

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12663.33     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9756        13.865        .73705E-03    .12216E-01
   2  alpha         3.9577        4.3532        .50000        .71922E-04
   3  Normalizat    1.0009        .63346E-01    .84653E-01    .40949E-04
   4  Prefactor     1.0533        .32742E-01    .39715E-01    .18436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97557
  alpha      = 3.95772
  Normalizat = 1.00092
  Prefactor  = 1.05334
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.33     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9756        4.1896        .73081E-05   -1.5680    
   2  alpha         3.9577        3.7020        .25981E-01    .62253    
   3  Normalizat    1.0009        .21225        .37478E-03   -.93000    
   4  Prefactor     1.0533        .10492        .18420E-03   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40766e-10
Minuit parameter uncertainties:
  1  4.18958
  2  2.05281
  3  0.212434
  4  0.104943
_V02
Working on...
/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits.....................!
real 35.45
user 34.17
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits', '/lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits', expMap='/lscratch/kocevski/26872774/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', expCube='/lscratch/kocevski/26872774/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26872774/Model_4FGL_J1505.0+0326_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26872774/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26872774/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26872774/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26872774/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26872774/Model_4FGL_J1505.0+0326_weekly_bin928.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) = 12664.8005655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22755E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63602E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .53705E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84013E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46598       1.0000          .0000       .10000E+07
     7 'norm      '    3.0689       1.0000          .0000       .10000E+07
     8 'norm      '    2.5520       1.0000          .0000       .10000E+07
     9 'norm      '    .12221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68823E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
    14 'norm      '    4.8163       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12664.74     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      914 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63580E-01    1.2558        .85294E-07** at limit **
   2  Prefactor     .44409E-09    29.207       -.55081E-06** at limit **
   3  Prefactor     .16098E-08    64.481       -.68031E-06** at limit **
   4  norm          .22204E-09    18.913        .12486E-06** at limit **
   5  Prefactor      .0000        11.701        .26888E-06** at limit **
   6  norm          .46593        .14955        .22553E-07    .92834E-03
   7  norm          3.0666        2.3421       -.33023E-07    .61984E-05
   8  norm          2.5514        2.4020        .63956E-07    .48831E-03
   9  norm           .0000        2.2135       -.20565E-06** at limit **
  10  norm           .0000        3.1937        .76977E-08** at limit **
  11  Prefactor     5.3157        3.8967        .29560E-07   -.12021E-03
  12  Prefactor      .0000        25.560       -.59269E-06** at limit **
  13  Prefactor     4.1267        4.8071        .13409E-06   -.41291E-03
  14  norm          4.8030        4.0250        .36307E-07   -.14607E-03
  15  Normalizat    1.1067        .20424       -.41492E-05    .56319E-04
  16  Prefactor     1.0185        .10190       -.15327E-05    .66887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0635799
  Prefactor  = 4.44089e-10
  Prefactor  = 1.60982e-09
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0.465933
  norm       = 3.06662
  norm       = 2.55139
  norm       = 0
  norm       = 0
  Prefactor  = 5.31565
  Prefactor  = 0
  Prefactor  = 4.12665
  norm       = 4.80298
  Normalizat = 1.10666
  Prefactor  = 1.01852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
utfile=/lscratch/kocevski/26872779/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 19.34
user 18.55
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26872779/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872779/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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/26872779/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
.....................!
real 71.28
user 66.18
sys 4.05

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872779/cmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.87
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits scfile=/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits outfile=/lscratch/kocevski/26872779/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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=226.273 yref=3.4472 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.99
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26872779/Model_4FGL_J1505.0+0326_weekly_bin928.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 GALDone.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292085
delta logL = 1.40901397242

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.976e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.958e+00  2.053e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.053e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.001e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.96 +/- 2.05
Photon Flux (Free Index): 1.65e-07 +/- 8.65e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.42e-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/26872747/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.54e-05', photon_flux_error='4.95e-08', dlogl='1.41e+00', energy_flux='1.75e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2026-05-19 11:46:26.601054', photon_index_error2='2.05', photon_index2='3.96', ts='2.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.42e-05', EG='1.11', time_epoch_completed='1779216386.6', return_code='0', job_id='26872747', GAL2='1.05', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='8.65e-08', ts2='5.48', photon_index='2.49' WHERE bin_id='928' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 11:46:26 PDT 2026

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

 FCN=   12664.74     FROM HESSE     STATUS=OK           237 CALLS     1151 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63580E-01    7.9391        .12526E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    29.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    64.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46593        .15130        .52507E-03   -1.5694    
   7  norm          3.0666        2.3504        .57878E-03   -1.5673    
   8  norm          2.5514        2.4005        .63889E-03   -1.5676    
   9  norm           .0000        2.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3157        3.9040        .43639E-03   -1.5662    
  12  Prefactor      .0000        25.425        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1267        4.8312        .49481E-03   -1.5667    
  14  norm          4.8030        4.0354        .45817E-03   -1.5664    
  15  Normalizat    1.1067        .17623        .81035E-01   -.89538    
  16  Prefactor     1.0185        .87238E-01    .42296E-01   -.92115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24377e-07
Minuit parameter uncertainties:
  1  1.42094
  2  0.000223247
  3  0.000641627
  4  0.000122254
  5  2.95398e-07
  6  0.1513
  7  2.35041
  8  2.40046
  9  3.53501e-06
  10  4.39631e-06
  11  3.90401
  12  3.98381e-05
  13  4.83125
  14  4.03538
  15  0.176329
  16  0.0872506
_V02
Working on...
/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits.....................!
real 39.51
user 37.58
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits', '/lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits', expMap='/lscratch/kocevski/26872762/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', expCube='/lscratch/kocevski/26872762/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26872762/Model_4FGL_J1505.0+0326_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26872762/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26872762/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26872762/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26872762/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26872762/Model_4FGL_J1505.0+0326_weekly_bin928.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) = 12664.8005655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22755E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63602E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .53705E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84013E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46598       1.0000          .0000       .10000E+07
     7 'norm      '    3.0689       1.0000          .0000       .10000E+07
     8 'norm      '    2.5520       1.0000          .0000       .10000E+07
     9 'norm      '    .12221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68823E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
    14 'norm      '    4.8163       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12664.74     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      914 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63580E-01    1.2558        .85294E-07** at limit **
   2  Prefactor     .44409E-09    29.207       -.55081E-06** at limit **
   3  Prefactor     .16098E-08    64.481       -.68031E-06** at limit **
   4  norm          .22204E-09    18.913        .12486E-06** at limit **
   5  Prefactor      .0000        11.701        .26888E-06** at limit **
   6  norm          .46593        .14955        .22553E-07    .92834E-03
   7  norm          3.0666        2.3421       -.33023E-07    .61984E-05
   8  norm          2.5514        2.4020        .63956E-07    .48831E-03
   9  norm           .0000        2.2135       -.20565E-06** at limit **
  10  norm           .0000        3.1937        .76977E-08** at limit **
  11  Prefactor     5.3157        3.8967        .29560E-07   -.12021E-03
  12  Prefactor      .0000        25.560       -.59269E-06** at limit **
  13  Prefactor     4.1267        4.8071        .13409E-06   -.41291E-03
  14  norm          4.8030        4.0250        .36307E-07   -.14607E-03
  15  Normalizat    1.1067        .20424       -.41492E-05    .56319E-04
  16  Prefactor     1.0185        .10190       -.15327E-05    .66887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0635799
  Prefactor  = 4.44089e-10
  Prefactor  = 1.60982e-09
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0.465933
  norm       = 3.06662
  norm       = 2.55139
  norm       = 0
  norm       = 0
  Prefactor  = 5.31565
  Prefactor  = 0
  Prefactor  = 4.12665
  norm       = 4.80298
  Normalizat = 1.10666
  Prefactor  = 1.01852
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.067e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.019e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.107e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.34e-05

TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.59751408097e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.31215228778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26872760/likelihoodResults_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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) = 12663.3320479
delta logL = 1.40617458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292095
delta logL = 1.40901297744

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12663.33     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9756        13.865        .73705E-03    .12216E-01
   2  alpha         3.9577        4.3532        .50000        .71922E-04
   3  Normalizat    1.0009        .63346E-01    .84653E-01    .40949E-04
   4  Prefactor     1.0533        .32742E-01    .39715E-01    .18436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97557
  alpha      = 3.95772
  Normalizat = 1.00092
  Prefactor  = 1.05334
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.33     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9756        4.1896        .73081E-05   -1.5680    
   2  alpha         3.9577        3.7020        .25981E-01    .62253    
   3  Normalizat    1.0009        .21225        .37478E-03   -.93000    
   4  Prefactor     1.0533        .10492        .18420E-03   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40766e-10
Minuit parameter uncertainties:
  1  4.18958
  2  2.05281
  3  0.212434
  4  0.104943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   12664.74     FROM HESSE     STATUS=OK           237 CALLS     1151 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63580E-01    7.9391        .12526E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    29.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    64.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46593        .15130        .52507E-03   -1.5694    
   7  norm          3.0666        2.3504        .57878E-03   -1.5673    
   8  norm          2.5514        2.4005        .63889E-03   -1.5676    
   9  norm           .0000        2.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3157        3.9040        .43639E-03   -1.5662    
  12  Prefactor      .0000        25.425        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1267        4.8312        .49481E-03   -1.5667    
  14  norm          4.8030        4.0354        .45817E-03   -1.5664    
  15  Normalizat    1.1067        .17623        .81035E-01   -.89538    
  16  Prefactor     1.0185        .87238E-01    .42296E-01   -.92115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24377e-07
Minuit parameter uncertainties:
  1  1.42094
  2  0.000223247
  3  0.000641627
  4  0.000122254
  5  2.95398e-07
  6  0.1513
  7  2.35041
  8  2.40046
  9  3.53501e-06
  10  4.39631e-06
  11  3.90401
  12  3.98381e-05
  13  4.83125
  14  4.03538
  15  0.176329
  16  0.0872506
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292085
delta logL = 1.40901397242

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.976e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.958e+00  2.053e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.053e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.001e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.96 +/- 2.05
Photon Flux (Free Index): 1.65e-07 +/- 8.65e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.42e-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/26872760/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.54e-05', photon_flux_error='4.95e-08', dlogl='1.41e+00', energy_flux='1.75e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2026-05-19 11:46:50.229614', photon_index_error2='2.05', photon_index2='3.96', ts='2.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.42e-05', EG='1.11', time_epoch_completed='1779216410.23', return_code='0', job_id='26872760', GAL2='1.05', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='8.65e-08', ts2='5.48', photon_index='2.49' WHERE bin_id='928' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 11:46:50 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.067e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.019e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.107e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.34e-05

TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.59751408097e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.31215228778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26872774/likelihoodResults_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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) = 12663.3320479
delta logL = 1.40617458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292095
delta logL = 1.40901297744

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12663.33     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9756        13.865        .73705E-03    .12216E-01
   2  alpha         3.9577        4.3532        .50000        .71922E-04
   3  Normalizat    1.0009        .63346E-01    .84653E-01    .40949E-04
   4  Prefactor     1.0533        .32742E-01    .39715E-01    .18436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97557
  alpha      = 3.95772
  Normalizat = 1.00092
  Prefactor  = 1.05334
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.33     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9756        4.1896        .73081E-05   -1.5680    
   2  alpha         3.9577        3.7020        .25981E-01    .62253    
   3  Normalizat    1.0009        .21225        .37478E-03   -.93000    
   4  Prefactor     1.0533        .10492        .18420E-03   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40766e-10
Minuit parameter uncertainties:
  1  4.18958
  2  2.05281
  3  0.212434
  4  0.104943
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) = 12663.3292085
delta logL = 1.40901397242

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.976e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.958e+00  2.053e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.053e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.001e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.96 +/- 2.05
Photon Flux (Free Index): 1.65e-07 +/- 8.65e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.42e-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/26872774/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.54e-05', photon_flux_error='4.95e-08', dlogl='1.41e+00', energy_flux='1.75e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2026-05-19 11:47:09.033634', photon_index_error2='2.05', photon_index2='3.96', ts='2.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.42e-05', EG='1.11', time_epoch_completed='1779216429.03', return_code='0', job_id='26872774', GAL2='1.05', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='8.65e-08', ts2='5.48', photon_index='2.49' WHERE bin_id='928' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 11:47:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.067e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.019e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.107e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.34e-05

TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.59751408097e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.31215228778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26872762/likelihoodResults_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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) = 12663.3320479
delta logL = 1.40617458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292095
delta logL = 1.40901297744

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12663.33     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9756        13.865        .73705E-03    .12216E-01
   2  alpha         3.9577        4.3532        .50000        .71922E-04
   3  Normalizat    1.0009        .63346E-01    .84653E-01    .40949E-04
   4  Prefactor     1.0533        .32742E-01    .39715E-01    .18436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97557
  alpha      = 3.95772
  Normalizat = 1.00092
  Prefactor  = 1.05334
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.33     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9756        4.1896        .73081E-05   -1.5680    
   2  alpha         3.9577        3.7020        .25981E-01    .62253    
   3  Normalizat    1.0009        .21225        .37478E-03   -.93000    
   4  Prefactor     1.0533        .10492        .18420E-03   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40766e-10
Minuit parameter uncertainties:
  1  4.18958
  2  2.05281
  3  0.212434
  4  0.104943
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) = 12663.3292085
delta logL = 1.40901397242

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.976e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.958e+00  2.053e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.053e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.001e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.96 +/- 2.05
Photon Flux (Free Index): 1.65e-07 +/- 8.65e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.42e-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/26872762/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.54e-05', photon_flux_error='4.95e-08', dlogl='1.41e+00', energy_flux='1.75e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2026-05-19 11:47:25.396361', photon_index_error2='2.05', photon_index2='3.96', ts='2.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.42e-05', EG='1.11', time_epoch_completed='1779216445.4', return_code='0', job_id='26872762', GAL2='1.05', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='8.65e-08', ts2='5.48', photon_index='2.49' WHERE bin_id='928' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 11:47:25 PDT 2026

_V02
Working on...
/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits.....................!
real 40.03
user 38.07
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits', '/lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits', expMap='/lscratch/kocevski/26872779/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', expCube='/lscratch/kocevski/26872779/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26872779/Model_4FGL_J1505.0+0326_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26872779/ft1_filtered_4FGL_J1505.0+0326_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26872779/ft2_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26872779/expmap_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26872779/ltcube_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26872779/Model_4FGL_J1505.0+0326_weekly_bin928.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) = 12664.8005655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22755E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63602E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .53705E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84013E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46598       1.0000          .0000       .10000E+07
     7 'norm      '    3.0689       1.0000          .0000       .10000E+07
     8 'norm      '    2.5520       1.0000          .0000       .10000E+07
     9 'norm      '    .12221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68823E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
    14 'norm      '    4.8163       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12664.74     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      914 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63580E-01    1.2558        .85294E-07** at limit **
   2  Prefactor     .44409E-09    29.207       -.55081E-06** at limit **
   3  Prefactor     .16098E-08    64.481       -.68031E-06** at limit **
   4  norm          .22204E-09    18.913        .12486E-06** at limit **
   5  Prefactor      .0000        11.701        .26888E-06** at limit **
   6  norm          .46593        .14955        .22553E-07    .92834E-03
   7  norm          3.0666        2.3421       -.33023E-07    .61984E-05
   8  norm          2.5514        2.4020        .63956E-07    .48831E-03
   9  norm           .0000        2.2135       -.20565E-06** at limit **
  10  norm           .0000        3.1937        .76977E-08** at limit **
  11  Prefactor     5.3157        3.8967        .29560E-07   -.12021E-03
  12  Prefactor      .0000        25.560       -.59269E-06** at limit **
  13  Prefactor     4.1267        4.8071        .13409E-06   -.41291E-03
  14  norm          4.8030        4.0250        .36307E-07   -.14607E-03
  15  Normalizat    1.1067        .20424       -.41492E-05    .56319E-04
  16  Prefactor     1.0185        .10190       -.15327E-05    .66887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0635799
  Prefactor  = 4.44089e-10
  Prefactor  = 1.60982e-09
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0.465933
  norm       = 3.06662
  norm       = 2.55139
  norm       = 0
  norm       = 0
  Prefactor  = 5.31565
  Prefactor  = 0
  Prefactor  = 4.12665
  norm       = 4.80298
  Normalizat = 1.10666
  Prefactor  = 1.01852
 **********
 **   18 **HESSE 
 **********

 FCN=   12664.74     FROM HESSE     STATUS=OK           237 CALLS     1151 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63580E-01    7.9391        .12526E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    29.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16098E-08    64.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    19.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .46593        .15130        .52507E-03   -1.5694    
   7  norm          3.0666        2.3504        .57878E-03   -1.5673    
   8  norm          2.5514        2.4005        .63889E-03   -1.5676    
   9  norm           .0000        2.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3157        3.9040        .43639E-03   -1.5662    
  12  Prefactor      .0000        25.425        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1267        4.8312        .49481E-03   -1.5667    
  14  norm          4.8030        4.0354        .45817E-03   -1.5664    
  15  Normalizat    1.1067        .17623        .81035E-01   -.89538    
  16  Prefactor     1.0185        .87238E-01    .42296E-01   -.92115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24377e-07
Minuit parameter uncertainties:
  1  1.42094
  2  0.000223247
  3  0.000641627
  4  0.000122254
  5  2.95398e-07
  6  0.1513
  7  2.35041
  8  2.40046
  9  3.53501e-06
  10  4.39631e-06
  11  3.90401
  12  3.98381e-05
  13  4.83125
  14  4.03538
  15  0.176329
  16  0.0872506
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.067e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.019e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.107e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 4.95e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.34e-05

TS (Fixed Index): 2.25
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.59751408097e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.31215228778e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26872779/likelihoodResults_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.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) = 12663.3320479
delta logL = 1.40617458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12663.3292095
delta logL = 1.40901297744

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12663.33     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9756        13.865        .73705E-03    .12216E-01
   2  alpha         3.9577        4.3532        .50000        .71922E-04
   3  Normalizat    1.0009        .63346E-01    .84653E-01    .40949E-04
   4  Prefactor     1.0533        .32742E-01    .39715E-01    .18436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97557
  alpha      = 3.95772
  Normalizat = 1.00092
  Prefactor  = 1.05334
 **********
 **   18 **HESSE 
 **********

 FCN=   12663.33     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9756        4.1896        .73081E-05   -1.5680    
   2  alpha         3.9577        3.7020        .25981E-01    .62253    
   3  Normalizat    1.0009        .21225        .37478E-03   -.93000    
   4  Prefactor     1.0533        .10492        .18420E-03   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40766e-10
Minuit parameter uncertainties:
  1  4.18958
  2  2.05281
  3  0.212434
  4  0.104943
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) = 12663.3292085
delta logL = 1.40901397242

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.976e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  3.958e+00  2.053e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.053e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.001e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 226.273 3.447
Photon Index (Free Index): 3.96 +/- 2.05
Photon Flux (Free Index): 1.65e-07 +/- 8.65e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.42e-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/26872779/cmap_HighResolution_800236801_800841601_4FGL_J1505.0+0326_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.54e-05', photon_flux_error='4.95e-08', dlogl='1.41e+00', energy_flux='1.75e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2026-05-19 11:48:31.998608', photon_index_error2='2.05', photon_index2='3.96', ts='2.25', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.42e-05', EG='1.11', time_epoch_completed='1779216512.0', return_code='0', job_id='26872779', GAL2='1.05', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='8.65e-08', ts2='5.48', photon_index='2.49' WHERE bin_id='928' AND source_name='4FGL J1505.0+0326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 11:48:32 PDT 2026

