/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
 outfile=/lscratch/kocevski/38312373/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38312373/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 18.70
user 17.92
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312373/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312373/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312373/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312373/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38312373/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 72.14
user 67.21
sys 4.20

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/38312373/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312373/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312373/cmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.84
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312373/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312373/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312373/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.97
user 0.28
sys 0.11

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

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

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

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

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

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

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

 outfile=/lscratch/kocevski/38312395/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38312395/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 19.84
user 18.52
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312395/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312395/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312395/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312395/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38312395/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 73.35
user 67.95
sys 4.18

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/38312395/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312395/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312395/cmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.92
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312395/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312395/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312395/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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 8.29
user 0.26
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38312368/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 56.74
user 54.62
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312368/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312368/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312368/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312368/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312368/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312368/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312368/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312368/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312368/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312368/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
 **********
 **   18 **HESSE 
 **********

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin945
RA = 228.215, Dec = -9.1064
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38312521', job_status='RUN', time_executed='2026-09-15 11:58:32.423826', time_epoch_executed='1789498712.42' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38312521

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38312521/ft1_4FGL_J1512.8-0906_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits


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

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

Done.
real 6.38
user 5.43
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38312521/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1527

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38312412/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38312412/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 18.73
user 17.68
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312412/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312412/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312412/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312412/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38312412/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 70.61
user 65.58
sys 4.04

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/38312412/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312412/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312412/cmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312412/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312412/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312412/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.25
sys 0.13

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

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

adding source EG_v02
adding sourcDone.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
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) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312368/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:03:04.538523', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789498984.54', return_code='0', job_id='38312368', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:03:04 PDT 2026

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


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin945
RA = 228.215, Dec = -9.1064
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38312553', job_status='RUN', time_executed='2026-09-15 11:58:55.501597', time_epoch_executed='1789498735.5' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38312553

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38312553/ft1_4FGL_J1512.8-0906_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits


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

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

Done.
real 6.35
user 5.57
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38312553/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1527

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/38312373/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 56.29
user 54.21
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312373/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312373/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312373/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312373/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312373/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312373/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312373/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312373/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312373/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312373/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin945
RA = 228.215, Dec = -9.1064
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38312555', job_status='RUN', time_executed='2026-09-15 11:58:58.371371', time_epoch_executed='1789498738.37' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38312555

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38312555/ft1_4FGL_J1512.8-0906_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits


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

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

Done.
real 6.32
user 5.55
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38312555/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1527

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
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) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312373/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:03:38.962744', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789499018.96', return_code='0', job_id='38312373', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:03:39 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38312395/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 57.00
user 54.89
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312395/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312395/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312395/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312395/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312395/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312395/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312395/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312395/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312395/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312395/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
 **********
 **   18 **HESSE 
 **********

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
e GAL_V02
Working on...
/lscratch/kocevski/38312412/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 54.58
user 52.94
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312412/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312412/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312412/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312412/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312412/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312412/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312412/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312412/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312412/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312412/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312395/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:04:18.803945', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789499058.8', return_code='0', job_id='38312395', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:04:19 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
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) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312412/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:04:38.454493', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789499078.45', return_code='0', job_id='38312412', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:04:38 PDT 2026

 outfile=/lscratch/kocevski/38312521/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 19.37
user 18.20
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312521/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312521/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38312521/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 72.19
user 67.17
sys 4.07

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312521/cmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.89
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312521/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.78
user 0.25
sys 0.11

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

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

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/38312553/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 19.54
user 18.62
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312553/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312553/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38312553/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 73.13
user 68.09
sys 3.99

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/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312553/cmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.96
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312553/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.11
user 0.28
sys 0.18

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

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

adding source EG_v02
adding source outfile=/lscratch/kocevski/38312555/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 19.13
user 18.24
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312555/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312555/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38312555/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 72.23
user 67.01
sys 4.14

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/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312555/cmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.94
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312555/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.94
user 0.24
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 55.38
user 53.52
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312521/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312521/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312521/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312521/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312521/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312521/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312521/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312521/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
 **********
 **   18 **HESSE 
 **********

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
e GAL_V02
Working on...
/lscratch/kocevski/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 56.04
user 54.24
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312555/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312555/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312555/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312555/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312555/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312555/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312555/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312555/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
 GAL_V02
Working on...
/lscratch/kocevski/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 57.59
user 55.42
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312553/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312553/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312553/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312553/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312553/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312553/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312553/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312553/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
Done.


Performing analysis on: 4FGL_J1512.8-0906_weekly_bin945
RA = 228.215, Dec = -9.1064
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38312947', job_status='RUN', time_executed='2026-09-15 12:01:53.327729', time_epoch_executed='1789498913.33' WHERE source_name='4FGL J1512.8-0906' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38312947

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38312947/ft1_4FGL_J1512.8-0906_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits


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

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

Done.
real 7.31
user 5.81
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38312947/ft1_filteredMKT_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1527

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA"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) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312521/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:07:07.959614', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789499227.96', return_code='0', job_id='38312521', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:07:08 PDT 2026

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

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
 **********
 **   18 **HESSE 
 **********

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
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) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312555/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:07:33.279130', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789499253.28', return_code='0', job_id='38312555', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:07:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
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) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312553/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:07:38.568916', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789499258.57', return_code='0', job_id='38312553', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:07:39 PDT 2026

 outfile=/lscratch/kocevski/38312947/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 22.15
user 19.71
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38312947/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312947/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38312947/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
.....................!
real 78.37
user 71.61
sys 4.76

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312947/cmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.31
user 0.27
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits scfile=/lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits outfile=/lscratch/kocevski/38312947/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.69
user 0.26
sys 0.19

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

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits.....................!
real 67.13
user 59.65
sys 5.53

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits', '/lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits', expMap='/lscratch/kocevski/38312947/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', expCube='/lscratch/kocevski/38312947/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38312947/Model_4FGL_J1512.8-0906_weekly_bin945.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/38312947/ft1_filtered_4FGL_J1512.8-0906_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38312947/ft2_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38312947/expmap_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38312947/ltcube_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38312947/Model_4FGL_J1512.8-0906_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41640       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.183       1.0000          .0000       .10000E+07
     4 'norm      '    6.0250       1.0000          .0000       .10000E+07
     5 'norm      '    1.2519       1.0000          .0000       .10000E+07
     6 'norm      '    .11818       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1476       1.0000          .0000       .10000E+07
     8 'norm      '    .24767E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8755       1.0000          .0000       .10000E+07
    10 'Prefactor '    62.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49118E-02   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0415       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16885.67     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      818 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    5.3568       -.57508E-06** at limit **
   2  Prefactor     .25258E-07    8.6766       -.37596E-05** at limit **
   3  Prefactor     36.022        6.3025        .14026E-05   -.55339E-01
   4  norm          6.0223        3.7440        .54949E-06   -.99137E-03
   5  norm          1.2489        1.3334       -.33942E-06    .33957E-02
   6  norm          .11819        .77565E-01   -.31516E-07** at limit **
   7  Prefactor     2.1301        5.9723        .44207E-05    .45746E-02
   8  norm          .16653E-09    6.8542       -.60869E-06** at limit **
   9  Prefactor     1.8755        2.1683        .32313E-06   -.32962E-02
  10  Prefactor     63.110        30.031        .53143E-05    .15553E-01
  11  Prefactor      .0000        23.588       -.66813E-05** at limit **
  12  Normalizat    1.0159        .19919       -.53719E-04    .32509E-03
  13  Prefactor     1.0416        .70360E-01    .44371E-05    .60581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.52576e-08
  Prefactor  = 36.0222
  norm       = 6.02231
  norm       = 1.2489
  norm       = 0.11819
  Prefactor  = 2.13015
  norm       = 1.66533e-10
  Prefactor  = 1.87548
  Prefactor  = 63.1104
  Prefactor  = 0
  Normalizat = 1.0159
  Prefactor  = 1.04163
 **********
 **   18 **HESSE 
 **********

 FCN=   16885.67     FROM HESSE     STATUS=OK           173 CALLS      991 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.3339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25258E-07    106.10        .87611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.022        36.917        .16626E-03   -1.5588    
   4  norm          6.0223        3.7694        .40882E-03   -1.5659    
   5  norm          1.2489        1.3322        .99871E-03   -1.5686    
   6  norm          .11819        .84994E-01    .50694E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1301        6.2522        .70289E-03   -1.5679    
   8  norm          .16653E-09    6.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8755        2.1746        .76005E-03   -1.5681    
  10  Prefactor     63.110        30.339        .12623E-03   -1.5549    
  11  Prefactor      .0000        25.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0159        .17836        .99850E-01   -.92500    
  13  Prefactor     1.0416        .61814E-01    .40432E-01   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75008e-07
Minuit parameter uncertainties:
  1  7.9402e-05
  2  0.00327575
  3  36.9173
  4  3.7694
  5  1.33221
  6  0.0849943
  7  6.25225
  8  6.38469e-05
  9  2.17461
  10  30.3392
  11  1.69892e-05
  12  0.178464
  13  0.0618177
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  1.182e-01  8.499e-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:  1.042e+00  6.182e-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.016e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.37e-08 +/- 6.02e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 2.00e-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): 102
logL (Free Index) = 16884.345911
delta logL = 1.32292424217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16884.3015782
delta logL = 1.36725707643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41573E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5667       1.0000          .0000       5.0000    
     3 'Normalizat'    .91934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   16884.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41537E-01    .15865        .23249E-03** at limit **
   2  alpha         3.5674        1.8978        .32674        .16280E-03
   3  Normalizat    .91946        .50721E-01    .10424        .68832E-04
   4  Prefactor     1.0645        .18030E-01    .39121E-01   -.14048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415367
  alpha      = 3.56742
  Normalizat = 0.91946
  Prefactor  = 1.06452
 **********
 **   18 **HESSE 
 **********

 FCN=   16884.30     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41537E-01    3.2156        .10411E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5674        3.2162        .13322E-01    .44114    
   3  Normalizat    .91946        .39081        .46202E-03   -.95780    
   4  Prefactor     1.0645        .15354        .15396E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.96246e-09
Minuit parameter uncertainties:
  1  0.730933
  2  11.6212
  3  0.392021
  4  0.1536
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) = 16884.301576
delta logL = 1.36725927463

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  4.154e-02  7.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
242        alpha:  3.567e+00  1.162e+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:  1.065e+00  1.536e-01  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:  9.195e-01  3.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 3.57 +/- 11.62
Photon Flux (Free Index): 1.63e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.74e-05 +/- 6.64e-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/38312947/cmap_HighResolution_810518401_811123201_4FGL_J1512.8-0906_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.37e-08', energy_flux2='2.74e-05', photon_flux_error='6.02e-08', dlogl='1.37e+00', energy_flux='2.78e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2026-09-15 12:12:09.952849', photon_index_error2='11.62', photon_index2='3.57', ts='5.20', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='1.02', time_epoch_completed='1789499529.95', return_code='0', job_id='38312947', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.24e-07', ts2='8.38', photon_index='2.37' WHERE bin_id='945' AND source_name='4FGL J1512.8-0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:12:10 PDT 2026

