/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 140 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 = 7366
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1514.8-0949_daily_bin1530
RA = 228.716, Dec = -9.817
tmin = 635904001, tmax = 636163201
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='383002', job_status='RUN', time_executed='2021-09-11 18:58:34.196934', time_epoch_executed='1631411914.2' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='1530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/383002

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/383002/ft1_4FGL_J1514.8-0949_daily_bin1530.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/383002/ft1_4FGL_J1514.8-0949_daily_bin1530.fits outfile=/scratch/kocevski/383002/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1530.fits ra=228.716 dec=-9.817 rad=12.0 tmin=635904001.0 tmax=636163201.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 4.20
user 3.96
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits" evtable="EVENTS" scfile=/scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits sctable="SC_DATA" outfile=/scratch/kocevski/383002/ltcube_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.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/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits
.....................!
real 11.88
user 11.49
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits sctable="SC_DATA" expcube=/scratch/kocevski/383002/ltcube_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.fits outfile=/scratch/kocevski/383002/expmap_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.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/383002/ltcube_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.fits
.....................!
real 193.24
user 187.38
sys 5.42

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/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits scfile=/scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits outfile=/scratch/kocevski/383002/cmap_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits scfile=/scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits outfile=/scratch/kocevski/383002/cmap_HighResolution_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.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.56
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/383002/Model_4FGL_J1514.8-0949_daily_bin1530.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/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits.....................!
real 101.24
user 99.47
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits', '/scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits', expMap='/scratch/kocevski/383002/expmap_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.fits', expCube='/scratch/kocevski/383002/ltcube_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/383002/Model_4FGL_J1514.8-0949_daily_bin1530.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/383002/ft1_filtered_4FGL_J1514.8-0949_daily_bin1530.fits
Spacecraft file(s): /scratch/kocevski/383002/ft2_4FGL_J1514.8-0949_daily_bin1530.fits
Exposure map: /scratch/kocevski/383002/expmap_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.fits
Exposure cube: /scratch/kocevski/383002/ltcube_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/383002/Model_4FGL_J1514.8-0949_daily_bin1530.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) = 12717.7290598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5438       1.0000         .10000E-03   10000.    
     5 'norm      '    10.392       1.0000         .10000E-03   10000.    
     6 'norm      '    .25948       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.134       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1447       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .94310       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.

 FCN=   12717.67     FROM MIGRAD    STATUS=CONVERGED    207 CALLS      817 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2432        .90712E-02** at limit **
   2  Prefactor     .10000E-03    14.822        .90712E-02** at limit **
   3  Prefactor     .10000E-03    12.184        .90712E-02** at limit **
   4  norm          3.5438        3.0870        .53680E-02    .65360E-04
   5  norm          10.392        6.2227        .31072E-02    .81100E-04
   6  norm          .25949        .10432        .41296E-02    .31413E-02
   7  Prefactor     30.134        8.6885        .18247E-02    .12886E-03
   8  norm          .10000E-03    1.6753        .90712E-02** at limit **
   9  Prefactor     .10000E-03    7.9181        .90712E-02** at limit **
  10  Prefactor     .10000E-03    6.9571        .90712E-02** at limit **
  11  Normalizat    1.1447        .20121        .93714E-01    .70547E-04
  12  Prefactor     .94310        .68161E-01    .45552E-01    .56368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.54378
  norm       = 10.3924
  norm       = 0.259491
  Prefactor  = 30.1337
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14472
  Prefactor  = 0.943097
 **********
 **   18 **HESSE 
 **********

 FCN=   12717.67     FROM HESSE     STATUS=OK           127 CALLS      944 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3340        .32982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.5438        3.0873        .17795E-03   -1.5331    
   5  norm          10.392        6.2232        .12429E-03   -1.5063    
   6  norm          .25949        .10451        .18418E-04   -1.5606    
   7  Prefactor     30.134        8.8337        .72987E-04   -1.4610    
   8  norm          .10000E-03    1.6817        .14253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.9199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.9616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1447        .23478        .41513E-03   -.88329    
  12  Prefactor     .94310        .79937E-01    .15565E-03   -.94651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61875e-12
Minuit parameter uncertainties:
  1  4.30527e-06
  2  1.84421e-05
  3  1.44342e-05
  4  3.08744
  5  6.22359
  6  0.104506
  7  8.83404
  8  2.32397e-06
  9  2.02269e-06
  10  3.7156e-06
  11  0.234998
  12  0.0799466
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  3.013e+01  8.834e+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

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.431e-01  7.995e-02  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.145e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.67
Ra Dec: 228.716 -9.817
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 2.68e-07 +/- 7.84e-08
Energy Flux (Fixed Index): 8.85e-05 +/- 2.60e-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) = 12716.1120141
delta logL = 1.55495530879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12716.1111087
delta logL = 1.5558606286

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.421       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0137       1.0000          .0000       10.000    
     3 'Normalizat'    1.2151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92865       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=   12716.11     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      282 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.421        17.335        .55928E-04    .28458E-05
   2  Index         2.0136        .20998        .37303E-02    .10835E-02
   3  Normalizat    1.2151        .23491        .40519E-03   -.51177E-04
   4  Prefactor     .92865        .80043E-01    .15677E-03    .50038E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.421
  Index      = 2.01365
  Normalizat = 1.2151
  Prefactor  = 0.928648
 **********
 **   18 **HESSE 
 **********

 FCN=   12716.11     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.421        16.922        .22371E-05   -1.4273    
   2  Index         2.0136        .20484        .74605E-03   -.64009    
   3  Normalizat    1.2151        .23488        .16208E-04   -.86137    
   4  Prefactor     .92865        .80073E-01    .62707E-05   -.95147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42917e-11
Minuit parameter uncertainties:
  1  16.9239
  2  0.204925
  3  0.235089
  4  0.0800833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/383002': 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) = 12716.1111087
delta logL = 1.55586062993

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  5.142e+01  1.692e+01  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.014e+00  2.049e-01  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.286e-01  8.008e-02  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.215e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.80
Ra Dec: 228.716 -9.817
Photon Index (Free Index): 2.01 +/- 0.20
Photon Flux (Free Index): 2.03e-07 +/- 6.55e-08
Energy Flux (Free Index): 1.36e-04 +/- 5.29e-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/383002/cmap_HighResolution_635904001_636163201_4FGL_J1514.8-0949_daily_bin1530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.68e-07', energy_flux2='1.36e-04', photon_flux_error='7.84e-08', dlogl='1.56e+00', energy_flux='8.85e-05', photon_flux2='2.03e-07', job_status='DONE', time_completed='2021-09-11 19:08:09.451931', photon_index_error2='0.20', photon_index2='2.01', ts='38.67', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='5.29e-05', EG='1.14', time_epoch_completed='1631412489.45', return_code='0', job_id='383002', GAL2='0.93', EG2='1.22', return_code2='0', energy_flux_error='2.60e-05', photon_flux_error2='6.55e-08', ts2='42.80', photon_index='2.39' WHERE bin_id='1530' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 19:08:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 383002: <4FGL_J1514.8-0949_daily_bin1530> in cluster <slac> Done

Job <4FGL_J1514.8-0949_daily_bin1530> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 11 18:56:02 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:56:05 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:56:05 2021
Terminated at Sat Sep 11 19:08:10 2021
Results reported at Sat Sep 11 19:08:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin1530 228.716 -9.817 635904001 636163201 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 :                                   569.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            728 sec.

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

