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


Performing analysis on: 4FGL_J0510.4-1809_daily_bin1503
RA = 77.6116, Dec = -18.1643
tmin = 628905601, tmax = 629164801
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='117757', job_status='RUN', time_executed='2021-08-22 05:19:35.356903', time_epoch_executed='1629634775.36' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='1503'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117757

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117757/ft1_4FGL_J0510.4-1809_daily_bin1503.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117757/ft1_4FGL_J0510.4-1809_daily_bin1503.fits outfile=/scratch/kocevski/117757/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1503.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=628905601.0 tmax=629164801.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 4.17
user 3.32
sys 0.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.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/117757/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1503.fits evtable="EVENTS" outfile="/scratch/kocevski/117757/ft1_filtered_4FGL_J0510.4-1809_daily_bin1503.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.08
user 0.32
sys 0.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117757/ft1_filtered_4FGL_J0510.4-1809_daily_bin1503.fits" evtable="EVENTS" scfile=/scratch/kocevski/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.fits sctable="SC_DATA" outfile=/scratch/kocevski/117757/ltcube_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.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/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.fits
.....................!
real 12.74
user 11.71
sys 0.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117757/ft1_filtered_4FGL_J0510.4-1809_daily_bin1503.fits evtable="EVENTS" scfile=/scratch/kocevski/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.fits sctable="SC_DATA" expcube=/scratch/kocevski/117757/ltcube_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.fits outfile=/scratch/kocevski/117757/expmap_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.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/117757/ltcube_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.fits
.....................!
real 191.33
user 185.61
sys 5.34

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/117757/ft1_filtered_4FGL_J0510.4-1809_daily_bin1503.fits scfile=/scratch/kocevski/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.fits outfile=/scratch/kocevski/117757/cmap_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.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.15
user 0.37
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117757/ft1_filtered_4FGL_J0510.4-1809_daily_bin1503.fits scfile=/scratch/kocevski/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.fits outfile=/scratch/kocevski/117757/cmap_HighResolution_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.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.10
user 0.38
sys 0.71

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/117757/ft1_filtered_4FGL_J0510.4-1809_daily_bin1503.fits evtable="EVENTS" scfile=/scratch/kocevski/117757/ft2_4FGL_J0510.4-1809_daily_bin1503.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/117757/Model_4FGL_J0510.4-1809_daily_bin1503.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/117757/ft1_filtered_4FGL_J0510.4-1809_daily_bin1503.fits.....................!
real 128.16
user 125.79
sys 1.90

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.718       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5854       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .90333       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4273       1.0000         .10000E-03   10000.    
     7 'norm      '    .80812       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.885       1.0000         .10000E-03   10000.    
    10 'norm      '    .10593E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.354       1.0000         .10000E-03   10000.    
    12 'norm      '    4.5498       1.0000         .10000E-03   10000.    
    13 'norm      '    11.406       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .94353       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .87347       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=   9350.412     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1462 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.716        13.053       -.15341E-05   -.48670E-04
   2  Prefactor     .10000E-03    17.578       -.24535E-06** at limit **
   3  norm          .10000E-03    40.227       -.19783E-05** at limit **
   4  Prefactor     1.5852        3.5639       -.13492E-05   -.12998E-02
   5  Prefactor     .82992        15.390        .78748E-06   -.44637E-03
   6  norm          3.4269        2.6641       -.22024E-06   -.51255E-03
   7  norm          .80811        .16820       -.92398E-08    .12961E-03
   8  Prefactor     .10000E-03    20.013        .27662E-06** at limit **
   9  Prefactor     37.875        24.092       -.30351E-05    .47723E-05
  10  norm          .10000E-03    72.521       -.13673E-05** at limit **
  11  Prefactor     16.342        29.097       -.11094E-04   -.24631E-05
  12  norm          4.5501        3.3514       -.14540E-06   -.55415E-03
  13  norm          11.406        13.683        .11866E-07   -.94484E-05
  14  norm          .10000E-03    1.8198       -.24257E-07** at limit **
  15  Normalizat    .94362        .14766        .28007E-05   -.12488E-03
  16  Prefactor     .87344        .82353E-01   -.40394E-06    .17942E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7161
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.58517
  Prefactor  = 0.829925
  norm       = 3.42686
  norm       = 0.808109
  Prefactor  = 0.0001
  Prefactor  = 37.8748
  norm       = 0.0001
  Prefactor  = 16.3422
  norm       = 4.55012
  norm       = 11.4064
  norm       = 0.0001
  Normalizat = 0.943622
  Prefactor  = 0.873437
 **********
 **   18 **HESSE 
 **********

 FCN=   9350.412     FROM HESSE     STATUS=OK           205 CALLS     1667 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.716        13.016        .12238E-03   -1.5053    
   2  Prefactor     .10000E-03    17.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    40.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5852        3.7810        .28086E-03   -1.5456    
   5  Prefactor     .82992        109.91        .72619E-02   -1.5526    
   6  norm          3.4269        2.6762        .13317E-03   -1.5338    
   7  norm          .80811        .16838        .17218E-04   -1.5528    
   8  Prefactor     .10000E-03    20.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.875        23.885        .65116E-04   -1.4476    
  10  norm          .10000E-03    72.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.342        28.294        .99040E-04   -1.4899    
  12  norm          4.5501        3.4040        .14337E-03   -1.5281    
  13  norm          11.406        13.688        .11862E-03   -1.5032    
  14  norm          .10000E-03    1.8205        .12739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .94362        .16349        .28612E-03   -.94944    
  16  Prefactor     .87344        .91836E-01    .17554E-03   -.97076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.57034e-09
Minuit parameter uncertainties:
  1  13.0196
  2  5.16632e-05
  3  3.6801e-07
  4  3.78161
  5  19.1365
  6  2.67633
  7  0.168381
  8  2.92249e-05
  9  23.891
  10  0.000161022
  11  28.3174
  12  3.40418
  13  13.692
  14  5.28175e-07
  15  0.163574
  16  0.091852
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  3.787e+01  2.389e+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.734e-01  9.185e-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:  9.436e-01  1.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.65
Ra Dec: 77.612 -18.164
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 5.85e-08 +/- 3.69e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.08e-05

TS (Fixed Index): 3.65
Ra Dec: 77.612 -18.164
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/117757/likelihoodResults_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.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) = 9350.06886639
delta logL = 0.34265323305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9350.06371944
delta logL = 0.347800179668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.500       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0136       1.0000          .0000       10.000    
     3 'Normalizat'    .92305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88033       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=   9350.064     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      265 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.500        191.63        .21595E-02    .48363E-03
   2  Index         3.0132        2.6810        .15240        .16842E-03
   3  Normalizat    .92312        .57092E-01    .65368E-01   -.54546E-04
   4  Prefactor     .88034        .31422E-01    .44754E-01   -.14368E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5004
  Index      = 3.01323
  Normalizat = 0.923123
  Prefactor  = 0.880342
 **********
 **   18 **HESSE 
 **********

 FCN=   9350.064     FROM HESSE     STATUS=OK            31 CALLS      296 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.500        30.223        .86382E-04   -1.4780    
   2  Index         3.0132        .85327        .53165E-02   -.40863    
   3  Normalizat    .92312        .14920        .28914E-03   -.95652    
   4  Prefactor     .88034        .86589E-01    .17492E-03   -.96831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04912e-08
Minuit parameter uncertainties:
  1  30.2448
  2  0.858267
  3  0.149267
  4  0.0866021
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117757': 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) = 9350.06371867
delta logL = 0.347800953217

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  2.150e+01  3.024e+01  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  3.013e+00  8.583e-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:  8.803e-01  8.660e-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:  9.231e-01  1.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.41
Ra Dec: 77.612 -18.164
Photon Index (Free Index): 3.01 +/- 0.86
Photon Flux (Free Index): 7.67e-08 +/- 4.50e-08
Energy Flux (Free Index): 1.52e-05 +/- 9.45e-06

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/117757/cmap_HighResolution_628905601_629164801_4FGL_J0510.4-1809_daily_bin1503.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='5.85e-08', energy_flux2='1.52e-05', photon_flux_error='3.69e-08', dlogl='3.48e-01', energy_flux='1.71e-05', photon_flux2='7.67e-08', job_status='DONE', time_completed='2021-08-22 05:30:41.896480', photon_index_error2='0.86', photon_index2='3.01', ts='3.65', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='9.45e-06', EG='0.94', time_epoch_completed='1629635441.9', return_code='0', job_id='117757', GAL2='0.88', EG2='0.92', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='4.50e-08', ts2='4.41', photon_index='2.49' WHERE bin_id='1503' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:30:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 117757: <4FGL_J0510.4-1809_daily_bin1503> in cluster <slac> Done

Job <4FGL_J0510.4-1809_daily_bin1503> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 22 05:15:28 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 05:15:30 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:15:30 2021
Terminated at Sun Aug 22 05:30:42 2021
Results reported at Sun Aug 22 05:30:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin1503 77.6116 -18.1643 628905601 629164801 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 :                                   667.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

