/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 9 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 = 7418
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1510.8-0542_daily_bin341
RA = 227.707, Dec = -5.7106
tmin = 327715201, tmax = 327974401
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='213985', job_status='RUN', time_executed='2021-09-11 09:11:29.844662', time_epoch_executed='1631376689.84' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='341'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213985

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213985/ft1_4FGL_J1510.8-0542_daily_bin341.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213985/ft1_4FGL_J1510.8-0542_daily_bin341.fits outfile=/scratch/kocevski/213985/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin341.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=327715201.0 tmax=327974401.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 3.26
user 3.06
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.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/213985/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin341.fits evtable="EVENTS" outfile="/scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits" evtable="EVENTS" scfile=/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits sctable="SC_DATA" outfile=/scratch/kocevski/213985/ltcube_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.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/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits
.....................!
real 11.89
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits evtable="EVENTS" scfile=/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits sctable="SC_DATA" expcube=/scratch/kocevski/213985/ltcube_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.fits outfile=/scratch/kocevski/213985/expmap_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.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/213985/ltcube_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.fits
.....................!
real 192.15
user 186.66
sys 5.09

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

Setting source of interest to:
4FGL J1510.8-0542 @ 227.707 -5.7106

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits scfile=/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits outfile=/scratch/kocevski/213985/cmap_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.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=227.707 yref=-5.7106 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits scfile=/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits outfile=/scratch/kocevski/213985/cmap_HighResolution_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.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=227.707 yref=-5.7106 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits evtable="EVENTS" scfile=/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213985/Model_4FGL_J1510.8-0542_daily_bin341.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/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits.....................!
real 68.13
user 66.77
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits', '/scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits', expMap='/scratch/kocevski/213985/expmap_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.fits', expCube='/scratch/kocevski/213985/ltcube_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/213985/Model_4FGL_J1510.8-0542_daily_bin341.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8-0542'

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  3.024e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.402e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
235         beta:  1.122e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
236           Eb:  8.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/213985/ft1_filtered_4FGL_J1510.8-0542_daily_bin341.fits
Spacecraft file(s): /scratch/kocevski/213985/ft2_4FGL_J1510.8-0542_daily_bin341.fits
Exposure map: /scratch/kocevski/213985/expmap_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.fits
Exposure cube: /scratch/kocevski/213985/ltcube_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/213985/Model_4FGL_J1510.8-0542_daily_bin341.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) = 8284.32270147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6706       1.0000         .10000E-03   10000.    
     3 'norm      '    6.0567       1.0000         .10000E-03   10000.    
     4 'norm      '    6.9083       1.0000         .10000E-03   10000.    
     5 'norm      '    .34531       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1961       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    33.445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.482       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14266E-01   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .51984       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.2574       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8284.302     FROM MIGRAD    STATUS=CONVERGED    257 CALLS     1117 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.116       -.11626E-06** at limit **
   2  norm          1.6675        2.3286       -.83435E-08   -.30519E-03
   3  norm          6.0536        4.5406        .46956E-07   -.64740E-04
   4  norm          6.9067        4.0345        .73194E-06   -.14056E-02
   5  norm          .34526        .14247       -.18980E-08   -.11543E-03
   6  Prefactor     9.1849        10.426        .16041E-06   -.57788E-05
   7  Prefactor     .10000E-03    17.195       -.21412E-07** at limit **
   8  norm          33.431        12.111        .38384E-06    .27154E-03
   9  Prefactor     .10000E-03    2.6295       -.80275E-09** at limit **
  10  Prefactor     31.468        38.003        .38273E-05    .24349E-03
  11  Prefactor     .10002E-03    25.636       -.31128E-06** at limit **
  12  Normalizat    .52049        .30441        .20454E-06   -.26258E-04
  13  Prefactor     1.2572        .11819       -.34777E-06    .90609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.66753
  norm       = 6.05357
  norm       = 6.90673
  norm       = 0.345257
  Prefactor  = 9.18487
  Prefactor  = 0.0001
  norm       = 33.431
  Prefactor  = 0.0001
  Prefactor  = 31.4684
  Prefactor  = 0.000100022
  Normalizat = 0.520491
  Prefactor  = 1.25722
 **********
 **   18 **HESSE 
 **********

 FCN=   8284.302     FROM HESSE     STATUS=OK           155 CALLS     1272 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6675        2.2873        .15203E-03   -1.5450    
   3  norm          6.0536        4.5340        .16135E-03   -1.5216    
   4  norm          6.9067        4.6917        .76321E-03   -1.5182    
   5  norm          .34526        .14722        .17261E-04   -1.5590    
   6  Prefactor     9.1849        10.854        .13216E-03   -1.5102    
   7  Prefactor     .10000E-03    17.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          33.431        12.195        .69290E-04   -1.4551    
   9  Prefactor     .10000E-03    2.6693        .14404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.468        40.989        .71411E-04   -1.4585    
  11  Prefactor     .10002E-03    25.899        .14545       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .52049        .29849        .61013E-03   -1.1147    
  13  Prefactor     1.2572        .11828        .15967E-03   -.84588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.53582e-10
Minuit parameter uncertainties:
  1  1.88526e-05
  2  2.28737
  3  4.53426
  4  4.69191
  5  0.147222
  6  10.8564
  7  6.989e-07
  8  12.1961
  9  1.64544e-06
  10  41.0252
  11  0.00149616
  12  0.299415
  13  0.118305
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  6.054e+00  4.534e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.402e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
235         beta:  1.122e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
236           Eb:  8.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.257e+00  1.183e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  5.205e-01  2.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.76
Ra Dec: 227.707 -5.711
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 6.02e-08 +/- 4.51e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.52e-05

TS (Fixed Index): 3.76
Ra Dec: 227.707 -5.711
Photon Flux Upper Limit: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/213985/likelihoodResults_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8284.11984436
delta logL = 0.182633450962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8284.11976315
delta logL = 0.182714666771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1988       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0464       1.0000          .0000       5.0000    
     3 'Normalizat'    .53350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+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=   8284.120     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      298 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1911        5.5003        .14950E-03    .79542E-03
   2  alpha         2.0454        .58117        .17076E-01    .78600E-04
   3  Normalizat    .53359        .29238        .60314E-03   -.13458E-04
   4  Prefactor     1.2546        .11593        .15983E-03    .38410E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.19106
  alpha      = 2.04536
  Normalizat = 0.533592
  Prefactor  = 1.25461
 **********
 **   18 **HESSE 
 **********

 FCN=   8284.120     FROM HESSE     STATUS=OK            23 CALLS      321 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1911        5.4756        .59800E-05   -1.5172    
   2  alpha         2.0454        .57861        .68303E-03   -.18288    
   3  Normalizat    .53359        .29231        .24126E-04   -1.1088    
   4  Prefactor     1.2546        .11592        .63932E-05   -.84667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40174e-10
Minuit parameter uncertainties:
  1  5.47594
  2  0.584091
  3  0.293154
  4  0.11594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213985': 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) = 8284.11976006
delta logL = 0.182717751299

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  7.191e+00  5.476e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.045e+00  5.841e-01  0.000e+00  5.000e+00 ( 1.000e+00)
235         beta:  1.122e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
236           Eb:  8.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.255e+00  1.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  5.336e-01  2.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 227.707 -5.711
Photon Index (Free Index): 2.05 +/- 0.58
Photon Flux (Free Index): 4.56e-08 +/- 4.37e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.97e-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/213985/cmap_HighResolution_327715201_327974401_4FGL_J1510.8-0542_daily_bin341.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-05', comment='SUCCESS', photon_flux='6.02e-08', energy_flux2='2.41e-05', photon_flux_error='4.51e-08', dlogl='1.83e-01', energy_flux='2.02e-05', photon_flux2='4.56e-08', job_status='DONE', time_completed='2021-09-11 09:20:20.185192', photon_index_error2='0.58', photon_index2='2.05', ts='3.76', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.63e-07', energy_flux_error2='1.97e-05', EG='0.52', time_epoch_completed='1631377220.19', return_code='0', job_id='213985', GAL2='1.25', EG2='0.53', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='4.37e-08', ts2='4.13', photon_index='2.40' WHERE bin_id='341' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:20:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 213985: <4FGL_J1510.8-0542_daily_bin341> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin341> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 09:11:10 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:11:12 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:11:12 2021
Terminated at Sat Sep 11 09:20:20 2021
Results reported at Sat Sep 11 09:20:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin341 227.707 -5.7106 327715201 327974401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1510.8-0542 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   527.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            550 sec.

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

