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


Performing analysis on: 4FGL_J0510.4-1809_daily_bin547
RA = 77.6116, Dec = -18.1643
tmin = 381110401, tmax = 381369601
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='111378', job_status='RUN', time_executed='2021-08-22 04:56:15.505350', time_epoch_executed='1629633375.51' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='547'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/111378

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/111378/ft1_4FGL_J0510.4-1809_daily_bin547.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/111378/ft1_4FGL_J0510.4-1809_daily_bin547.fits outfile=/scratch/kocevski/111378/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin547.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=381110401.0 tmax=381369601.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 5.91
user 4.46
sys 1.36

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.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/111378/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin547.fits evtable="EVENTS" outfile="/scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.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 1.60
user 0.31
sys 1.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits" evtable="EVENTS" scfile=/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits sctable="SC_DATA" outfile=/scratch/kocevski/111378/ltcube_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.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/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits
.....................!
real 13.61
user 11.71
sys 1.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits evtable="EVENTS" scfile=/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits sctable="SC_DATA" expcube=/scratch/kocevski/111378/ltcube_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.fits outfile=/scratch/kocevski/111378/expmap_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.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/111378/ltcube_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.fits
.....................!
real 195.39
user 186.51
sys 6.19

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J0510.4-1809 @ 77.6116 -18.1643

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits scfile=/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits outfile=/scratch/kocevski/111378/cmap_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.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=77.6116 yref=-18.1643 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 1.68
user 0.37
sys 1.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits scfile=/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits outfile=/scratch/kocevski/111378/cmap_HighResolution_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.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=77.6116 yref=-18.1643 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 1.69
user 0.34
sys 1.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits evtable="EVENTS" scfile=/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/111378/Model_4FGL_J0510.4-1809_daily_bin547.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/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits....................!
real 123.33
user 119.16
sys 2.61

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits', '/scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits', expMap='/scratch/kocevski/111378/expmap_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.fits', expCube='/scratch/kocevski/111378/ltcube_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/111378/Model_4FGL_J0510.4-1809_daily_bin547.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0510.4-1809'

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  3.738e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.493e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  8.863e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/111378/ft1_filtered_4FGL_J0510.4-1809_daily_bin547.fits
Spacecraft file(s): /scratch/kocevski/111378/ft2_4FGL_J0510.4-1809_daily_bin547.fits
Exposure map: /scratch/kocevski/111378/expmap_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.fits
Exposure cube: /scratch/kocevski/111378/ltcube_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/111378/Model_4FGL_J0510.4-1809_daily_bin547.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) = 8454.98896208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11387E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.111       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6284       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1209       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1277       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2590       1.0000         .10000E-03   10000.    
    10 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.272       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.0186       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2574       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .82541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8454.985     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1445 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.827       -.27120E-04** at limit **
   2  Prefactor     40.112        25.563        .38458E-06    .26389E-04
   3  norm          .10000E-03    46.880        .27517E-04** at limit **
   4  Prefactor     4.6284        4.5043       -.49925E-06   -.51395E-04
   5  Prefactor     .10000E-03    18.520        .11872E-05** at limit **
   6  norm          2.1210        2.2245       -.10078E-06   -.27637E-03
   7  norm          3.1277        .35207        .36121E-08    .11048E-02
   8  Prefactor     .10000E-03    8.2525       -.20906E-06** at limit **
   9  Prefactor     6.2536        23.241       -.53215E-05   -.16680E-04
  10  norm          .10000E-03    29.423       -.55031E-05** at limit **
  11  Prefactor     53.278        40.296        .53332E-05   -.35354E-06
  12  norm          .10000E-03    1.5470       -.40842E-07** at limit **
  13  norm          .10000E-03    8.9261        .40434E-06** at limit **
  14  norm          4.0188        5.0157       -.30563E-05    .10830E-04
  15  Normalizat    1.2573        .17760       -.15320E-06    .24120E-03
  16  Prefactor     .82542        .90189E-01    .19881E-06    .18186E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 40.1123
  norm       = 0.0001
  Prefactor  = 4.6284
  Prefactor  = 0.0001
  norm       = 2.12099
  norm       = 3.1277
  Prefactor  = 0.0001
  Prefactor  = 6.2536
  norm       = 0.0001
  Prefactor  = 53.278
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.01876
  Normalizat = 1.25728
  Prefactor  = 0.82542
 **********
 **   18 **HESSE 
 **********

 FCN=   8454.985     FROM HESSE     STATUS=OK           201 CALLS     1646 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    56.604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.112        25.617        .63290E-04   -1.4440    
   3  norm          .10000E-03    47.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.6284        4.5050        .18687E-03   -1.5278    
   5  Prefactor     .10000E-03    18.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1210        2.2200        .13626E-03   -1.5417    
   7  norm          3.1277        .35418        .17390E-04   -1.5354    
   8  Prefactor     .10000E-03    8.2530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.2536        23.353        .16045E-03   -1.5208    
  10  norm          .10000E-03    29.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.278        40.508        .54953E-04   -1.4247    
  12  norm          .10000E-03    1.5594        .11162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.9366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0188        5.0156        .20117E-03   -1.5307    
  15  Normalizat    1.2573        .19769        .30712E-03   -.84851    
  16  Prefactor     .82542        .99738E-01    .20033E-03   -.98798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75304e-10
Minuit parameter uncertainties:
  1  0.0006953
  2  25.6243
  3  3.32455e-07
  4  4.50533
  5  1.48503e-05
  6  2.22014
  7  0.354179
  8  4.73749e-06
  9  23.3869
  10  2.58946e-05
  11  40.529
  12  5.28967e-07
  13  3.4456e-07
  14  5.01612
  15  0.197807
  16  0.0997603
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  6.254e+00  2.339e+01  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.493e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  8.863e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  8.254e-01  9.976e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.257e+00  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 77.612 -18.164
Photon Flux Upper Limit: 9.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/111378/likelihoodResults_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.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): 102
logL (Free Index) = 8454.42749351
delta logL = 0.557348447923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8454.42197277
delta logL = 0.562869184501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51998       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9496       1.0000          .0000       10.000    
     3 'Normalizat'    1.2013       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84170       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8454.422     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      325 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52003        7.7348        .11352E-01    .21536E-02
   2  Index         4.9497        2.8955        .12281        .96505E-04
   3  Normalizat    1.2014        .42916E-01    .70758E-01   -.19470E-03
   4  Prefactor     .84167        .23331E-01    .44258E-01   -.12327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.520029
  Index      = 4.94974
  Normalizat = 1.20136
  Prefactor  = 0.841669
 **********
 **   18 **HESSE 
 **********

 FCN=   8454.422     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      356 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52003        24.797        .63345E-04   -1.5564    
   2  Index         4.9497        7.4483        .70325E-02   -.10052E-01
   3  Normalizat    1.2014        .16404        .31309E-03   -.86561    
   4  Prefactor     .84167        .86958E-01    .19865E-03   -.98210    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.83424e-08
Minuit parameter uncertainties:
  1  7.18443
  2  7.07416
  3  0.164114
  4  0.0869721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/111378': 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): 102
logL (Free Index) = 8454.42197265
delta logL = 0.562869309917

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  5.200e-01  7.184e+00  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  4.950e+00  7.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  8.863e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  8.417e-01  8.697e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.201e+00  1.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 77.612 -18.164
Photon Index (Free Index): 4.95 +/- 7.07
Photon Flux (Free Index): 6.49e-08 +/- 6.26e-08
Energy Flux (Free Index): 8.67e-06 +/- 1.05e-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/111378/cmap_HighResolution_381110401_381369601_4FGL_J0510.4-1809_daily_bin547.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.72e-03', comment='SUCCESS', energy_flux2='8.67e-06', dlogl='5.63e-01', photon_flux2='6.49e-08', job_status='DONE', time_completed='2021-08-22 05:07:19.113425', photon_index_error2='7.07', photon_index2='4.95', ts='0.08', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='9.93e-08', energy_flux_error2='1.05e-05', EG='1.26', time_epoch_completed='1629634039.11', return_code='0', job_id='111378', GAL2='0.84', EG2='1.20', return_code2='102', photon_flux_error2='6.26e-08', ts2='1.29', photon_index='2.49' WHERE bin_id='547' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:07:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 111378: <4FGL_J0510.4-1809_daily_bin547> in cluster <slac> Done

Job <4FGL_J0510.4-1809_daily_bin547> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 22 04:55:38 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 04:55:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 22 04:55:40 2021
Terminated at Sun Aug 22 05:07:20 2021
Results reported at Sun Aug 22 05:07:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin547 77.6116 -18.1643 381110401 381369601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0510.4-1809 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   668.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            702 sec.

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

