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


Performing analysis on: 4FGL_J1510.8-0542_daily_bin17
RA = 227.707, Dec = -5.7106
tmin = 243734401, tmax = 243993601
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='209428', job_status='RUN', time_executed='2021-09-11 08:59:44.652593', time_epoch_executed='1631375984.65' WHERE source_name='4FGL J1510.8-0542' and cadence='daily' and bin_id='17'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209428

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209428/ft1_4FGL_J1510.8-0542_daily_bin17.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209428/ft2_4FGL_J1510.8-0542_daily_bin17.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209428/ft1_4FGL_J1510.8-0542_daily_bin17.fits outfile=/scratch/kocevski/209428/ft1_filteredMKT_4FGL_J1510.8-0542_daily_bin17.fits ra=227.707 dec=-5.7106 rad=12.0 tmin=243734401.0 tmax=243993601.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.39
user 1.19
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209428/ft1_filtered_4FGL_J1510.8-0542_daily_bin17.fits" evtable="EVENTS" scfile=/scratch/kocevski/209428/ft2_4FGL_J1510.8-0542_daily_bin17.fits sctable="SC_DATA" outfile=/scratch/kocevski/209428/ltcube_243734401_243993601_4FGL_J1510.8-0542_daily_bin17.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/209428/ft2_4FGL_J1510.8-0542_daily_bin17.fits
.....................!
real 12.62
user 12.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209428/ft1_filtered_4FGL_J1510.8-0542_daily_bin17.fits evtable="EVENTS" scfile=/scratch/kocevski/209428/ft2_4FGL_J1510.8-0542_daily_bin17.fits sctable="SC_DATA" expcube=/scratch/kocevski/209428/ltcube_243734401_243993601_4FGL_J1510.8-0542_daily_bin17.fits outfile=/scratch/kocevski/209428/expmap_243734401_243993601_4FGL_J1510.8-0542_daily_bin17.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/209428/ltcube_243734401_243993601_4FGL_J1510.8-0542_daily_bin17.fits
.....................!
real 190.69
user 184.50
sys 5.79

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/209428/ft1_filtered_4FGL_J1510.8-0542_daily_bin17.fits scfile=/scratch/kocevski/209428/ft2_4FGL_J1510.8-0542_daily_bin17.fits outfile=/scratch/kocevski/209428/cmap_243734401_243993601_4FGL_J1510.8-0542_daily_bin17.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209428/ft1_filtered_4FGL_J1510.8-0542_daily_bin17.fits scfile=/scratch/kocevski/209428/ft2_4FGL_J1510.8-0542_daily_bin17.fits outfile=/scratch/kocevski/209428/cmap_HighResolution_243734401_243993601_4FGL_J1510.8-0542_daily_bin17.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/209428/ft1_filtered_4FGL_J1510.8-0542_daily_bin17.fits evtable="EVENTS" scfile=/scratch/kocevski/209428/ft2_4FGL_J1510.8-0542_daily_bin17.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209428/Model_4FGL_J1510.8-0542_daily_bin17.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/209428/ft1_filtered_4FGL_J1510.8-0542_daily_bin17.fits.....................!
real 92.08
user 90.69
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.1859       1.0000         .10000E-03   10000.    
     3 'norm      '    7.3120       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5649       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3363       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.553       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0707       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3423       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .99371       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=   11519.28     FROM MIGRAD    STATUS=CONVERGED    228 CALLS      951 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.616        .90712E-02** at limit **
   2  norm          2.1860        2.0193        .69600E-02    .84700E-03
   3  norm          7.3120        4.8234        .37082E-02    .10569E-02
   4  norm          .10000E-03    .85459        .90712E-02** at limit **
   5  norm          1.5649        .15701        .28515E-02    .42252E-03
   6  Prefactor     .10000E-03    8.8952        .90712E-02** at limit **
   7  Prefactor     .10000E-03    35.369        .90712E-02** at limit **
   8  norm          .10000E-03    2.5321        .90712E-02** at limit **
   9  Prefactor     3.3365        3.9150        .55399E-02    .93955E-03
  10  Prefactor     18.553        27.837        .23246E-02    .48475E-04
  11  Prefactor     4.0705        109.23        .49959E-02    .10987E-03
  12  Normalizat    1.3423        .23543        .96580E-01    .31807E-04
  13  Prefactor     .99371        .86641E-01    .46188E-01    .10840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.18605
  norm       = 7.31203
  norm       = 0.0001
  norm       = 1.56495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.33646
  Prefactor  = 18.5533
  Prefactor  = 4.07051
  Normalizat = 1.3423
  Prefactor  = 0.99371
 **********
 **   18 **HESSE 
 **********

 FCN=   11519.28     FROM HESSE     STATUS=OK           145 CALLS     1096 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1860        2.0177        .13969E-03   -1.5412    
   3  norm          7.3120        4.8230        .14833E-03   -1.5167    
   4  norm          .10000E-03    .85589        .96885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5649        .15688        .12603E-04   -1.5458    
   6  Prefactor     .10000E-03    9.1391        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    35.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.5497        .16677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3365        3.9072        .22103E-03   -1.5343    
  10  Prefactor     18.553        27.849        .92985E-04   -1.4846    
  11  Prefactor     4.0705        109.74        .19983E-03   -1.5304    
  12  Normalizat    1.3423        .27417        .42785E-03   -.82312    
  13  Prefactor     .99371        .10148        .18189E-03   -.92939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66656e-10
Minuit parameter uncertainties:
  1  9.34304e-06
  2  2.01778
  3  4.82327
  4  8.99855e-08
  5  0.156881
  6  2.19402e-06
  7  8.05967e-06
  8  6.68648e-07
  9  3.90754
  10  27.8682
  11  42.3559
  12  0.274469
  13  0.101499
Done.

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

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  7.312e+00  4.823e+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.937e-01  1.015e-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:  1.342e+00  2.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.55
Ra Dec: 227.707 -5.711
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 7.28e-08 +/- 4.80e-08
Energy Flux (Fixed Index): 2.45e-05 +/- 1.61e-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) = 11519.2787838
delta logL = 0.00147433960592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11519.2786024
delta logL = 0.00165570499667

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3123       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3472       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99316       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=   11519.28     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      198 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3147        101.14        .37082E-02    .20105E-03
   2  alpha         2.3478        3.2896        .41249        .46919E-04
   3  Normalizat    1.3462        .13267        .96477E-01    .29771E-04
   4  Prefactor     .99314        .33680E-01    .46182E-01    .11866E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.31473
  alpha      = 2.34784
  Normalizat = 1.34622
  Prefactor  = 0.993143
 **********
 **   18 **HESSE 
 **********

 FCN=   11519.28     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3147        4.8919        .14833E-03   -1.5167    
   2  alpha         2.3478        .94409        .21364E-01   -.60900E-01
   3  Normalizat    1.3462        .27404        .42739E-03   -.82197    
   4  Prefactor     .99314        .99688E-01    .18196E-03   -.92958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07023e-11
Minuit parameter uncertainties:
  1  4.89214
  2  0.968206
  3  0.274341
  4  0.0997064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209428': 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) = 11519.2786019
delta logL = 0.00165617469247

Extracting fit parameters...

4FGL J1510.8-0542
   Spectrum: LogParabola
233         norm:  7.315e+00  4.892e+00  1.000e-04  1.000e+04 ( 1.000e-12)
234        alpha:  2.348e+00  9.682e-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.931e-01  9.971e-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.346e+00  2.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.59
Ra Dec: 227.707 -5.711
Photon Index (Free Index): 2.35 +/- 0.97
Photon Flux (Free Index): 6.76e-08 +/- 9.79e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.71e-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/209428/cmap_HighResolution_243734401_243993601_4FGL_J1510.8-0542_daily_bin17.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.28e-08', energy_flux2='2.41e-05', photon_flux_error='4.80e-08', dlogl='1.66e-03', energy_flux='2.45e-05', photon_flux2='6.76e-08', job_status='DONE', time_completed='2021-09-11 09:08:49.765576', photon_index_error2='0.97', photon_index2='2.35', ts='4.55', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='1.34', time_epoch_completed='1631376529.77', return_code='0', job_id='209428', GAL2='0.99', EG2='1.35', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='9.79e-08', ts2='4.59', photon_index='2.40' WHERE bin_id='17' AND source_name='4FGL J1510.8-0542' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:08:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 209428: <4FGL_J1510.8-0542_daily_bin17> in cluster <slac> Done

Job <4FGL_J1510.8-0542_daily_bin17> 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) <bullet0274>, 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:50 2021
Results reported at Sat Sep 11 09:08:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8-0542_daily_bin17 227.707 -5.7106 243734401 243993601 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 :                                   543.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             232.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            749 sec.

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

