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


Performing analysis on: 4FGL_J1514.8-0949_daily_bin1353
RA = 228.716, Dec = -9.817
tmin = 590025601, tmax = 590284801
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='381787', job_status='RUN', time_executed='2021-09-11 18:55:07.169694', time_epoch_executed='1631411707.17' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='1353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381787

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381787/ft1_4FGL_J1514.8-0949_daily_bin1353.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381787/ft2_4FGL_J1514.8-0949_daily_bin1353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381787/ft1_4FGL_J1514.8-0949_daily_bin1353.fits outfile=/scratch/kocevski/381787/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1353.fits ra=228.716 dec=-9.817 rad=12.0 tmin=590025601.0 tmax=590284801.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.95
user 3.71
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/381787/ft1_filtered_4FGL_J1514.8-0949_daily_bin1353.fits" evtable="EVENTS" scfile=/scratch/kocevski/381787/ft2_4FGL_J1514.8-0949_daily_bin1353.fits sctable="SC_DATA" outfile=/scratch/kocevski/381787/ltcube_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.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/381787/ft2_4FGL_J1514.8-0949_daily_bin1353.fits
.....................!
real 11.85
user 11.55
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381787/ft1_filtered_4FGL_J1514.8-0949_daily_bin1353.fits evtable="EVENTS" scfile=/scratch/kocevski/381787/ft2_4FGL_J1514.8-0949_daily_bin1353.fits sctable="SC_DATA" expcube=/scratch/kocevski/381787/ltcube_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.fits outfile=/scratch/kocevski/381787/expmap_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.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/381787/ltcube_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.fits
.....................!
real 190.66
user 185.62
sys 4.74

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/381787/ft1_filtered_4FGL_J1514.8-0949_daily_bin1353.fits scfile=/scratch/kocevski/381787/ft2_4FGL_J1514.8-0949_daily_bin1353.fits outfile=/scratch/kocevski/381787/cmap_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/381787/ft1_filtered_4FGL_J1514.8-0949_daily_bin1353.fits scfile=/scratch/kocevski/381787/ft2_4FGL_J1514.8-0949_daily_bin1353.fits outfile=/scratch/kocevski/381787/cmap_HighResolution_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381787/ft1_filtered_4FGL_J1514.8-0949_daily_bin1353.fits evtable="EVENTS" scfile=/scratch/kocevski/381787/ft2_4FGL_J1514.8-0949_daily_bin1353.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381787/Model_4FGL_J1514.8-0949_daily_bin1353.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/381787/ft1_filtered_4FGL_J1514.8-0949_daily_bin1353.fits.....................!
real 95.27
user 93.96
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1508       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.0543       1.0000         .10000E-03   10000.    
     5 'norm      '    9.8874       1.0000         .10000E-03   10000.    
     6 'norm      '    .98866E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1194       1.0000         .10000E-03   10000.    
     8 'norm      '    11.261       1.0000         .10000E-03   10000.    
     9 'Prefactor '    58.430       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.2187       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .95613       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=   11714.60     FROM MIGRAD    STATUS=CONVERGED    201 CALLS      856 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1515        2.8374       -.12354E-05   -.16194E-02
   2  Prefactor     .10000E-03    59.262        .67830E-06** at limit **
   3  Prefactor     .10000E-03    14.019        .10314E-06** at limit **
   4  norm          8.0542        4.2507        .35653E-06   -.25458E-03
   5  norm          9.8874        5.7201       -.60749E-06    .54819E-04
   6  norm          .98879E-01    .80531E-01   -.56557E-08   -.31551E-02
   7  Prefactor     6.1189        7.1083       -.44141E-06   -.30756E-03
   8  norm          11.260        5.4102        .14629E-05   -.37667E-03
   9  Prefactor     58.417        36.487       -.11393E-04    .29130E-03
  10  Prefactor     .10000E-03    8.8386       -.39488E-07** at limit **
  11  Normalizat    1.2184        .20801        .53827E-07    .21834E-04
  12  Prefactor     .95623        .71478E-01    .35484E-06   -.42570E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15154
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.05421
  norm       = 9.88743
  norm       = 0.0988791
  Prefactor  = 6.11888
  norm       = 11.2602
  Prefactor  = 58.4169
  Prefactor  = 0.0001
  Normalizat = 1.21841
  Prefactor  = 0.956226
 **********
 **   18 **HESSE 
 **********

 FCN=   11714.60     FROM HESSE     STATUS=OK           131 CALLS      987 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1515        2.9035        .28948E-03   -1.5493    
   2  Prefactor     .10000E-03    59.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.0542        4.2374        .14128E-03   -1.5140    
   5  norm          9.8874        5.7205        .12744E-03   -1.5079    
   6  norm          .98879E-01    .76344E-01    .21584E-04   -1.5645    
   7  Prefactor     6.1189        6.9543        .16230E-03   -1.5213    
   8  norm          11.260        5.3850        .11939E-03   -1.5037    
   9  Prefactor     58.417        35.762        .52485E-04   -1.4178    
  10  Prefactor     .10000E-03    8.8455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.2184        .24149        .40639E-03   -.86036    
  12  Prefactor     .95623        .83527E-01    .15683E-03   -.94203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23725e-09
Minuit parameter uncertainties:
  1  2.90384
  2  0.000239596
  3  6.46335e-06
  4  4.23757
  5  5.72083
  6  0.0763442
  7  6.95526
  8  5.38528
  9  35.7753
  10  5.99765e-06
  11  0.24171
  12  0.0835377
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  6.119e+00  6.955e+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.562e-01  8.354e-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.218e+00  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 228.716 -9.817
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 5.43e-08 +/- 6.17e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 2.04e-05

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

Saving results to:
/scratch/kocevski/381787/likelihoodResults_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.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) = 11714.4621233
delta logL = 0.136257147598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11714.421172
delta logL = 0.177208467956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3888       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7669       1.0000          .0000       10.000    
     3 'Normalizat'    1.1993       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95987       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=   11714.42     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      259 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3870        45.370        .54947E-02    .10087E-02
   2  Index         2.7671        1.9452        .14537        .21638E-03
   3  Normalizat    1.1993        .58404E-01    .92351E-01    .23825E-04
   4  Prefactor     .95988        .19488E-01    .45764E-01   -.30166E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38704
  Index      = 2.7671
  Normalizat = 1.19929
  Prefactor  = 0.959881
 **********
 **   18 **HESSE 
 **********

 FCN=   11714.42     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3870        7.7494        .15893E-03   -1.5340    
   2  Index         2.7671        .94616        .52956E-02   -.46294    
   3  Normalizat    1.1993        .24336        .40906E-03   -.86625    
   4  Prefactor     .95988        .83669E-01    .15654E-03   -.94079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47184e-08
Minuit parameter uncertainties:
  1  7.75169
  2  0.953357
  3  0.24359
  4  0.0836803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381787': 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) = 11714.4211719
delta logL = 0.177208524061

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  3.387e+00  7.752e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.767e+00  9.534e-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.599e-01  8.368e-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.199e+00  2.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.72
Ra Dec: 228.716 -9.817
Photon Index (Free Index): 2.77 +/- 0.95
Photon Flux (Free Index): 7.22e-08 +/- 6.23e-08
Energy Flux (Free Index): 1.65e-05 +/- 1.62e-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/381787/cmap_HighResolution_590025601_590284801_4FGL_J1514.8-0949_daily_bin1353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', photon_flux='5.43e-08', energy_flux2='1.65e-05', photon_flux_error='6.17e-08', dlogl='1.77e-01', energy_flux='1.80e-05', photon_flux2='7.22e-08', job_status='DONE', time_completed='2021-09-11 19:07:29.042196', photon_index_error2='0.95', photon_index2='2.77', ts='1.33', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.62e-05', EG='1.22', time_epoch_completed='1631412449.04', return_code='0', job_id='381787', GAL2='0.96', EG2='1.20', return_code2='0', energy_flux_error='2.04e-05', photon_flux_error2='6.23e-08', ts2='1.72', photon_index='2.39' WHERE bin_id='1353' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 19:07:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 381787: <4FGL_J1514.8-0949_daily_bin1353> in cluster <slac> Done

Job <4FGL_J1514.8-0949_daily_bin1353> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 11 18:51:43 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:51:44 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:51:44 2021
Terminated at Sat Sep 11 19:07:29 2021
Results reported at Sat Sep 11 19:07:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin1353 228.716 -9.817 590025601 590284801 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 :                                   585.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             224.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            946 sec.

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

