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


Performing analysis on: 4FGL_J1514.8-0949_daily_bin518
RA = 228.716, Dec = -9.817
tmin = 373593601, tmax = 373852801
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='378065', job_status='RUN', time_executed='2021-09-11 18:44:38.858040', time_epoch_executed='1631411078.86' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378065

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378065/ft1_4FGL_J1514.8-0949_daily_bin518.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378065/ft2_4FGL_J1514.8-0949_daily_bin518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378065/ft1_4FGL_J1514.8-0949_daily_bin518.fits outfile=/scratch/kocevski/378065/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin518.fits ra=228.716 dec=-9.817 rad=12.0 tmin=373593601.0 tmax=373852801.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.52
user 3.30
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378065/ft1_filtered_4FGL_J1514.8-0949_daily_bin518.fits" evtable="EVENTS" scfile=/scratch/kocevski/378065/ft2_4FGL_J1514.8-0949_daily_bin518.fits sctable="SC_DATA" outfile=/scratch/kocevski/378065/ltcube_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.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/378065/ft2_4FGL_J1514.8-0949_daily_bin518.fits
.....................!
real 11.76
user 11.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378065/ft1_filtered_4FGL_J1514.8-0949_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/378065/ft2_4FGL_J1514.8-0949_daily_bin518.fits sctable="SC_DATA" expcube=/scratch/kocevski/378065/ltcube_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.fits outfile=/scratch/kocevski/378065/expmap_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.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/378065/ltcube_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.fits
.....................!
real 189.83
user 185.40
sys 4.09

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/378065/ft1_filtered_4FGL_J1514.8-0949_daily_bin518.fits scfile=/scratch/kocevski/378065/ft2_4FGL_J1514.8-0949_daily_bin518.fits outfile=/scratch/kocevski/378065/cmap_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.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.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378065/ft1_filtered_4FGL_J1514.8-0949_daily_bin518.fits scfile=/scratch/kocevski/378065/ft2_4FGL_J1514.8-0949_daily_bin518.fits outfile=/scratch/kocevski/378065/cmap_HighResolution_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.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/378065/ft1_filtered_4FGL_J1514.8-0949_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/378065/ft2_4FGL_J1514.8-0949_daily_bin518.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378065/Model_4FGL_J1514.8-0949_daily_bin518.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/378065/ft1_filtered_4FGL_J1514.8-0949_daily_bin518.fits.....................!
real 80.33
user 79.02
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.057       1.0000         .10000E-03   10000.    
     2 'Prefactor '    78.298       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.914       1.0000         .10000E-03   10000.    
     4 'norm      '    2.6125       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .77870       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2002       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.901       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.6338       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0328       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=   9334.891     FROM MIGRAD    STATUS=CONVERGED    189 CALLS      953 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.015        15.952        .97300E-05   -.25650E-03
   2  Prefactor     78.765        157.57       -.63347E-04   -.70412E-04
   3  Prefactor     39.872        62.271        .83337E-05   -.63796E-05
   4  norm          2.6128        6.5744        .10403E-05   -.21069E-04
   5  norm          .10000E-03    1.5848       -.69387E-07** at limit **
   6  norm          .77871        .16987       -.29255E-06    .66015E-03
   7  Prefactor     1.1999        10.159        .25982E-04   -.64547E-04
   8  norm          .10000E-03    2.2021       -.52906E-07** at limit **
   9  Prefactor     13.896        36.938        .14223E-05    .55905E-05
  10  Prefactor     .10000E-03    12.724       -.14499E-06** at limit **
  11  Normalizat    1.6335        .30051       -.10819E-05   -.81740E-05
  12  Prefactor     1.0329        .96682E-01    .56920E-06    .14171E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0148
  Prefactor  = 78.7653
  Prefactor  = 39.8724
  norm       = 2.61276
  norm       = 0.0001
  norm       = 0.778709
  Prefactor  = 1.19991
  norm       = 0.0001
  Prefactor  = 13.8956
  Prefactor  = 0.0001
  Normalizat = 1.63347
  Prefactor  = 1.03291
 **********
 **   18 **HESSE 
 **********

 FCN=   9334.891     FROM HESSE     STATUS=OK           129 CALLS     1082 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.015        15.939        .91747E-04   -1.4836    
   2  Prefactor     78.765        157.54        .22692E-03   -1.3931    
   3  Prefactor     39.872        62.288        .63445E-04   -1.4444    
   4  norm          2.6128        6.5510        .25236E-03   -1.5385    
   5  norm          .10000E-03    1.5865        .11878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .77871        .17134        .15703E-04   -1.5531    
   7  Prefactor     1.1999        10.337        .20719E-02   -1.5489    
   8  norm          .10000E-03    2.2051        .14002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.896        36.976        .10743E-03   -1.4962    
  10  Prefactor     .10000E-03    12.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.6335        .34945        .45032E-03   -.74094    
  12  Prefactor     1.0329        .11278        .18043E-03   -.91641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47523e-09
Minuit parameter uncertainties:
  1  15.9427
  2  158.389
  3  62.3895
  4  6.55282
  5  1.35104e-06
  6  0.171343
  7  7.045
  8  3.30208e-06
  9  37.0366
  10  1.14014e-05
  11  0.349974
  12  0.112805
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  1.200e+00  7.045e+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:  1.033e+00  1.128e-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.633e+00  3.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/378065/likelihoodResults_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.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) = 9334.87756711
delta logL = 0.0133316327865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9334.87464072
delta logL = 0.0162580256874

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84203       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8800       1.0000          .0000       10.000    
     3 'Normalizat'    1.6228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0347       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9334.875     FROM MIGRAD    STATUS=FAILED        94 CALLS      248 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83427        972.65        .31935E-03   -.64078E-05
   2  Index         2.8880        6.4338        .12572E-01    .17533E-03
   3  Normalizat    1.6231        .60146        .45135E-03   -.19848E-04
   4  Prefactor     1.0346        .16474        .18027E-03   -.43288E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9334.875     FROM SIMPLEX   STATUS=UNCHANGED    113 CALLS      361 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83427        972.65        .12216E-03   -1.5525    
   2  Index         2.8880        6.4338        .18097E-02   -.43610    
   3  Normalizat    1.6231        .60146        .17785E-03   -.74375    
   4  Prefactor     1.0346        .16474        .33101E-04   -.91585    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9334.875     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      394 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83427        9.4286        .12774E-04   -.96118E-05
   2  Index         2.8880        2.9503        .25144E-02   -.24777E-05
   3  Normalizat    1.6231        .34802        .18054E-04   -.19899E-04
   4  Prefactor     1.0346        .11311        .36054E-04   -.43136E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.834269
  Index      = 2.88798
  Normalizat = 1.62314
  Prefactor  = 1.0346
 **********
 **   18 **HESSE 
 **********

 FCN=   9334.875     FROM HESSE     STATUS=OK            23 CALLS      417 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83427        8.1371        .25548E-05   -1.5525    
   2  Index         2.8880        2.7709        .10058E-03   -.43610    
   3  Normalizat    1.6231        .34773        .36108E-05   -.74375    
   4  Prefactor     1.0346        .11306        .72108E-05   -.91585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56824e-12
Minuit parameter uncertainties:
  1  5.21156
  2  2.9813
  3  0.348252
  4  0.113091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378065': 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) = 9334.8746349
delta logL = 0.0162638415168

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  8.343e-01  5.212e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.888e+00  2.981e+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:  1.035e+00  1.131e-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.623e+00  3.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/378065/cmap_HighResolution_373593601_373852801_4FGL_J1514.8-0949_daily_bin518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2021-09-11 18:53:45.832074', job_id='378065', GAL2='1.03', fit_tolerance='1e-08', EG2='1.62', EG='1.63', time_epoch_completed='1631411625.83', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.63e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='518' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:53:45 PDT 2021


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

Job <4FGL_J1514.8-0949_daily_bin518> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 18:41:07 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:41:08 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:41:08 2021
Terminated at Sat Sep 11 18:53:46 2021
Results reported at Sat Sep 11 18:53:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin518 228.716 -9.817 373593601 373852801 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 :                                   545.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            759 sec.

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

