/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 144 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 = 7401
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1510.8-0542_daily_bin19
RA = 227.707, Dec = -5.7106
tmin = 244252801, tmax = 244512001
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='209433', job_status='RUN', time_executed='2021-09-11 08:58:56.566126', time_epoch_executed='1631375936.57' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209433

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209433/ft1_4FGL_J1510.8-0542_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209433/ft1_4FGL_J1510.8-0542_daily_bin19.fits outfile=/scratch/kocevski/209433/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin19.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=244252801.0 tmax=244512001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.45
user 2.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.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/209433/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/209433/ft1_filtered_4FGL_J1510.8-0542_daily_bin19.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.54
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209433/ft1_filtered_4FGL_J1510.8-0542_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/209433/ltcube_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.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/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits
.....................!
real 12.03
user 11.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209433/ft1_filtered_4FGL_J1510.8-0542_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/209433/ltcube_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.fits outfile=/scratch/kocevski/209433/expmap_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.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/209433/ltcube_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.fits
.....................!
real 191.19
user 185.22
sys 5.56

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/209433/ft1_filtered_4FGL_J1510.8-0542_daily_bin19.fits scfile=/scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits outfile=/scratch/kocevski/209433/cmap_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209433/ft1_filtered_4FGL_J1510.8-0542_daily_bin19.fits scfile=/scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits outfile=/scratch/kocevski/209433/cmap_HighResolution_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.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.36
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/209433/ft1_filtered_4FGL_J1510.8-0542_daily_bin19.fits', '/scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits', expMap='/scratch/kocevski/209433/expmap_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.fits', expCube='/scratch/kocevski/209433/ltcube_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/209433/Model_4FGL_J1510.8-0542_daily_bin19.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/209433/ft1_filtered_4FGL_J1510.8-0542_daily_bin19.fits
Spacecraft file(s): /scratch/kocevski/209433/ft2_4FGL_J1510.8-0542_daily_bin19.fits
Exposure map: /scratch/kocevski/209433/expmap_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.fits
Exposure cube: /scratch/kocevski/209433/ltcube_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/209433/Model_4FGL_J1510.8-0542_daily_bin19.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) = 9647.45196316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.521       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0573       1.0000         .10000E-03   10000.    
     3 'norm      '    8.0580       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2038       1.0000         .10000E-03   10000.    
     5 'norm      '    .28972       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.3805       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.678       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0907       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0530       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=   9647.408     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     1121 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.483        65.185        .48296E-05   -.31797E-05
   2  norm          1.0582        1.7440       -.67592E-08   -.97417E-04
   3  norm          8.0578        5.1090        .71681E-07   -.39590E-05
   4  norm          1.2039        3.2605        .31754E-06    .82658E-05
   5  norm          .28976        .94746E-01    .32205E-08   -.77535E-04
   6  Prefactor     .10000E-03    7.5911        .24172E-07** at limit **
   7  Prefactor     .10000E-03    12.784        .16513E-08** at limit **
   8  norm          4.3804        5.8060        .15292E-05    .14719E-04
   9  Prefactor     .10000E-03    .84061        .52547E-08** at limit **
  10  Prefactor     25.677        28.217        .24614E-06   -.11800E-05
  11  Prefactor     .10000E-03    8.5715        .17531E-07** at limit **
  12  Normalizat    1.0908        .22851        .45120E-06   -.15416E-05
  13  Prefactor     1.0530        .87192E-01   -.45208E-06    .18718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.4829
  norm       = 1.05816
  norm       = 8.05783
  norm       = 1.20389
  norm       = 0.289756
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.38041
  Prefactor  = 0.0001
  Prefactor  = 25.6766
  Prefactor  = 0.0001
  Normalizat = 1.09076
  Prefactor  = 1.05296
 **********
 **   18 **HESSE 
 **********

 FCN=   9647.408     FROM HESSE     STATUS=OK           149 CALLS     1270 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.483        65.268        .26679E-03   -1.4203    
   2  norm          1.0582        1.3973        .15625E-02   -1.5502    
   3  norm          8.0578        5.1020        .14124E-03   -1.5140    
   4  norm          1.2039        3.1904        .27693E-03   -1.5489    
   5  norm          .28976        .93282E-01    .16179E-04   -1.5600    
   6  Prefactor     .10000E-03    7.7049        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3804        5.8078        .96217E-03   -1.5289    
   9  Prefactor     .10000E-03    .84279        .87939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.677        28.227        .79054E-04   -1.4694    
  11  Prefactor     .10000E-03    8.5752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0908        .25594        .41840E-03   -.90049    
  13  Prefactor     1.0530        .98334E-01    .16320E-03   -.90984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68639e-09
Minuit parameter uncertainties:
  1  65.3507
  2  1.39739
  3  5.10231
  4  3.19086
  5  0.0932822
  6  3.1979e-07
  7  8.81324e-07
  8  5.80855
  9  1.64578e-07
  10  28.2419
  11  7.58097e-07
  12  0.256233
  13  0.098351
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  8.058e+00  5.102e+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.053e+00  9.835e-02  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:  1.091e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.98
Ra Dec: 227.707 -5.711
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 8.02e-08 +/- 5.07e-08
Energy Flux (Fixed Index): 2.69e-05 +/- 1.71e-05

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

Saving results to:
/scratch/kocevski/209433/likelihoodResults_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.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) = 9647.2665766
delta logL = 0.141858499774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9647.2606666
delta logL = 0.147768500252

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4659       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7154       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0574       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.

 FCN=   9647.261     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      264 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4675        64.548        .39458E-02    .41255E-03
   2  alpha         2.7158        3.8323        .35843        .74047E-04
   3  Normalizat    1.0692        .95380E-01    .95231E-01    .30972E-04
   4  Prefactor     1.0574        .31150E-01    .39494E-01   -.31272E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.46747
  alpha      = 2.71583
  Normalizat = 1.06923
  Prefactor  = 1.05739
 **********
 **   18 **HESSE 
 **********

 FCN=   9647.261     FROM HESSE     STATUS=OK            33 CALLS      297 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4675        5.7047        .14033E-03   -1.5199    
   2  alpha         2.7158        .63223        .12640E-01    .86440E-01
   3  Normalizat    1.0692        .25559        .42189E-03   -.90746    
   4  Prefactor     1.0574        .97513E-01    .16287E-03   -.90840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77176e-09
Minuit parameter uncertainties:
  1  5.70514
  2  0.639228
  3  0.255886
  4  0.0975296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209433': 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) = 9647.2606654
delta logL = 0.147769706149

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  6.467e+00  5.705e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.716e+00  6.392e-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.057e+00  9.753e-02  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:  1.069e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 227.707 -5.711
Photon Index (Free Index): 2.72 +/- 0.64
Photon Flux (Free Index): 1.01e-07 +/- 6.74e-08
Energy Flux (Free Index): 2.61e-05 +/- 1.58e-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/209433/cmap_HighResolution_244252801_244512001_4FGL_J1510.8-0542_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-05', comment='SUCCESS', photon_flux='8.02e-08', energy_flux2='2.61e-05', photon_flux_error='5.07e-08', dlogl='1.48e-01', energy_flux='2.69e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-11 09:08:15.075893', photon_index_error2='0.64', photon_index2='2.72', ts='3.98', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.83e-07', energy_flux_error2='1.58e-05', EG='1.09', time_epoch_completed='1631376495.08', return_code='0', job_id='209433', GAL2='1.06', EG2='1.07', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='6.74e-08', ts2='4.31', photon_index='2.40' WHERE bin_id='19' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:08:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 209433: <4FGL_J1510.8-0542_daily_bin19> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin19> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 11 08:56:21 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 08:56:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 08:56:22 2021
Terminated at Sat Sep 11 09:08:15 2021
Results reported at Sat Sep 11 09:08:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin19 227.707 -5.7106 244252801 244512001 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 :                                   558.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            714 sec.

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

