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


Performing analysis on: 4FGL_J1510.8-0542_daily_bin40
RA = 227.707, Dec = -5.7106
tmin = 249696001, tmax = 249955201
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='209465', job_status='RUN', time_executed='2021-09-11 09:00:18.361663', time_epoch_executed='1631376018.36' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='40'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209465

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209465/ft1_4FGL_J1510.8-0542_daily_bin40.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209465/ft2_4FGL_J1510.8-0542_daily_bin40.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209465/ft1_4FGL_J1510.8-0542_daily_bin40.fits outfile=/scratch/kocevski/209465/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin40.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=249696001.0 tmax=249955201.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.46
user 1.29
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/209465/ft2_4FGL_J1510.8-0542_daily_bin40.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/209465/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin40.fits evtable="EVENTS" outfile="/scratch/kocevski/209465/ft1_filtered_4FGL_J1510.8-0542_daily_bin40.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209465/ft1_filtered_4FGL_J1510.8-0542_daily_bin40.fits" evtable="EVENTS" scfile=/scratch/kocevski/209465/ft2_4FGL_J1510.8-0542_daily_bin40.fits sctable="SC_DATA" outfile=/scratch/kocevski/209465/ltcube_249696001_249955201_4FGL_J1510.8-0542_daily_bin40.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/209465/ft2_4FGL_J1510.8-0542_daily_bin40.fits
.....................!
real 12.81
user 12.47
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209465/ft1_filtered_4FGL_J1510.8-0542_daily_bin40.fits evtable="EVENTS" scfile=/scratch/kocevski/209465/ft2_4FGL_J1510.8-0542_daily_bin40.fits sctable="SC_DATA" expcube=/scratch/kocevski/209465/ltcube_249696001_249955201_4FGL_J1510.8-0542_daily_bin40.fits outfile=/scratch/kocevski/209465/expmap_249696001_249955201_4FGL_J1510.8-0542_daily_bin40.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/209465/ltcube_249696001_249955201_4FGL_J1510.8-0542_daily_bin40.fits
.....................!
real 190.43
user 185.28
sys 4.77

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/209465/ft1_filtered_4FGL_J1510.8-0542_daily_bin40.fits scfile=/scratch/kocevski/209465/ft2_4FGL_J1510.8-0542_daily_bin40.fits outfile=/scratch/kocevski/209465/cmap_249696001_249955201_4FGL_J1510.8-0542_daily_bin40.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209465/ft1_filtered_4FGL_J1510.8-0542_daily_bin40.fits scfile=/scratch/kocevski/209465/ft2_4FGL_J1510.8-0542_daily_bin40.fits outfile=/scratch/kocevski/209465/cmap_HighResolution_249696001_249955201_4FGL_J1510.8-0542_daily_bin40.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/209465/ft1_filtered_4FGL_J1510.8-0542_daily_bin40.fits evtable="EVENTS" scfile=/scratch/kocevski/209465/ft2_4FGL_J1510.8-0542_daily_bin40.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209465/Model_4FGL_J1510.8-0542_daily_bin40.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/209465/ft1_filtered_4FGL_J1510.8-0542_daily_bin40.fits.....................!
real 102.04
user 99.85
sys 1.91

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.8809       1.0000         .10000E-03   10000.    
     3 'norm      '    8.0722       1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .29208       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2894       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9529       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.878       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3673       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96987       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=   12789.62     FROM MIGRAD    STATUS=CONVERGED    256 CALLS     1112 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.628       -.29023E-08** at limit **
   2  norm          1.8804        1.9767       -.51976E-08   -.62532E-04
   3  norm          8.0719        4.2311       -.26466E-08    .57409E-04
   4  norm          .10000E-03    1.3010        .27380E-09** at limit **
   5  norm          .29211        .82063E-01    .36993E-08   -.47324E-02
   6  Prefactor     6.2870        1.0263       -.10482E-06   -.26628E-03
   7  Prefactor     7.8722        29.118       -.15685E-07    .34963E-04
   8  norm          .10000E-03    5.5218       -.47917E-08** at limit **
   9  Prefactor     .10000E-03    1.4058        .45357E-09** at limit **
  10  Prefactor     .10000E-03    12.449       -.35397E-08** at limit **
  11  Prefactor     24.878        19.516       -.74962E-08    .24553E-03
  12  Normalizat    1.3673        .19667        .27063E-07   -.24454E-03
  13  Prefactor     .96985        .72053E-01   -.15166E-08   -.78994E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.88044
  norm       = 8.07193
  norm       = 0.0001
  norm       = 0.292114
  Prefactor  = 6.287
  Prefactor  = 7.87216
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.8781
  Normalizat = 1.36731
  Prefactor  = 0.969853
 **********
 **   18 **HESSE 
 **********

 FCN=   12789.62     FROM HESSE     STATUS=OK           143 CALLS     1255 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8804        1.9816        .15418E-03   -1.5434    
   3  norm          8.0719        4.2301        .14112E-03   -1.5140    
   4  norm          .10000E-03    1.3437        .25185E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .29211        .98992E-01    .16108E-04   -1.5600    
   6  Prefactor     6.2870        7.1975        .80030E-03   -1.5206    
   7  Prefactor     7.8722        29.116        .14218E-03   -1.5147    
   8  norm          .10000E-03    5.6490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.4221        .13089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.878        19.529        .80312E-04   -1.4710    
  12  Normalizat    1.3673        .22702        .38523E-03   -.81579    
  13  Prefactor     .96985        .83391E-01    .16844E-03   -.93741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93209e-10
Minuit parameter uncertainties:
  1  9.03416e-05
  2  1.98166
  3  4.23029
  4  2.17622e-06
  5  0.0989921
  6  7.19844
  7  29.1685
  8  6.81047e-05
  9  5.71147e-06
  10  6.80135e-05
  11  19.5338
  12  0.227184
  13  0.0834019
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  8.072e+00  4.230e+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:  9.699e-01  8.340e-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.367e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 227.707 -5.711
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 8.03e-08 +/- 4.21e-08
Energy Flux (Fixed Index): 2.70e-05 +/- 1.41e-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) = 12789.2498263
delta logL = 0.36547662902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12789.2455234
delta logL = 0.369779499451

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8252       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8282       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97559       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=   12789.25     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      276 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8249        4.7434        .12640E-03    .13001E-02
   2  alpha         2.8283        .56803        .12314E-01    .14325E-03
   3  Normalizat    1.3393        .22245        .38841E-03    .10964E-03
   4  Prefactor     .97554        .83055E-01    .16797E-03   -.49396E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.82489
  alpha      = 2.8283
  Normalizat = 1.33926
  Prefactor  = 0.975541
 **********
 **   18 **HESSE 
 **********

 FCN=   12789.25     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8249        4.3194        .50559E-05   -1.5225    
   2  alpha         2.8283        .51753        .49257E-03    .13170    
   3  Normalizat    1.3393        .22228        .15536E-04   -.82402    
   4  Prefactor     .97554        .83016E-01    .33595E-04   -.93549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.44687e-10
Minuit parameter uncertainties:
  1  4.3196
  2  0.521362
  3  0.222436
  4  0.0830273
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209465': 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) = 12789.2455232
delta logL = 0.369779741295

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  5.825e+00  4.320e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.828e+00  5.214e-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:  9.755e-01  8.303e-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.339e+00  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.42
Ra Dec: 227.707 -5.711
Photon Index (Free Index): 2.83 +/- 0.52
Photon Flux (Free Index): 1.08e-07 +/- 5.91e-08
Energy Flux (Free Index): 2.59e-05 +/- 1.27e-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/209465/cmap_HighResolution_249696001_249955201_4FGL_J1510.8-0542_daily_bin40.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.03e-08', energy_flux2='2.59e-05', photon_flux_error='4.21e-08', dlogl='3.70e-01', energy_flux='2.70e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-11 09:10:12.310670', photon_index_error2='0.52', photon_index2='2.83', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='1.37', time_epoch_completed='1631376612.31', return_code='0', job_id='209465', GAL2='0.98', EG2='1.34', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='5.91e-08', ts2='6.42', photon_index='2.40' WHERE bin_id='40' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:10:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 209465: <4FGL_J1510.8-0542_daily_bin40> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin40> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 11 08:56:23 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 08:56:25 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:25 2021
Terminated at Sat Sep 11 09:10:13 2021
Results reported at Sat Sep 11 09:10:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin40 227.707 -5.7106 249696001 249955201 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 :                                   592.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            830 sec.

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

