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


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


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

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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin2185
RA = 226.821, Dec = 17.3519
tmin = 805680001, tmax = 805939201
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='32063706', job_status='RUN', time_executed='2026-07-17 12:41:48.037454', time_epoch_executed='1784317308.04' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='2185'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32063706

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32063706/ft1_4FGL_J1507.2+1721_daily_bin2185.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32063706/ft1_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063706/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits ra=226.821 dec=17.3519 rad=12.0 tmin=805680001.0 tmax=805939201.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 2.22
user 1.69
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.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/32063706/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" outfile="/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.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.16
sys 0.12

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" ounumber of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin2185
RA = 226.821, Dec = 17.3519
tmin = 805680001, tmax = 805939201
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='32063708', job_status='RUN', time_executed='2026-07-17 12:41:48.765770', time_epoch_executed='1784317308.77' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='2185'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32063708

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32063708/ft1_4FGL_J1507.2+1721_daily_bin2185.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32063708/ft1_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063708/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits ra=226.821 dec=17.3519 rad=12.0 tmin=805680001.0 tmax=805939201.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 2.18
user 1.70
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.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/32063708/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" outfile="/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" ouDone.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin2185
RA = 226.821, Dec = 17.3519
tmin = 805680001, tmax = 805939201
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='32063703', job_status='RUN', time_executed='2026-07-17 12:41:48.765589', time_epoch_executed='1784317308.77' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='2185'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32063703

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32063703/ft1_4FGL_J1507.2+1721_daily_bin2185.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32063703/ft1_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063703/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits ra=226.821 dec=17.3519 rad=12.0 tmin=805680001.0 tmax=805939201.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 2.19
user 1.71
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.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/32063703/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" outfile="/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.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.17
sys 0.14

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32063564/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063564/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 8.06
user 7.58
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063564/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063564/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063564/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063564/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063564/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 74.83
user 69.70
sys 4.31

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

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063564/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063564/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063564/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063564/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063564/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063564/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063564/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063564/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063564/Model_4FGL_J1507.2+1721_daily_bin2185.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 GALtfile=/lscratch/kocevski/32063568/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063568/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 8.98
user 8.41
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063568/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063568/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063568/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063568/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063568/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 76.65
user 71.61
sys 4.30

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

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063568/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063568/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063568/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.70
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063568/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063568/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063568/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.70
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063568/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063568/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063568/Model_4FGL_J1507.2+1721_daily_bin2185.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 GALtfile=/lscratch/kocevski/32063601/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063601/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 8.23
user 7.74
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063601/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063601/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063601/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063601/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063601/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 69.49
user 64.74
sys 3.97

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

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063601/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063601/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063601/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063601/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063601/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063601/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.62
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063601/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063601/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063601/Model_4FGL_J1507.2+1721_daily_bin2185.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/32063564/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 25.63
user 24.02
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063564/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063564/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063564/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063564/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063564/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063564/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063564/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063564/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063564/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063564/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
_V02
Working on...
/lscratch/kocevski/32063568/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 26.14
user 24.12
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063568/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063568/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063568/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063568/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063568/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063568/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063568/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063568/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063568/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063568/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
number of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin2185
RA = 226.821, Dec = 17.3519
tmin = 805680001, tmax = 805939201
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='32063772', job_status='RUN', time_executed='2026-07-17 12:42:51.126639', time_epoch_executed='1784317371.13' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='2185'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32063772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32063772/ft1_4FGL_J1507.2+1721_daily_bin2185.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32063772/ft1_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063772/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits ra=226.821 dec=17.3519 rad=12.0 tmin=805680001.0 tmax=805939201.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 2.29
user 1.69
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.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/32063772/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" outfile="/lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.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.57
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" ouDone.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin2185
RA = 226.821, Dec = 17.3519
tmin = 805680001, tmax = 805939201
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='32063732', job_status='RUN', time_executed='2026-07-17 12:42:51.402690', time_epoch_executed='1784317371.4' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='2185'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32063732

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32063732/ft1_4FGL_J1507.2+1721_daily_bin2185.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32063732/ft1_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063732/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits ra=226.821 dec=17.3519 rad=12.0 tmin=805680001.0 tmax=805939201.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 2.41
user 1.85
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.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/32063732/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" outfile="/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" out **********
 **   18 **HESSE 
 **********

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
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) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063564/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:44:41.037606', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317481.04', return_code='0', job_id='32063564', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:44:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
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) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063568/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:44:45.728065', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317485.73', return_code='0', job_id='32063568', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:44:46 PDT 2026

tfile=/lscratch/kocevski/32063706/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 7.43
user 6.93
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063706/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063706/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063706/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 59.49
user 55.63
sys 3.44

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

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063706/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063706/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063706/Model_4FGL_J1507.2+1721_daily_bin2185.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 GALtfile=/lscratch/kocevski/32063703/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 7.23
user 6.74
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063703/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063703/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063703/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 59.22
user 55.43
sys 3.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 144 point sources and 0 extended sources

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063703/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.62
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063703/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.56
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063703/Model_4FGL_J1507.2+1721_daily_bin2185.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 GALtfile=/lscratch/kocevski/32063708/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 7.30
user 6.86
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063708/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063708/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063708/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 59.44
user 55.39
sys 3.57

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

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063708/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.19
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063708/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063708/Model_4FGL_J1507.2+1721_daily_bin2185.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/32063601/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 22.26
user 20.85
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063601/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063601/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063601/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063601/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063601/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063601/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063601/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063601/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063601/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063601/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
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) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063601/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:45:16.993672', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317516.99', return_code='0', job_id='32063601', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:45:17 PDT 2026

_V02
Working on...
/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 20.06
user 18.82
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063706/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063706/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063706/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063706/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063706/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063706/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063706/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063706/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
_V02
Working on...
/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 20.22
user 18.98
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063708/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063708/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063708/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063708/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063708/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063708/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063708/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063708/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
_V02
Working on...
/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 20.06
user 18.94
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063703/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063703/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063703/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063703/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063703/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063703/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063703/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063703/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
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) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063706/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:45:50.850945', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317550.85', return_code='0', job_id='32063706', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:45:51 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063703/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:45:53.654251', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317553.65', return_code='0', job_id='32063703', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:45:53 PDT 2026

Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063708/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:45:53.694856', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317553.69', return_code='0', job_id='32063708', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:45:54 PDT 2026

tfile=/lscratch/kocevski/32063772/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 7.45
user 6.96
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063772/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063772/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063772/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 60.01
user 55.84
sys 3.53

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

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063772/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 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.57
user 0.17
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063772/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063772/Model_4FGL_J1507.2+1721_daily_bin2185.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 GALfile=/lscratch/kocevski/32063732/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 7.76
user 7.29
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32063732/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063732/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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/32063732/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
.....................!
real 65.09
user 60.58
sys 3.76

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

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063732/cmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits scfile=/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits outfile=/lscratch/kocevski/32063732/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.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.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits evtable="EVENTS" scfile=/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32063732/Model_4FGL_J1507.2+1721_daily_bin2185.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/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 21.05
user 19.36
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063772/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063772/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063772/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063772/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063772/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063772/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063772/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063772/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
V02
Working on...
/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits.....................!
real 21.17
user 20.01
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits', '/lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits', expMap='/lscratch/kocevski/32063732/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', expCube='/lscratch/kocevski/32063732/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32063732/Model_4FGL_J1507.2+1721_daily_bin2185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32063732/ft1_filtered_4FGL_J1507.2+1721_daily_bin2185.fits
Spacecraft file(s): /lscratch/kocevski/32063732/ft2_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure map: /lscratch/kocevski/32063732/expmap_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
Exposure cube: /lscratch/kocevski/32063732/ltcube_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32063732/Model_4FGL_J1507.2+1721_daily_bin2185.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) = 7451.65925772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.640       1.0000          .0000       .10000E+07
     2 'norm      '    7.4592       1.0000          .0000       .10000E+07
     3 'norm      '    .15391E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.5184       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4920       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96882E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .48961E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .13536E-02   1.0000          .0000       .10000E+07
    11 'norm      '    49.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46736E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.691       1.0000          .0000       .10000E+07
    14 'norm      '    .22809E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7451.652     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1140 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.662        9.0225       -.14028E-06   -.32129E-02
   2  norm          7.4920        3.1273       -.30354E-06   -.11938E-03
   3  norm           .0000        8.8420       -.61546E-06** at limit **
   4  norm          1.5199        2.9188       -.67466E-07   -.13810E-03
   5  Prefactor     51.369        23.793       -.46606E-06   -.46117E-01
   6  Prefactor     .27256E-07    12.916       -.11318E-05** at limit **
   7  Prefactor     6.5751        7.9168        .51602E-06    .81609E-03
   8  Prefactor      .0000        3.3902       -.21084E-06** at limit **
   9  norm           .0000        .14176        .29174E-07** at limit **
  10  norm           .0000        2.6092       -.34455E-06** at limit **
  11  norm          49.503        9.0630        .22605E-06   -.82534E-01
  12  Prefactor     .31475E-07    13.183       -.12336E-06** at limit **
  13  Prefactor     18.771        8.3998        .33175E-06   -.31036E-01
  14  norm           .0000        2.6282       -.19973E-07** at limit **
  15  Normalizat    1.4334        .24253        .67729E-05    .29856E-04
  16  Prefactor     .89726        .15386        .11523E-05    .51836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.662
  norm       = 7.492
  norm       = 0
  norm       = 1.51992
  Prefactor  = 51.3693
  Prefactor  = 2.7256e-08
  Prefactor  = 6.57508
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 49.5032
  Prefactor  = 3.14748e-08
  Prefactor  = 18.7714
  norm       = 0
  Normalizat = 1.43336
  Prefactor  = 0.897259
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) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063772/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:47:03.705615', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317623.71', return_code='0', job_id='32063772', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:47:04 PDT 2026

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

 FCN=   7451.652     FROM HESSE     STATUS=OK           241 CALLS     1381 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.662        9.0289        .25299E-03   -1.5629    
   2  norm          7.4920        3.1289        .36698E-03   -1.5653    
   3  norm           .0000        .91390        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5199        2.9574        .86694E-03   -1.5683    
   5  Prefactor     51.369        25.575        .13919E-03   -1.5565    
   6  Prefactor     .27256E-07    13.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5751        20.127        .39365E-03   -1.5657    
   8  Prefactor      .0000        3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .78402E-01    .92028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.503        43.128        .14221E-03   -1.5567    
  12  Prefactor     .31475E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.771        37.159        .23139E-03   -1.5621    
  14  norm           .0000        2.6249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4334        .20417        .62645E-01   -.79669    
  16  Prefactor     .89726        .12836        .44972E-01   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65472e-07
Minuit parameter uncertainties:
  1  9.02889
  2  3.12888
  3  1.83836e-06
  4  2.95738
  5  25.5747
  6  0.00119329
  7  20.1269
  8  7.72032e-06
  9  6.89954e-08
  10  9.20744e-07
  11  43.1283
  12  0.0012972
  13  37.159
  14  7.42947e-06
  15  0.204288
  16  0.128406
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.950e+01  4.313e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.973e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.433e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 226.821 17.352
Photon Index (Fixed Index): 1.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-09 +/- 7.27e-09
Energy Flux (Fixed Index): 2.80e-05 +/- 2.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.59847758
delta logL = 0.0538713062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.5929696
delta logL = 0.0593792947848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7451.593     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.988        43.480        .59639E-05    .19207E-02
   2  alpha         1.7885        .73867        .16608E-01    .35867E-04
   3  Normalizat    1.4341        .24077        .27701E-03   -.18471E-03
   4  Prefactor     .89577        .15360        .21579E-03   -.21890E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.9882
  alpha      = 1.78848
  Normalizat = 1.43408
  Prefactor  = 0.895765
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.593     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.988        42.585        .11928E-05   -1.5574    
   2  alpha         1.7885        .72420        .66432E-03   -.28860    
   3  Normalizat    1.4341        .24102        .55402E-04   -.79648    
   4  Prefactor     .89577        .15376        .86317E-05   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77451e-10
Minuit parameter uncertainties:
  1  42.5849
  2  0.735696
  3  0.241212
  4  0.153833
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) = 7451.59296863
delta logL = 0.0593802586363

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.499e+01  4.258e+01  0.000e+00  1.000e+06 ( 1.000e-14)
220        alpha:  1.788e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  8.958e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.434e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 226.821 17.352
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 1.03e-08 +/- 1.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.40e-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/32063732/cmap_HighResolution_805680001_805939201_4FGL_J1507.2+1721_daily_bin2185.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-09', energy_flux2='2.19e-05', photon_flux_error='7.27e-09', dlogl='5.94e-02', energy_flux='2.80e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2026-07-17 12:47:17.617368', photon_index_error2='0.74', photon_index2='1.79', ts='4.86', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.43', time_epoch_completed='1784317637.62', return_code='0', job_id='32063732', GAL2='0.90', EG2='1.43', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='1.06e-08', ts2='4.98', photon_index='1.53' WHERE bin_id='2185' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 12:47:17 PDT 2026

