/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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


Waiting 179 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7477
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1512.8-0906_daily_bin7
RA = 228.215, Dec = -9.1064
tmin = 241142401, tmax = 241401601
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='227700', job_status='RUN', time_executed='2021-09-11 09:55:19.144179', time_epoch_executed='1631379319.14' WHERE source_name='4FGL J1512.8-0906' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/227700

Creating custom pfile directory:
/scratch/kocevski/227700/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=241142401.0 && nMetStart<241401601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=241142401.0 && nMetStart<241401601.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/227700/ft1_4FGL_J1512.8-0906_daily_bin7.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=241142401.0 && nMetStart<241401601.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/227700/ft1_4FGL_J1512.8-0906_daily_bin7.fits outfile=/scratch/kocevski/227700/ft1_filteredMKT_4FGL_J1512.8-0906_daily_bin7.fits ra=228.215 dec=-9.1064 rad=12.0 tmin=241142401.0 tmax=241401601.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 1.50
user 1.31
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/227700/ft1_filteredMKT_4FGL_J1512.8-0906_daily_bin7.fits evtable="EVENTS" outfile="/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/227700/ltcube_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.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 /scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits
.....................!
real 12.22
user 11.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/227700/ltcube_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.fits outfile=/scratch/kocevski/227700/expmap_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.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 /scratch/kocevski/227700/ltcube_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.fits
.....................!
real 189.89
user 185.62
sys 3.96

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=/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits scfile=/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits outfile=/scratch/kocevski/227700/cmap_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits scfile=/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits outfile=/scratch/kocevski/227700/cmap_HighResolution_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/227700/Model_4FGL_J1512.8-0906_daily_bin7.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...
/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits.....................!
real 112.93
user 111.56
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits', '/scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits', expMap='/scratch/kocevski/227700/expmap_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.fits', expCube='/scratch/kocevski/227700/ltcube_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/227700/Model_4FGL_J1512.8-0906_daily_bin7.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  1.000e-04  1.000e+04 ( 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  0.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): /scratch/kocevski/227700/ft1_filtered_4FGL_J1512.8-0906_daily_bin7.fits
Spacecraft file(s): /scratch/kocevski/227700/ft2_4FGL_J1512.8-0906_daily_bin7.fits
Exposure map: /scratch/kocevski/227700/expmap_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.fits
Exposure cube: /scratch/kocevski/227700/ltcube_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/227700/Model_4FGL_J1512.8-0906_daily_bin7.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) = 14721.5231065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25728E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24681E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.218       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0754       1.0000         .10000E-03   10000.    
     5 'norm      '    .10262E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .64129       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9924       1.0000         .10000E-03   10000.    
     8 'norm      '    .31001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11428E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .53222E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .99887       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0537       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14721.52     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     1318 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9136        .35278E-02** at limit **
   2  Prefactor     .10000E-03    27.427        .18142E-02** at limit **
   3  Prefactor     67.117        35.425        .48955E-04   -.14714E-03
   4  norm          8.0975        3.8861        .70544E-03    .10888E-03
   5  norm          .10000E-03    1.8189        .15795E-02** at limit **
   6  norm          .64119        .11433        .13738E-04    .32787E-02
   7  Prefactor     4.0010        6.4976        .10092E-02   -.13150E-03
   8  norm          .10021E-03    2.4276        .59784E-01** at limit **
   9  Prefactor     .10039E-03    28.722        .32298E-02** at limit **
  10  Prefactor     .10000E-03    39.501        .20672E-02** at limit **
  11  Prefactor     .10000E-03    5.9985        .21126E-02** at limit **
  12  Normalizat    .99861        .21424        .45093E-03   -.14900E-03
  13  Prefactor     1.0538        .77049E-01    .15939E-03    .76267E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.000100002
  Prefactor  = 67.1172
  norm       = 8.09745
  norm       = 0.0001
  norm       = 0.641191
  Prefactor  = 4.00101
  norm       = 0.000100206
  Prefactor  = 0.000100389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.998605
  Prefactor  = 1.05376
 **********
 **   18 **HESSE 
 **********

 FCN=   14721.52     FROM HESSE     STATUS=OK           145 CALLS     1463 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9533        .70555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.429        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     67.117        35.415        .97910E-05   -1.4068    
   4  norm          8.0975        3.8855        .28218E-04   -1.5139    
   5  norm          .10000E-03    1.8202        .31590E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .64119        .11396        .54951E-06   -1.5548    
   7  Prefactor     4.0010        6.4744        .40370E-04   -1.5308    
   8  norm          .10021E-03    2.4111        .60132E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10039E-03    29.937        .12919E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    39.515        .41344E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.9986        .42252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .99861        .21429        .18037E-04   -.93077    
  13  Prefactor     1.0538        .77086E-01    .31878E-04   -.90958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47267e-08
Minuit parameter uncertainties:
  1  0.00025109
  2  0.000491014
  3  35.4261
  4  3.88564
  5  4.73884e-05
  6  0.11396
  7  6.47549
  8  0.0014101
  9  0.00683264
  10  0.000125952
  11  3.94305e-05
  12  0.214474
  13  0.0770944
Done.

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

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  6.412e-01  1.140e-01  1.000e-04  1.000e+04 ( 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  0.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.054e+00  7.709e-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:  9.986e-01  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 111.87
Ra Dec: 228.215 -9.106
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.54e-07 +/- 8.07e-08
Energy Flux (Fixed Index): 1.51e-04 +/- 2.69e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14721.2384039
delta logL = 0.280903099747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14721.2383227
delta logL = 0.280984234927

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58889       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4885       1.0000          .0000       5.0000    
     3 'Normalizat'    .96852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0603       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=   14721.24     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58886        1.1619        .29216E-02    .56001E-03
   2  alpha         2.4886        1.5002        .12552        .13559E-03
   3  Normalizat    .96829        .16902        .10305        .55248E-04
   4  Prefactor     1.0604        .49684E-01    .39341E-01   -.12190E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.588861
  alpha      = 2.48856
  Normalizat = 0.968292
  Prefactor  = 1.06038
 **********
 **   18 **HESSE 
 **********

 FCN=   14721.24     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58886        .11448        .12931E-04   -1.5555    
   2  alpha         2.4886        .16302        .54435E-03   -.45768E-02
   3  Normalizat    .96829        .21617        .45666E-03   -.94100    
   4  Prefactor     1.0604        .77361E-01    .15891E-03   -.90743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28944e-13
Minuit parameter uncertainties:
  1  0.114484
  2  0.163139
  3  0.216363
  4  0.0773692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/227700': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14721.2383221
delta logL = 0.280984826271

Extracting fit parameters...

4FGL J1512.8-0906
   Spectrum: LogParabola
241         norm:  5.889e-01  1.145e-01  1.000e-04  1.000e+04 ( 1.000e-10)
242        alpha:  2.489e+00  1.631e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  5.569e-02  0.000e+00  0.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.060e+00  7.737e-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:  9.683e-01  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 114.10
Ra Dec: 228.215 -9.106
Photon Index (Free Index): 2.49 +/- 0.16
Photon Flux (Free Index): 4.84e-07 +/- 8.06e-08
Energy Flux (Free Index): 1.42e-04 +/- 2.35e-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 /scratch/kocevski/227700/cmap_HighResolution_241142401_241401601_4FGL_J1512.8-0906_daily_bin7.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/227700

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.54e-07', energy_flux2='1.42e-04', photon_flux_error='8.07e-08', dlogl='2.81e-01', energy_flux='1.51e-04', photon_flux2='4.84e-07', job_status='DONE', time_completed='2021-09-11 10:06:09.933361', photon_index_error2='0.16', photon_index2='2.49', ts='111.87', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='1.00', time_epoch_completed='1631379969.93', return_code='0', job_id='227700', GAL2='1.06', EG2='0.97', return_code2='0', energy_flux_error='2.69e-05', photon_flux_error2='8.06e-08', ts2='114.10', photon_index='2.37' WHERE bin_id='7' AND source_name='4FGL J1512.8-0906' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 10:06:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 227700: <4FGL_J1512.8-0906_daily_bin7> in cluster <slac> Done

Job <4FGL_J1512.8-0906_daily_bin7> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 09:52:07 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:52:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 09:52:08 2021
Terminated at Sat Sep 11 10:06:10 2021
Results reported at Sat Sep 11 10:06:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.8-0906_daily_bin7 228.215 -9.1064 241142401 241401601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1512.8-0906 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            843 sec.

The output (if any) is above this job summary.

