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


Performing analysis on: 4FGL_J1510.8-0542_daily_bin57
RA = 227.707, Dec = -5.7106
tmin = 254102401, tmax = 254361601
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='210826', job_status='RUN', time_executed='2021-09-11 09:04:47.319363', time_epoch_executed='1631376287.32' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='57'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210826

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210826/ft1_4FGL_J1510.8-0542_daily_bin57.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210826/ft2_4FGL_J1510.8-0542_daily_bin57.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210826/ft1_4FGL_J1510.8-0542_daily_bin57.fits outfile=/scratch/kocevski/210826/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin57.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=254102401.0 tmax=254361601.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.03
user 1.81
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210826/ft1_filtered_4FGL_J1510.8-0542_daily_bin57.fits" evtable="EVENTS" scfile=/scratch/kocevski/210826/ft2_4FGL_J1510.8-0542_daily_bin57.fits sctable="SC_DATA" outfile=/scratch/kocevski/210826/ltcube_254102401_254361601_4FGL_J1510.8-0542_daily_bin57.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/210826/ft2_4FGL_J1510.8-0542_daily_bin57.fits
.....................!
real 12.57
user 12.22
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210826/ft1_filtered_4FGL_J1510.8-0542_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/210826/ft2_4FGL_J1510.8-0542_daily_bin57.fits sctable="SC_DATA" expcube=/scratch/kocevski/210826/ltcube_254102401_254361601_4FGL_J1510.8-0542_daily_bin57.fits outfile=/scratch/kocevski/210826/expmap_254102401_254361601_4FGL_J1510.8-0542_daily_bin57.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/210826/ltcube_254102401_254361601_4FGL_J1510.8-0542_daily_bin57.fits
.....................!
real 190.54
user 185.00
sys 5.18

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/210826/ft1_filtered_4FGL_J1510.8-0542_daily_bin57.fits scfile=/scratch/kocevski/210826/ft2_4FGL_J1510.8-0542_daily_bin57.fits outfile=/scratch/kocevski/210826/cmap_254102401_254361601_4FGL_J1510.8-0542_daily_bin57.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210826/ft1_filtered_4FGL_J1510.8-0542_daily_bin57.fits scfile=/scratch/kocevski/210826/ft2_4FGL_J1510.8-0542_daily_bin57.fits outfile=/scratch/kocevski/210826/cmap_HighResolution_254102401_254361601_4FGL_J1510.8-0542_daily_bin57.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/210826/ft1_filtered_4FGL_J1510.8-0542_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/210826/ft2_4FGL_J1510.8-0542_daily_bin57.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210826/Model_4FGL_J1510.8-0542_daily_bin57.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/210826/ft1_filtered_4FGL_J1510.8-0542_daily_bin57.fits.....................!
real 102.54
user 101.11
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.8903       1.0000         .10000E-03   10000.    
     3 'norm      '    16.104       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1853       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6065       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.438       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.157       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3805       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .87573       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=   13114.77     FROM MIGRAD    STATUS=CONVERGED    254 CALLS      998 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.326         .0000    ** at limit **
   2  norm          2.8904        1.9263         .0000        .13264E-01
   3  norm          16.104        5.1200         .0000        .15423E-02
   4  norm          .10000E-03    2.8786         .0000    ** at limit **
   5  norm          1.1853        .17594         .0000        .59206E-02
   6  Prefactor     8.6070        12.497         .0000        .29493E-03
   7  Prefactor     .10000E-03    103.65         .0000    ** at limit **
   8  norm          14.438        5.9404         .0000        .11332E-02
   9  Prefactor     .10000E-03    1.8141         .0000    ** at limit **
  10  Prefactor     .10000E-03    46.771         .0000    ** at limit **
  11  Prefactor     18.156        18.337         .0000       -.59508E-05
  12  Normalizat    1.3804        .20658         .0000       -.37215E-03
  13  Prefactor     .87574        .74243E-01     .0000       -.17524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 2.89038
  norm       = 16.1037
  norm       = 0.0001
  norm       = 1.18533
  Prefactor  = 8.60704
  Prefactor  = 0.0001
  norm       = 14.4379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1565
  Normalizat = 1.38042
  Prefactor  = 0.875744
 **********
 **   18 **HESSE 
 **********

 FCN=   13114.77     FROM HESSE     STATUS=OK           143 CALLS     1141 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8904        1.9254        .62169E-03   -1.5368    
   3  norm          16.104        5.1246        .49903E-03   -1.4905    
   4  norm          .10000E-03    2.9906        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1853        .18975        .12964E-04   -1.5490    
   6  Prefactor     8.6070        13.442        .13664E-03   -1.5121    
   7  Prefactor     .10000E-03    106.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.438        5.9431        .52705E-03   -1.4948    
   9  Prefactor     .10000E-03    4.3862        .29633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    47.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.156        18.351        .93994E-04   -1.4855    
  12  Normalizat    1.3804        .23691        .40274E-03   -.81197    
  13  Prefactor     .87574        .86070E-01    .18037E-03   -.96994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51518e-10
Minuit parameter uncertainties:
  1  0.000358233
  2  1.92546
  3  5.12472
  4  6.00955e-06
  5  0.189751
  6  13.4463
  7  0.000202913
  8  5.94334
  9  2.3875e-05
  10  0.000250451
  11  18.3566
  12  0.237098
  13  0.0860836
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  1.610e+01  5.125e+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:  8.757e-01  8.608e-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.380e+00  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.51
Ra Dec: 227.707 -5.711
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.60e-07 +/- 5.10e-08
Energy Flux (Fixed Index): 5.39e-05 +/- 1.71e-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) = 13114.756899
delta logL = 0.0098667106904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13114.7513748
delta logL = 0.0153908749344

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.501       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4604       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87707       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=   13114.75     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      248 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.501        6.2112        .10173E-03    .21301E-03
   2  alpha         2.4604        .34364        .10379E-01    .52068E-04
   3  Normalizat    1.3741        .23498        .40343E-03    .36634E-04
   4  Prefactor     .87706        .85661E-01    .18024E-03   -.25230E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.5013
  alpha      = 2.46038
  Normalizat = 1.37414
  Prefactor  = 0.877063
 **********
 **   18 **HESSE 
 **********

 FCN=   13114.75     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.501        6.0353        .40691E-05   -1.4920    
   2  alpha         2.4604        .33373        .41516E-03   -.15849E-01
   3  Normalizat    1.3741        .23498        .16137E-04   -.81380    
   4  Prefactor     .87706        .85689E-01    .72096E-05   -.96947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79139e-11
Minuit parameter uncertainties:
  1  6.03552
  2  0.334725
  3  0.235164
  4  0.0857026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210826': 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) = 13114.7513748
delta logL = 0.0153908788816

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  1.550e+01  6.036e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.460e+00  3.347e-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:  8.771e-01  8.570e-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.374e+00  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.69
Ra Dec: 227.707 -5.711
Photon Index (Free Index): 2.46 +/- 0.33
Photon Flux (Free Index): 1.67e-07 +/- 6.57e-08
Energy Flux (Free Index): 5.31e-05 +/- 1.72e-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/210826/cmap_HighResolution_254102401_254361601_4FGL_J1510.8-0542_daily_bin57.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.60e-07', energy_flux2='5.31e-05', photon_flux_error='5.10e-08', dlogl='1.54e-02', energy_flux='5.39e-05', photon_flux2='1.67e-07', job_status='DONE', time_completed='2021-09-11 09:14:36.026672', photon_index_error2='0.33', photon_index2='2.46', ts='23.51', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.38', time_epoch_completed='1631376876.03', return_code='0', job_id='210826', GAL2='0.88', EG2='1.37', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='6.57e-08', ts2='23.69', photon_index='2.40' WHERE bin_id='57' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:14:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 210826: <4FGL_J1510.8-0542_daily_bin57> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin57> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 11 09:01:12 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:01:13 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:01:13 2021
Terminated at Sat Sep 11 09:14:36 2021
Results reported at Sat Sep 11 09:14:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin57 227.707 -5.7106 254102401 254361601 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 :                                   588.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            804 sec.

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

