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


Performing analysis on: 4FGL_J0510.4-1809_daily_bin1076
RA = 77.6116, Dec = -18.1643
tmin = 518227201, tmax = 518486401
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='115018', job_status='RUN', time_executed='2021-08-22 05:06:17.377455', time_epoch_executed='1629633977.38' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='1076'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115018

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115018/ft1_4FGL_J0510.4-1809_daily_bin1076.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115018/ft1_4FGL_J0510.4-1809_daily_bin1076.fits outfile=/scratch/kocevski/115018/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1076.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=518227201.0 tmax=518486401.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.98
user 3.47
sys 0.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.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/115018/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1076.fits evtable="EVENTS" outfile="/scratch/kocevski/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.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.77
user 0.33
sys 0.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits" evtable="EVENTS" scfile=/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits sctable="SC_DATA" outfile=/scratch/kocevski/115018/ltcube_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.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/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits
.....................!
real 12.43
user 11.77
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits sctable="SC_DATA" expcube=/scratch/kocevski/115018/ltcube_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.fits outfile=/scratch/kocevski/115018/expmap_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.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/115018/ltcube_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.fits
.....................!
real 191.69
user 185.15
sys 6.14

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/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits scfile=/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits outfile=/scratch/kocevski/115018/cmap_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.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 0.84
user 0.38
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits scfile=/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits outfile=/scratch/kocevski/115018/cmap_HighResolution_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.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 0.82
user 0.39
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115018/Model_4FGL_J0510.4-1809_daily_bin1076.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/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits.....................!
real 93.80
user 92.00
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits', '/scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits', expMap='/scratch/kocevski/115018/expmap_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.fits', expCube='/scratch/kocevski/115018/ltcube_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115018/Model_4FGL_J0510.4-1809_daily_bin1076.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/115018/ft1_filtered_4FGL_J0510.4-1809_daily_bin1076.fits
Spacecraft file(s): /scratch/kocevski/115018/ft2_4FGL_J0510.4-1809_daily_bin1076.fits
Exposure map: /scratch/kocevski/115018/expmap_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.fits
Exposure cube: /scratch/kocevski/115018/ltcube_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115018/Model_4FGL_J0510.4-1809_daily_bin1076.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) = 6369.93067361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6078       1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.779       1.0000         .10000E-03   10000.    
     6 'norm      '    6.4088       1.0000         .10000E-03   10000.    
     7 'norm      '    .57825       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.353       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10775E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    229.26       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .37181E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    17.354       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1062       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .88778       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=   6369.930     FROM MIGRAD    STATUS=CONVERGED    312 CALLS     1478 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.966       -.73742E-07** at limit **
   2  Prefactor     .10000E-03    8.6727       -.40522E-07** at limit **
   3  norm          .10000E-03    74.083        .10612E-05** at limit **
   4  Prefactor     4.6073        6.4829        .60394E-07   -.22107E-03
   5  Prefactor     41.779        46.691       -.37762E-06    .59973E-05
   6  norm          6.4087        3.7805       -.13878E-06   -.96704E-05
   7  norm          .57825        .21804       -.18603E-07    .15650E-03
   8  Prefactor     19.346        36.367       -.65436E-05    .46354E-05
   9  Prefactor     .10001E-03    40.673        .15967E-05** at limit **
  10  norm          229.20        120.70       -.35915E-04    .13638E-05
  11  Prefactor     .10000E-03    31.507        .10507E-06** at limit **
  12  norm          .10000E-03    2.6788       -.66291E-06** at limit **
  13  norm          17.348        29.325       -.50014E-05    .29833E-07
  14  norm          .10000E-03    2.7540       -.47271E-08** at limit **
  15  Normalizat    1.1060        .18513        .18699E-05    .10122E-03
  16  Prefactor     .88793        .10278        .15196E-05    .24093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.60731
  Prefactor  = 41.7789
  norm       = 6.40869
  norm       = 0.578247
  Prefactor  = 19.3464
  Prefactor  = 0.000100012
  norm       = 229.203
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 17.3477
  norm       = 0.0001
  Normalizat = 1.10604
  Prefactor  = 0.887925
 **********
 **   18 **HESSE 
 **********

 FCN=   6369.930     FROM HESSE     STATUS=OK           203 CALLS     1681 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.6878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    74.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.6073        6.4731        .18751E-03   -1.5279    
   5  Prefactor     41.779        46.781        .62019E-04   -1.4414    
   6  norm          6.4087        3.7854        .11514E-03   -1.5202    
   7  norm          .57825        .21796        .21549E-04   -1.5556    
   8  Prefactor     19.346        36.364        .91044E-04   -1.4828    
   9  Prefactor     .10001E-03    41.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          229.20        120.74        .13363E-03   -1.2668    
  11  Prefactor     .10000E-03    31.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    8.9315        .24241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.348        29.385        .96144E-04   -1.4875    
  14  norm          .10000E-03    2.7543        .12935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1060        .20381        .30163E-03   -.89558    
  16  Prefactor     .88793        .10931        .18198E-03   -.96564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10207e-10
Minuit parameter uncertainties:
  1  2.26378e-05
  2  1.41431e-05
  3  1.59225e-06
  4  6.47411
  5  46.8226
  6  3.78553
  7  0.217959
  8  36.4054
  9  0.00139171
  10  120.869
  11  6.39501e-05
  12  0.000201574
  13  29.4095
  14  1.14614e-06
  15  0.203956
  16  0.109333
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  1.392e-03  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.879e-01  1.093e-01  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.106e+00  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 77.612 -18.164
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115018/likelihoodResults_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.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) = 6369.92987013
delta logL = -0.00011610351703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6369.92975416
delta logL = -1.28677129396e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7295       1.0000          .0000       10.000    
     3 'Normalizat'    1.1060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88793       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=   6369.930     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.337        .90712E-02** at limit **
   2  Index         2.7044        6.1617        .50000        .53081E-05
   3  Normalizat    1.1060        .52819E-02    .68177E-01    .50198E-04
   4  Prefactor     .88792        .29032E-02    .44851E-01    .43919E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.70438
  Normalizat = 1.10604
  Prefactor  = 0.887925
 **********
 **   18 **HESSE 
 **********

 FCN=   6369.930     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    191.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7044        8.6165        .50000       -.47701    
   3  Normalizat    1.1060        .12123E-01    .30163E-03   -.89558    
   4  Prefactor     .88792        .66704E-02    .18198E-03   -.96564    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.42131e-08
Minuit parameter uncertainties:
  1  0.00127493
  2  270.698
  3  0.0121231
  4  0.00667042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115018': 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) = 6369.92975411
delta logL = -8.19645720185e-08

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  1.275e-03  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.704e+00  2.707e+02  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.879e-01  6.670e-03  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.106e+00  1.212e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 77.612 -18.164

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/115018/cmap_HighResolution_518227201_518486401_4FGL_J0510.4-1809_daily_bin1076.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.52e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-08-22 05:15:29.028814', job_id='115018', GAL2='0.89', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1629634529.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-8.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1076' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:15:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 115018: <4FGL_J0510.4-1809_daily_bin1076> in cluster <slac> Done

Job <4FGL_J0510.4-1809_daily_bin1076> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 22 05:05:46 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 05:05:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 22 05:05:47 2021
Terminated at Sun Aug 22 05:15:29 2021
Results reported at Sun Aug 22 05:15:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin1076 77.6116 -18.1643 518227201 518486401 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 :                                   549.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             367.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            583 sec.

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

