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


Performing analysis on: 4FGL_J1514.8-0949_daily_bin336
RA = 228.716, Dec = -9.817
tmin = 326419201, tmax = 326678401
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='376792', job_status='RUN', time_executed='2021-09-11 18:39:36.496589', time_epoch_executed='1631410776.5' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='336'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376792

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376792/ft1_4FGL_J1514.8-0949_daily_bin336.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376792/ft1_4FGL_J1514.8-0949_daily_bin336.fits outfile=/scratch/kocevski/376792/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin336.fits ra=228.716 dec=-9.817 rad=12.0 tmin=326419201.0 tmax=326678401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.37
user 3.17
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.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/376792/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin336.fits evtable="EVENTS" outfile="/scratch/kocevski/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits" evtable="EVENTS" scfile=/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits sctable="SC_DATA" outfile=/scratch/kocevski/376792/ltcube_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.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/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits
.....................!
real 11.95
user 11.57
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits evtable="EVENTS" scfile=/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits sctable="SC_DATA" expcube=/scratch/kocevski/376792/ltcube_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.fits outfile=/scratch/kocevski/376792/expmap_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.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/376792/ltcube_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.fits
.....................!
real 190.40
user 184.84
sys 5.19

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

Setting source of interest to:
4FGL J1514.8-0949 @ 228.716 -9.817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits scfile=/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits outfile=/scratch/kocevski/376792/cmap_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.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=228.716 yref=-9.817 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/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits scfile=/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits outfile=/scratch/kocevski/376792/cmap_HighResolution_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.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=228.716 yref=-9.817 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits evtable="EVENTS" scfile=/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/376792/Model_4FGL_J1514.8-0949_daily_bin336.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/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits....................!
real 77.41
user 75.87
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits', '/scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits', expMap='/scratch/kocevski/376792/expmap_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.fits', expCube='/scratch/kocevski/376792/ltcube_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/376792/Model_4FGL_J1514.8-0949_daily_bin336.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8-0949'

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  3.290e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.393e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/376792/ft1_filtered_4FGL_J1514.8-0949_daily_bin336.fits
Spacecraft file(s): /scratch/kocevski/376792/ft2_4FGL_J1514.8-0949_daily_bin336.fits
Exposure map: /scratch/kocevski/376792/expmap_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.fits
Exposure cube: /scratch/kocevski/376792/ltcube_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/376792/Model_4FGL_J1514.8-0949_daily_bin336.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) = 8541.93018203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15934E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .96282E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.590       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .69380       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5305       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0009       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.385       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .33472E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.3069       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98496       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8541.930     FROM MIGRAD    STATUS=CONVERGED    198 CALLS      923 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2052        .13811E-06** at limit **
   2  Prefactor     .10000E-03    52.591        .22942E-04** at limit **
   3  Prefactor     .10000E-03    70.893       -.77588E-04** at limit **
   4  norm          10.580        6.0828       -.77890E-06    .84097E-04
   5  norm          .10000E-03    1.4823        .14580E-07** at limit **
   6  norm          .69346        .18874        .39000E-06   -.45666E-02
   7  Prefactor     2.5704        18.010       -.20573E-04   -.14178E-03
   8  norm          2.9985        4.9241        .34889E-05   -.28536E-03
   9  Prefactor     38.460        56.803        .10963E-03   -.65715E-05
  10  Prefactor     .10000E-03    11.280       -.40501E-06** at limit **
  11  Normalizat    1.3069        .27813       -.44658E-06    .77502E-04
  12  Prefactor     .98495        .92186E-01   -.34975E-05    .12270E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 10.5803
  norm       = 0.0001
  norm       = 0.693462
  Prefactor  = 2.57041
  norm       = 2.99853
  Prefactor  = 38.46
  Prefactor  = 0.0001
  Normalizat = 1.30689
  Prefactor  = 0.984952
 **********
 **   18 **HESSE 
 **********

 FCN=   8541.930     FROM HESSE     STATUS=OK           125 CALLS     1048 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2299        .16157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    52.708        .20423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    71.271        .20787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.580        6.0874        .12312E-03   -1.5057    
   5  norm          .10000E-03    1.4832        .10989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .69346        .19361        .15077E-04   -1.5541    
   7  Prefactor     2.5704        18.939        .25677E-03   -1.5387    
   8  norm          2.9985        4.9061        .23432E-03   -1.5362    
   9  Prefactor     38.460        56.760        .64692E-04   -1.4467    
  10  Prefactor     .10000E-03    11.284        .21343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.3069        .32491        .44326E-03   -.83361    
  12  Prefactor     .98495        .10821        .16749E-03   -.93233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78248e-09
Minuit parameter uncertainties:
  1  2.78472e-05
  2  0.000239001
  3  0.000948184
  4  6.08777
  5  2.09382e-06
  6  0.19361
  7  13.9602
  8  4.90676
  9  56.8395
  10  9.4317e-05
  11  0.325417
  12  0.108232
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  2.570e+00  1.396e+01  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.393e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.850e-01  1.082e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.307e+00  3.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 228.716 -9.817
Photon Flux Upper Limit: 2.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.71e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/376792/likelihoodResults_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.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) = 8541.87941008
delta logL = 0.050680723336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8541.86686483
delta logL = 0.0632259737558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4648       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9784       1.0000          .0000       10.000    
     3 'Normalizat'    1.2831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98903       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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=   8541.867     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      293 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4645        349.47        .24100E-03   -.28313E-03
   2  Index         2.9782        6.0240        .11672E-01   -.32144E-04
   3  Normalizat    1.2834        .29397        .44643E-03   -.66619E-04
   4  Prefactor     .98891        .96626E-01    .16714E-03   -.10864E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46452
  Index      = 2.97817
  Normalizat = 1.28339
  Prefactor  = 0.988908
 **********
 **   18 **HESSE 
 **********

 FCN=   8541.867     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4645        8.7159        .96401E-05   -1.5466    
   2  Index         2.9782        1.9041        .46686E-03   -.41629    
   3  Normalizat    1.2834        .33131        .17857E-04   -.84064    
   4  Prefactor     .98891        .10846        .33427E-04   -.93100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8328e-10
Minuit parameter uncertainties:
  1  7.14682
  2  1.96388
  3  0.331863
  4  0.108486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376792': 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) = 8541.8668642
delta logL = 0.063226601369

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  1.465e+00  7.147e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.978e+00  1.964e+00  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  1.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.889e-01  1.085e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.283e+00  3.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 228.716 -9.817

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/376792/cmap_HighResolution_326419201_326678401_4FGL_J1514.8-0949_daily_bin336.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-02', job_status='DONE', photon_flux_upper_limit='2.21e-07', time_completed='2021-09-11 18:48:18.858060', job_id='376792', GAL2='0.99', fit_tolerance='1e-08', EG2='1.28', EG='1.31', time_epoch_completed='1631411298.86', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='6.32e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='336' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:48:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 376792: <4FGL_J1514.8-0949_daily_bin336> in cluster <slac> Done

Job <4FGL_J1514.8-0949_daily_bin336> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 11 18:36:21 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:36:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 18:36:23 2021
Terminated at Sat Sep 11 18:48:19 2021
Results reported at Sat Sep 11 18:48:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin336 228.716 -9.817 326419201 326678401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8-0949 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   518.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            718 sec.

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

