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


Performing analysis on: 4FGL_J1514.8-0949_daily_bin1293
RA = 228.716, Dec = -9.817
tmin = 574473601, tmax = 574732801
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='381698', job_status='RUN', time_executed='2021-09-11 18:54:59.915439', time_epoch_executed='1631411699.92' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='1293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381698

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381698/ft1_4FGL_J1514.8-0949_daily_bin1293.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381698/ft2_4FGL_J1514.8-0949_daily_bin1293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381698/ft1_4FGL_J1514.8-0949_daily_bin1293.fits outfile=/scratch/kocevski/381698/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1293.fits ra=228.716 dec=-9.817 rad=12.0 tmin=574473601.0 tmax=574732801.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.04
user 3.82
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/381698/ft1_filtered_4FGL_J1514.8-0949_daily_bin1293.fits" evtable="EVENTS" scfile=/scratch/kocevski/381698/ft2_4FGL_J1514.8-0949_daily_bin1293.fits sctable="SC_DATA" outfile=/scratch/kocevski/381698/ltcube_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.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/381698/ft2_4FGL_J1514.8-0949_daily_bin1293.fits
.....................!
real 11.80
user 11.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381698/ft1_filtered_4FGL_J1514.8-0949_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/381698/ft2_4FGL_J1514.8-0949_daily_bin1293.fits sctable="SC_DATA" expcube=/scratch/kocevski/381698/ltcube_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.fits outfile=/scratch/kocevski/381698/expmap_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.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/381698/ltcube_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.fits
.....................!
real 190.69
user 185.85
sys 4.54

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/381698/ft1_filtered_4FGL_J1514.8-0949_daily_bin1293.fits scfile=/scratch/kocevski/381698/ft2_4FGL_J1514.8-0949_daily_bin1293.fits outfile=/scratch/kocevski/381698/cmap_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/381698/ft1_filtered_4FGL_J1514.8-0949_daily_bin1293.fits scfile=/scratch/kocevski/381698/ft2_4FGL_J1514.8-0949_daily_bin1293.fits outfile=/scratch/kocevski/381698/cmap_HighResolution_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381698/ft1_filtered_4FGL_J1514.8-0949_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/381698/ft2_4FGL_J1514.8-0949_daily_bin1293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381698/Model_4FGL_J1514.8-0949_daily_bin1293.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/381698/ft1_filtered_4FGL_J1514.8-0949_daily_bin1293.fits.....................!
real 75.71
user 74.34
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10553E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10978E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.7153       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.7738       1.0000         .10000E-03   10000.    
     6 'norm      '    .74564       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.129       1.0000         .10000E-03   10000.    
     8 'norm      '    26.996       1.0000         .10000E-03   10000.    
     9 'Prefactor '    42.068       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.023       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.5771       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .82818       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=   8489.770     FROM MIGRAD    STATUS=CONVERGED    206 CALLS      958 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1642       -.21898E-05** at limit **
   2  Prefactor     .10000E-03    46.903       -.37024E-05** at limit **
   3  Prefactor     8.6361        60.241       -.25950E-06    .53653E-05
   4  norm          .10000E-03    1.7551        .14195E-06** at limit **
   5  norm          9.7728        6.0170       -.20780E-07    .13148E-04
   6  norm          .74606        .16440        .22929E-07   -.39206E-03
   7  Prefactor     11.101        10.565       -.33920E-06    .19099E-04
   8  norm          26.998        10.731       -.18555E-07   -.61022E-05
   9  Prefactor     42.075        40.199       -.22526E-07    .28704E-05
  10  Prefactor     15.983        24.729       -.40506E-07   -.24112E-04
  11  Normalizat    1.5778        .26922        .11129E-05   -.12134E-04
  12  Prefactor     .82793        .88344E-01   -.55409E-06    .13723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.63613
  norm       = 0.0001
  norm       = 9.7728
  norm       = 0.74606
  Prefactor  = 11.101
  norm       = 26.9983
  Prefactor  = 42.0749
  Prefactor  = 15.9832
  Normalizat = 1.57783
  Prefactor  = 0.827928
 **********
 **   18 **HESSE 
 **********

 FCN=   8489.770     FROM HESSE     STATUS=OK           131 CALLS     1089 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2050        .16053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    47.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.6361        60.746        .13578E-03   -1.5120    
   4  norm          .10000E-03    1.7671        .11916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.7728        6.0213        .12818E-03   -1.5083    
   6  norm          .74606        .17166        .14017E-04   -1.5535    
   7  Prefactor     11.101        11.015        .12009E-03   -1.5041    
   8  norm          26.998        10.740        .77103E-04   -1.4668    
   9  Prefactor     42.075        40.225        .30903E-03   -1.4410    
  10  Prefactor     15.983        24.757        .10006E-03   -1.4908    
  11  Normalizat    1.5778        .31024        .39610E-03   -.75614    
  12  Prefactor     .82793        .10172        .17335E-03   -.98707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2527e-11
Minuit parameter uncertainties:
  1  5.05775e-06
  2  5.24863e-05
  3  45.875
  4  9.77696e-07
  5  6.02163
  6  0.171662
  7  11.0174
  8  10.7406
  9  40.2511
  10  24.7728
  11  0.310618
  12  0.101741
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  1.110e+01  1.102e+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:  8.279e-01  1.017e-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.578e+00  3.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.22
Ra Dec: 228.716 -9.817
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 9.86e-08 +/- 9.78e-08
Energy Flux (Fixed Index): 3.26e-05 +/- 3.24e-05

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

Saving results to:
/scratch/kocevski/381698/likelihoodResults_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.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) = 8489.67529173
delta logL = 0.0943544849797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8489.66101424
delta logL = 0.108631980656

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7791       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7290       1.0000          .0000       10.000    
     3 'Normalizat'    1.5497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83361       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=   8489.661     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      332 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7777        18.338        .15410E-03   -.63120E-03
   2  Index         2.7291        1.3191        .55997E-02   -.16735E-03
   3  Normalizat    1.5497        .32058        .39865E-03   -.36047E-04
   4  Prefactor     .83361        .10318        .17277E-03   -.12473E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.77771
  Index      = 2.72907
  Normalizat = 1.54969
  Prefactor  = 0.833614
 **********
 **   18 **HESSE 
 **********

 FCN=   8489.661     FROM HESSE     STATUS=OK            25 CALLS      357 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7777        10.684        .61642E-05   -1.5187    
   2  Index         2.7291        .77462        .22399E-03   -.47146    
   3  Normalizat    1.5497        .31209        .15946E-04   -.76392    
   4  Prefactor     .83361        .10165        .34554E-04   -.98501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14424e-10
Minuit parameter uncertainties:
  1  10.6868
  2  0.778577
  3  0.312476
  4  0.101676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381698': 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) = 8489.66101423
delta logL = 0.10863199139

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  6.778e+00  1.069e+01  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.729e+00  7.786e-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:  8.336e-01  1.017e-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.550e+00  3.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.59
Ra Dec: 228.716 -9.817
Photon Index (Free Index): 2.73 +/- 0.78
Photon Flux (Free Index): 1.32e-07 +/- 1.14e-07
Energy Flux (Free Index): 3.10e-05 +/- 2.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/381698/cmap_HighResolution_574473601_574732801_4FGL_J1514.8-0949_daily_bin1293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-02', comment='SUCCESS', photon_flux='9.86e-08', energy_flux2='3.10e-05', photon_flux_error='9.78e-08', dlogl='1.09e-01', energy_flux='3.26e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-09-11 19:06:23.064030', photon_index_error2='0.78', photon_index2='2.73', ts='2.22', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='2.60e-07', energy_flux_error2='2.29e-05', EG='1.58', time_epoch_completed='1631412383.06', return_code='0', job_id='381698', GAL2='0.83', EG2='1.55', return_code2='0', energy_flux_error='3.24e-05', photon_flux_error2='1.14e-07', ts2='2.59', photon_index='2.39' WHERE bin_id='1293' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 19:06:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 381698: <4FGL_J1514.8-0949_daily_bin1293> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin1293 228.716 -9.817 574473601 574732801 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 :                                   528.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            888 sec.

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

