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


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665545', job_status='RUN', time_executed='2026-07-14 12:53:23.463454', time_epoch_executed='1784058803.46' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665545

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665545/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665545/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665545/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.45
user 3.78
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665545/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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.75
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665552', job_status='RUN', time_executed='2026-07-14 12:53:23.673855', time_epoch_executed='1784058803.67' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665552

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665552/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665552/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665552/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.49
user 3.85
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665552/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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.79
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA"number of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665481', job_status='RUN', time_executed='2026-07-14 12:53:24.230972', time_epoch_executed='1784058804.23' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665481

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665481/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665481/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665481/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.87
user 4.16
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665481/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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.98
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA"number of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665570', job_status='RUN', time_executed='2026-07-14 12:54:30.045659', time_epoch_executed='1784058870.05' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665570

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665570/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665570/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665570/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.07
user 4.13
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665570/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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.91
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31665552/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 15.80
user 15.13
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665552/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665552/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665552/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 59.93
user 55.48
sys 3.59

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665552/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665552/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.22
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665552/Model_4FGL_J1512.8-0906_weekly_bin936.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 sourc outfile=/lscratch/kocevski/31665545/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 15.94
user 15.22
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665545/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665545/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665545/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 59.89
user 55.67
sys 3.42

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665545/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.05
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665545/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.63
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665545/Model_4FGL_J1512.8-0906_weekly_bin936.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 sourc outfile=/lscratch/kocevski/31665481/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 17.44
user 16.59
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665481/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665481/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665481/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 63.72
user 59.27
sys 3.65

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665481/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.09
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665481/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.18
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665481/Model_4FGL_J1512.8-0906_weekly_bin936.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665636', job_status='RUN', time_executed='2026-07-14 12:55:31.496417', time_epoch_executed='1784058931.5' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665636

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665636/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665636/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665636/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.80
user 3.78
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665636/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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.93
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 53.20
user 51.39
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665552/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665552/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665552/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665552/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665552/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665552/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665552/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665552/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
e GAL_V02
Working on...
/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 53.45
user 51.70
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665545/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665545/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665545/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665545/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665545/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665545/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665545/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665545/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
e GAL_V02
Working on...
/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 57.73
user 55.98
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665481/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665481/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665481/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665481/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665481/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665481/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665481/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665481/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665552/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:02:59.780177', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059379.78', return_code='0', job_id='31665552', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:03:00 PDT 2026

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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665545/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:03:01.697279', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059381.7', return_code='0', job_id='31665545', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:03:02 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
 outfile=/lscratch/kocevski/31665570/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 18.03
user 17.16
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665570/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665570/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665570/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 64.26
user 59.55
sys 3.86

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665570/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.87
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665570/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 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.95
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665570/Model_4FGL_J1512.8-0906_weekly_bin936.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 sourcshell-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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665481/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:03:18.431084', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059398.43', return_code='0', job_id='31665481', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:03:18 PDT 2026

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


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665641', job_status='RUN', time_executed='2026-07-14 12:55:31.319388', time_epoch_executed='1784058931.32' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665641

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665641/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665641/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665641/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.79
user 3.79
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665641/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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.99
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA"number of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665733', job_status='RUN', time_executed='2026-07-14 12:56:26.765342', time_epoch_executed='1784058986.77' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665733

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665733/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665733/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665733/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.88
user 4.05
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665733/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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.84
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA"outfile=/lscratch/kocevski/31665636/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 15.85
user 15.07
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665636/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665636/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665636/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 59.69
user 55.47
sys 3.51

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665636/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 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.91
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665636/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 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.93
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665636/Model_4FGL_J1512.8-0906_weekly_bin936.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcee GAL_V02
Working on...
/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 56.02
user 53.89
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665570/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665570/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665570/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665570/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665570/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665570/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665570/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665570/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
number of points = 17392
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin936
RA = 228.215, Dec = -9.1064
tmin = 805075201, tmax = 805680001
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='31665765', job_status='RUN', time_executed='2026-07-14 12:56:26.310309', time_epoch_executed='1784058986.31' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31665765

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31665765/ft1_4FGL_J1512.8-0906_weekly_bin936.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31665765/ft1_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665765/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=805075201.0 tmax=805680001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.76
user 3.82
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.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/31665765/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.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 1.56
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 1849

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665570/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:05:20.225916', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059520.23', return_code='0', job_id='31665570', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:05:20 PDT 2026

 outfile=/lscratch/kocevski/31665641/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 15.89
user 15.03
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665641/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665641/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665641/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 59.78
user 55.50
sys 3.43

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665641/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.05
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665641/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 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.95
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665641/Model_4FGL_J1512.8-0906_weekly_bin936.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 sourc GAL_V02
Working on...
/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 53.55
user 51.87
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665636/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665636/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665636/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665636/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665636/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665636/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665636/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665636/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
 outfile=/lscratch/kocevski/31665733/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 17.11
user 16.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665733/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665733/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665733/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 62.95
user 58.22
sys 3.70

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665733/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.07
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665733/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.10
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665733/Model_4FGL_J1512.8-0906_weekly_bin936.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665636/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:06:40.428729', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059600.43', return_code='0', job_id='31665636', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:06:40 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 53.67
user 51.81
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665641/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665641/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665641/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665641/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665641/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665641/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665641/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665641/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
 outfile=/lscratch/kocevski/31665765/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 16.64
user 15.35
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31665765/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665765/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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/31665765/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
.....................!
real 60.02
user 55.50
sys 3.64

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

Setting source of interest to:
4FGL J1512.8-0906 @ 228.215 -9.1064

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665765/cmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.02
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits scfile=/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits outfile=/lscratch/kocevski/31665765/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.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=228.215 yref=-9.1064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.08
user 0.23
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31665765/Model_4FGL_J1512.8-0906_weekly_bin936.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 sourcDone.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665641/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:07:43.223829', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059663.22', return_code='0', job_id='31665641', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:07:44 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 56.28
user 54.21
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665733/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665733/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665733/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665733/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665733/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665733/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665733/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665733/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665733/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:08:20.740185', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059700.74', return_code='0', job_id='31665733', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:08:21 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits.....................!
real 54.73
user 52.88
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits', '/lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits', expMap='/lscratch/kocevski/31665765/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', expCube='/lscratch/kocevski/31665765/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31665765/Model_4FGL_J1512.8-0906_weekly_bin936.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.8-0906'

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.108e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31665765/ft1_filtered_4FGL_J1512.8-0906_weekly_bin936.fits
Spacecraft file(s): /lscratch/kocevski/31665765/ft2_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure map: /lscratch/kocevski/31665765/expmap_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
Exposure cube: /lscratch/kocevski/31665765/ltcube_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31665765/Model_4FGL_J1512.8-0906_weekly_bin936.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) = 20314.2814189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25510E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24847E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78919       1.0000          .0000       .10000E+07
     5 'norm      '    .33123       1.0000          .0000       .10000E+07
     6 'norm      '    .85787E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69922E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.8709       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.5633       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23522E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19734E-01   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      906 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87762         .0000    ** at limit **
   2  Prefactor     .55511E-10    19.798         .0000    ** at limit **
   3  Prefactor      .0000        16.079         .0000    ** at limit **
   4  norm          .81846        3.0761         .0000        .26850    
   5  norm          .33127        1.0420         .0000        .35758E-01
   6  norm          .85705E-01    .50665E-01     .0000    ** at limit **
   7  Prefactor     .33307E-09    7.9895         .0000    ** at limit **
   8  norm          1.8690        2.8165         .0000        .15425E-01
   9  Prefactor     7.5034        4.3818         .0000        .63465E-01
  10  Prefactor     .27756E-09    9.1617         .0000    ** at limit **
  11  Prefactor      .0000        7.4251         .0000    ** at limit **
  12  Normalizat    1.4970        .15593         .0000        .11593E-03
  13  Prefactor     .86381        .52982E-01     .0000        .14441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.818457
  norm       = 0.331269
  norm       = 0.0857048
  Prefactor  = 3.33067e-10
  norm       = 1.86901
  Prefactor  = 7.5034
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.49698
  Prefactor  = 0.863808
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK           151 CALLS     1057 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    19.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.092        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81846        3.0638        .10749E-03   -1.5690    
   5  norm          .33127        1.2772        .25068E-03   -1.5696    
   6  norm          .85705E-01    .47344E-01    .22968E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    8.0744        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8690        2.7969        .28459E-04   -1.5681    
   9  Prefactor     7.5034        4.3813        .72884E-04   -1.5653    
  10  Prefactor     .27756E-09    9.1638        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        66.811        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4970        .18284        .36843E-03   -.77863    
  13  Prefactor     .86381        .62365E-01    .16090E-03   -.97417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11866e-07
Minuit parameter uncertainties:
  1  1.67025e-06
  2  5.82591e-05
  3  2.49567e-06
  4  3.06379
  5  1.27717
  6  0.0473438
  7  0.000104203
  8  2.79694
  9  4.38133
  10  0.000104738
  11  3.41137e-05
  12  0.182924
  13  0.0623698
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.570e-02  4.734e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.368e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.638e-01  6.237e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.12e-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) = 20314.2331517
delta logL = 3.73417278752e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20314.233148
delta logL = 4.10077918787e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   20314.23     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85600E-01    .54601        .49587E-03** at limit **
   2  alpha         2.3732        3.6535        .41219        .48173E-04
   3  Normalizat    1.4966        .43413E-01    .83236E-01   -.71050E-04
   4  Prefactor     .86387        .14534E-01    .44543E-01    .11068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0855998
  alpha      = 2.37323
  Normalizat = 1.49664
  Prefactor  = 0.863874
 **********
 **   18 **HESSE 
 **********

 FCN=   20314.23     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85600E-01    .50019E-01    .22927E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3732        .55017        .19994E-01   -.50729E-01
   3  Normalizat    1.4966        .18483        .36846E-03   -.77873    
   4  Prefactor     .86387        .62663E-01    .16090E-03   -.97415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46064e-09
Minuit parameter uncertainties:
  1  0.050019
  2  0.554726
  3  0.18491
  4  0.0626683
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) = 20314.2331476
delta logL = 4.14670030295e-05

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  8.560e-02  5.002e-02  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  2.373e+00  5.547e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  7.236e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.639e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.497e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.14
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.37 +/- 0.55
Photon Flux (Free Index): 6.10e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.15e-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/31665765/cmap_HighResolution_805075201_805680001_4FGL_J1512.8-0906_weekly_bin936.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.02e-05', photon_flux_error='3.35e-08', dlogl='4.15e-05', energy_flux='2.02e-05', photon_flux2='6.10e-08', job_status='DONE', time_completed='2026-07-14 13:09:24.746101', photon_index_error2='0.55', photon_index2='2.37', ts='5.14', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.50', time_epoch_completed='1784059764.75', return_code='0', job_id='31665765', GAL2='0.86', EG2='1.50', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.42e-08', ts2='5.14', photon_index='2.37' WHERE bin_id='936' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 14 13:09:25 PDT 2026

