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


Performing analysis on: 4FGL_J1514.8-0949_daily_bin1572
RA = 228.716, Dec = -9.817
tmin = 646790401, tmax = 647049601
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='383076', job_status='RUN', time_executed='2021-09-11 19:00:16.071056', time_epoch_executed='1631412016.07' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='1572'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/383076

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/383076/ft1_4FGL_J1514.8-0949_daily_bin1572.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/383076/ft2_4FGL_J1514.8-0949_daily_bin1572.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/383076/ft1_4FGL_J1514.8-0949_daily_bin1572.fits outfile=/scratch/kocevski/383076/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1572.fits ra=228.716 dec=-9.817 rad=12.0 tmin=646790401.0 tmax=647049601.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.60
user 3.38
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/383076/ft1_filtered_4FGL_J1514.8-0949_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/383076/ft2_4FGL_J1514.8-0949_daily_bin1572.fits sctable="SC_DATA" expcube=/scratch/kocevski/383076/ltcube_646790401_647049601_4FGL_J1514.8-0949_daily_bin1572.fits outfile=/scratch/kocevski/383076/expmap_646790401_647049601_4FGL_J1514.8-0949_daily_bin1572.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/383076/ltcube_646790401_647049601_4FGL_J1514.8-0949_daily_bin1572.fits
.....................!
real 190.78
user 185.91
sys 4.52

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/383076/ft1_filtered_4FGL_J1514.8-0949_daily_bin1572.fits scfile=/scratch/kocevski/383076/ft2_4FGL_J1514.8-0949_daily_bin1572.fits outfile=/scratch/kocevski/383076/cmap_646790401_647049601_4FGL_J1514.8-0949_daily_bin1572.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/383076/ft1_filtered_4FGL_J1514.8-0949_daily_bin1572.fits scfile=/scratch/kocevski/383076/ft2_4FGL_J1514.8-0949_daily_bin1572.fits outfile=/scratch/kocevski/383076/cmap_HighResolution_646790401_647049601_4FGL_J1514.8-0949_daily_bin1572.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/383076/ft1_filtered_4FGL_J1514.8-0949_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/383076/ft2_4FGL_J1514.8-0949_daily_bin1572.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/383076/Model_4FGL_J1514.8-0949_daily_bin1572.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/383076/ft1_filtered_4FGL_J1514.8-0949_daily_bin1572.fits.....................!
real 82.75
user 81.23
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23112       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.0401       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1023       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3034       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.3284       1.0000         .10000E-03   10000.    
     8 'norm      '    8.4091       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    .76573       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.1251       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=   9555.365     FROM MIGRAD    STATUS=CONVERGED    215 CALLS      892 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22348        20.739        .11151E-04   -.18534E-04
   2  Prefactor     .10000E-03    33.140       -.32266E-05** at limit **
   3  Prefactor     9.0229        89.516        .96644E-05    .51867E-04
   4  norm          .10000E-03    2.3056        .25051E-07** at limit **
   5  norm          1.1014        2.7488       -.16568E-05    .10981E-03
   6  norm          1.3034        .19366       -.10652E-08    .10552E-02
   7  Prefactor     8.3273        11.012        .10959E-06    .10645E-03
   8  norm          8.4089        9.2799        .57989E-06    .30329E-04
   9  Prefactor     .10000E-03    39.989        .33042E-05** at limit **
  10  Prefactor     .10000E-03    17.185        .76024E-06** at limit **
  11  Normalizat    .76566        .30026        .50734E-06    .18731E-03
  12  Prefactor     1.1251        .97535E-01   -.38026E-06    .20960E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.223482
  Prefactor  = 0.0001
  Prefactor  = 9.02286
  norm       = 0.0001
  norm       = 1.10143
  norm       = 1.30343
  Prefactor  = 8.32734
  norm       = 8.40894
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.765657
  Prefactor  = 1.12514
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.365     FROM HESSE     STATUS=OK           135 CALLS     1027 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22348        20.889        .34911E-02   -1.5613    
   2  Prefactor     .10000E-03    33.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.0229        91.228        .13330E-03   -1.5107    
   4  norm          .10000E-03    2.3379        .14490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1014        2.7677        .28242E-02   -1.5498    
   6  norm          1.3034        .19927        .13526E-04   -1.5480    
   7  Prefactor     8.3273        11.317        .13892E-03   -1.5131    
   8  norm          8.4089        9.2949        .13824E-03   -1.5128    
   9  Prefactor     .10000E-03    39.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    .76566        .32135        .56117E-03   -1.0136    
  12  Prefactor     1.1251        .10619        .16057E-03   -.88667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.16229e-08
Minuit parameter uncertainties:
  1  4.32181
  2  2.78765e-05
  3  57.4941
  4  7.5396e-06
  5  2.76804
  6  0.199266
  7  11.3199
  8  9.29653
  9  0.000340019
  10  4.9806e-05
  11  0.322145
  12  0.106207
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  8.327e+00  1.132e+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:  1.125e+00  1.062e-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:  7.657e-01  3.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/383076/likelihoodResults_646790401_647049601_4FGL_J1514.8-0949_daily_bin1572.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) = 9555.2611384
delta logL = 0.104184044796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9555.25576639
delta logL = 0.10955605874

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5158       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7749       1.0000          .0000       10.000    
     3 'Normalizat'    .73370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1307       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9555.256     FROM MIGRAD    STATUS=FAILED       107 CALLS      331 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5091        19.615        .85537E-03   -.43222E-04
   2  Index         2.7761        1.6932        .69873E-02    .97021E-03
   3  Normalizat    .73338        .32593        .57169E-03    .28119E-04
   4  Prefactor     1.1308        .10748        .16012E-03    .78668E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9555.256     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      407 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5091        19.615        .16248E-03   -1.5238    
   2  Index         2.7761        1.6932        .55396E-03   -.46092    
   3  Normalizat    .73338        .32593        .46920E-03   -1.0259    
   4  Prefactor     1.1308        .10748        .97173E-04   -.88489    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9555.256     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      441 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5091        9.9502        .34215E-04   -.46518E-04
   2  Index         2.7762        .87277        .13975E-02    .36811E-04
   3  Normalizat    .73338        .31513        .22868E-04    .99430E-05
   4  Prefactor     1.1308        .10551        .64049E-05    .27690E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.50907
  Index      = 2.77615
  Normalizat = 0.733376
  Prefactor  = 1.13079
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.256     FROM HESSE     STATUS=OK            25 CALLS      466 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5091        9.5083        .13686E-05   -1.5238    
   2  Index         2.7762        .83391        .27949E-03   -.46092    
   3  Normalizat    .73338        .31472        .45735E-05   -1.0259    
   4  Prefactor     1.1308        .10542        .12810E-05   -.88489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95575e-12
Minuit parameter uncertainties:
  1  9.5109
  2  0.838809
  3  0.315505
  4  0.10544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/383076': 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) = 9555.25576445
delta logL = 0.109557991504

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  5.509e+00  9.511e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.776e+00  8.388e-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:  1.131e+00  1.054e-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:  7.334e-01  3.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 228.716 -9.817
Photon Index (Free Index): 2.78 +/- 0.84
Photon Flux (Free Index): 1.20e-07 +/- 1.38e-07
Energy Flux (Free Index): 2.73e-05 +/- 2.68e-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/383076/cmap_HighResolution_646790401_647049601_4FGL_J1514.8-0949_daily_bin1572.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-02', comment='SUCCESS', energy_flux2='2.73e-05', dlogl='1.10e-01', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-09-11 19:09:45.573071', photon_index_error2='0.84', photon_index2='2.78', ts='0.96', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='2.56e-07', energy_flux_error2='2.68e-05', EG='0.77', time_epoch_completed='1631412585.57', return_code='0', job_id='383076', GAL2='1.13', EG2='0.73', return_code2='0', photon_flux_error2='1.38e-07', ts2='1.29', photon_index='2.39' WHERE bin_id='1572' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 19:09:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 383076: <4FGL_J1514.8-0949_daily_bin1572> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin1572 228.716 -9.817 646790401 647049601 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 :                                   565.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            819 sec.

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

