/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 3 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 = 7410
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0510.4-1809_daily_bin213
RA = 77.6116, Dec = -18.1643
tmin = 294537601, tmax = 294796801
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='108565', job_status='RUN', time_executed='2021-08-22 04:47:59.560580', time_epoch_executed='1629632879.56' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='213'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108565

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108565/ft1_4FGL_J0510.4-1809_daily_bin213.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108565/ft2_4FGL_J0510.4-1809_daily_bin213.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108565/ft1_4FGL_J0510.4-1809_daily_bin213.fits outfile=/scratch/kocevski/108565/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin213.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=294537601.0 tmax=294796801.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 10.30
user 2.15
sys 8.09

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108565/ft1_filtered_4FGL_J0510.4-1809_daily_bin213.fits" evtable="EVENTS" scfile=/scratch/kocevski/108565/ft2_4FGL_J0510.4-1809_daily_bin213.fits sctable="SC_DATA" outfile=/scratch/kocevski/108565/ltcube_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.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/108565/ft2_4FGL_J0510.4-1809_daily_bin213.fits
.....................!
real 20.81
user 11.57
sys 9.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108565/ft1_filtered_4FGL_J0510.4-1809_daily_bin213.fits evtable="EVENTS" scfile=/scratch/kocevski/108565/ft2_4FGL_J0510.4-1809_daily_bin213.fits sctable="SC_DATA" expcube=/scratch/kocevski/108565/ltcube_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.fits outfile=/scratch/kocevski/108565/expmap_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.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/108565/ltcube_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.fits
.....................!
real 199.59
user 184.81
sys 14.33

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/108565/ft1_filtered_4FGL_J0510.4-1809_daily_bin213.fits scfile=/scratch/kocevski/108565/ft2_4FGL_J0510.4-1809_daily_bin213.fits outfile=/scratch/kocevski/108565/cmap_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.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 8.30
user 0.37
sys 7.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108565/ft1_filtered_4FGL_J0510.4-1809_daily_bin213.fits scfile=/scratch/kocevski/108565/ft2_4FGL_J0510.4-1809_daily_bin213.fits outfile=/scratch/kocevski/108565/cmap_HighResolution_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.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 8.30
user 0.37
sys 7.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/108565/ft1_filtered_4FGL_J0510.4-1809_daily_bin213.fits evtable="EVENTS" scfile=/scratch/kocevski/108565/ft2_4FGL_J0510.4-1809_daily_bin213.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/108565/Model_4FGL_J0510.4-1809_daily_bin213.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/108565/ft1_filtered_4FGL_J0510.4-1809_daily_bin213.fits.....................!
real 142.51
user 131.59
sys 10.48

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.8934       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8943       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.036       1.0000         .10000E-03   10000.    
     7 'norm      '    .35469       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.759       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10403E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .67717       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .80413       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0436       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=   9387.318     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1453 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2006       -.73174E-06** at limit **
   2  Prefactor     9.8928        17.445       -.48497E-06   -.27349E-04
   3  norm          .10000E-03    54.704       -.89787E-05** at limit **
   4  Prefactor     3.8942        2.9865        .24957E-07    .72235E-04
   5  Prefactor     .10000E-03    7.8655        .18431E-05** at limit **
   6  norm          17.035        4.1929        .30007E-07   -.15735E-05
   7  norm          .35468        .13645       -.85770E-08   -.39662E-03
   8  Prefactor     23.753        31.433       -.61054E-05    .45099E-04
   9  Prefactor     .10000E-03    28.982       -.14346E-04** at limit **
  10  norm          .10000E-03    34.006        .21231E-04** at limit **
  11  Prefactor     .10000E-03    9.3970       -.12064E-05** at limit **
  12  norm          .67979        2.2029       -.69678E-06   -.16095E-03
  13  norm          .10000E-03    12.167        .12149E-05** at limit **
  14  norm          .10000E-03    7.1909       -.68029E-06** at limit **
  15  Normalizat    .80418        .14304        .23365E-06    .16467E-03
  16  Prefactor     1.0436        .88258E-01    .40723E-06    .35631E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.89283
  norm       = 0.0001
  Prefactor  = 3.89421
  Prefactor  = 0.0001
  norm       = 17.0352
  norm       = 0.354682
  Prefactor  = 23.7531
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.679785
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.804183
  Prefactor  = 1.04359
 **********
 **   18 **HESSE 
 **********

 FCN=   9387.318     FROM HESSE     STATUS=OK           201 CALLS     1654 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.8928        17.453        .12740E-03   -1.5079    
   3  norm          .10000E-03    54.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8942        2.9870        .14264E-03   -1.5313    
   5  Prefactor     .10000E-03    7.8716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.035        4.2022        .94152E-04   -1.4882    
   7  norm          .35468        .13563        .21231E-04   -1.5589    
   8  Prefactor     23.753        31.383        .82178E-04   -1.4733    
   9  Prefactor     .10000E-03    29.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    34.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.4116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .67979        5.9599        .23516E-02   -1.5543    
  13  norm          .10000E-03    12.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    7.3559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .80418        .16010        .31549E-03   -.99914    
  16  Prefactor     1.0436        .99509E-01    .16916E-03   -.91290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11084e-08
Minuit parameter uncertainties:
  1  3.74428e-06
  2  17.462
  3  1.74129e-06
  4  2.98716
  5  7.53918e-07
  6  4.20224
  7  0.135627
  8  31.4043
  9  0.00018638
  10  1.04661e-05
  11  2.25744e-06
  12  4.02588
  13  5.49121e-06
  14  1.47833e-06
  15  0.160193
  16  0.0995266
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  1.864e-04  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:  1.044e+00  9.953e-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:  8.042e-01  1.602e-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: 6.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/108565/likelihoodResults_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.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) = 9387.31781665
delta logL = -0.00016415436221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9387.31765157
delta logL = 9.34202034841e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8012       1.0000          .0000       10.000    
     3 'Normalizat'    .80418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0436       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=   9387.318     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      264 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    .21859        .90712E-01** at limit **
   2  Index         2.8920        8.3913        .50000       -.12260E-04
   3  Normalizat    .80418        .67874E-03    .71294E-01   -.10452E-03
   4  Prefactor     1.0436        .41169E-03    .40300E-01   -.20071E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100034
  Index      = 2.89195
  Normalizat = 0.804182
  Prefactor  = 1.04359
 **********
 **   18 **HESSE 
 **********

 FCN=   9387.318     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      299 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    72.912        .52491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8920        5.8825        .50000       -.43522    
   3  Normalizat    .80418        .35793E-02    .31549E-03   -.99914    
   4  Prefactor     1.0436        .21750E-02    .16916E-03   -.91290    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.62352e-08
Minuit parameter uncertainties:
  1  0.00316649
  2  93.7148
  3  0.00357925
  4  0.00217504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108565': 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) = 9387.31765129
delta logL = 1.20539698401e-06

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  3.166e-03  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.892e+00  9.371e+01  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:  1.044e+00  2.175e-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:  8.042e-01  3.579e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/108565/cmap_HighResolution_294537601_294796801_4FGL_J0510.4-1809_daily_bin213.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.64e-08', time_completed='2021-08-22 05:00:45.132145', job_id='108565', GAL2='1.04', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1629633645.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.21e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='213' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:00:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 108565: <4FGL_J0510.4-1809_daily_bin213> in cluster <slac> Done

Job <4FGL_J0510.4-1809_daily_bin213> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 22 04:45:37 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 04:45:39 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:45:39 2021
Terminated at Sun Aug 22 05:00:47 2021
Results reported at Sun Aug 22 05:00:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin213 77.6116 -18.1643 294537601 294796801 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 :                                   886.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            910 sec.

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

