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


Performing analysis on: 4FGL_J0510.4-1809_daily_bin1165
RA = 77.6116, Dec = -18.1643
tmin = 541296001, tmax = 541555201
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='116177', job_status='RUN', time_executed='2021-08-22 05:13:47.844009', time_epoch_executed='1629634427.84' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='1165'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/116177

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/116177/ft1_4FGL_J0510.4-1809_daily_bin1165.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/116177/ft2_4FGL_J0510.4-1809_daily_bin1165.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/116177/ft1_4FGL_J0510.4-1809_daily_bin1165.fits outfile=/scratch/kocevski/116177/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1165.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=541296001.0 tmax=541555201.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 9.87
user 3.46
sys 6.37

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/116177/ft1_filtered_4FGL_J0510.4-1809_daily_bin1165.fits" evtable="EVENTS" scfile=/scratch/kocevski/116177/ft2_4FGL_J0510.4-1809_daily_bin1165.fits sctable="SC_DATA" outfile=/scratch/kocevski/116177/ltcube_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.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/116177/ft2_4FGL_J0510.4-1809_daily_bin1165.fits
.....................!
real 19.35
user 12.05
sys 7.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/116177/ft1_filtered_4FGL_J0510.4-1809_daily_bin1165.fits evtable="EVENTS" scfile=/scratch/kocevski/116177/ft2_4FGL_J0510.4-1809_daily_bin1165.fits sctable="SC_DATA" expcube=/scratch/kocevski/116177/ltcube_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.fits outfile=/scratch/kocevski/116177/expmap_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.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/116177/ltcube_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.fits
.....................!
real 199.28
user 186.52
sys 12.12

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/116177/ft1_filtered_4FGL_J0510.4-1809_daily_bin1165.fits scfile=/scratch/kocevski/116177/ft2_4FGL_J0510.4-1809_daily_bin1165.fits outfile=/scratch/kocevski/116177/cmap_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.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 6.36
user 0.39
sys 5.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/116177/ft1_filtered_4FGL_J0510.4-1809_daily_bin1165.fits scfile=/scratch/kocevski/116177/ft2_4FGL_J0510.4-1809_daily_bin1165.fits outfile=/scratch/kocevski/116177/cmap_HighResolution_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.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 6.78
user 0.38
sys 6.27

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/116177/ft1_filtered_4FGL_J0510.4-1809_daily_bin1165.fits evtable="EVENTS" scfile=/scratch/kocevski/116177/ft2_4FGL_J0510.4-1809_daily_bin1165.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/116177/Model_4FGL_J0510.4-1809_daily_bin1165.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/116177/ft1_filtered_4FGL_J0510.4-1809_daily_bin1165.fits.....................!
real 118.98
user 103.21
sys 9.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .35711E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .49802E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.8066       1.0000         .10000E-03   10000.    
     7 'norm      '    .85687E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.555       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.810       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3461       1.0000         .10000E-03   10000.    
    13 'norm      '    10.716       1.0000         .10000E-03   10000.    
    14 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1394       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90192       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=   6973.327     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1587 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.174       -.15472E-05** at limit **
   2  Prefactor     .10017E-03    13.081       -.16853E-05** at limit **
   3  norm          .10000E-03    49.801        .38207E-05** at limit **
   4  Prefactor     .10170E-03    9.0714        .58966E-05** at limit **
   5  Prefactor     .10000E-03    32.201       -.23021E-05** at limit **
   6  norm          2.8064        3.3273        .59870E-07    .11148E-03
   7  norm          .85676E-01    .11122        .63634E-08    .23072E-04
   8  Prefactor     15.525        41.340        .27619E-05    .29526E-04
   9  Prefactor     21.814        28.681       -.85978E-07   -.62032E-05
  10  norm          .10000E-03    19.569        .27171E-06** at limit **
  11  Prefactor     .10000E-03    8.5362       -.22703E-07** at limit **
  12  norm          4.3475        5.3607        .37477E-05    .13985E-02
  13  norm          10.717        18.658        .27197E-06   -.13768E-04
  14  norm          .10000E-03    24.129        .21365E-05** at limit **
  15  Normalizat    1.1395        .17759        .18698E-05   -.89086E-04
  16  Prefactor     .90186        .10437       -.20599E-05    .12376E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.00010017
  norm       = 0.000100001
  Prefactor  = 0.000101699
  Prefactor  = 0.0001
  norm       = 2.8064
  norm       = 0.0856762
  Prefactor  = 15.5251
  Prefactor  = 21.8141
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.34749
  norm       = 10.7166
  norm       = 0.0001
  Normalizat = 1.13947
  Prefactor  = 0.901865
 **********
 **   18 **HESSE 
 **********

 FCN=   6973.327     FROM HESSE     STATUS=OK           221 CALLS     1808 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10017E-03    15.679        .93580E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    49.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10170E-03    4.3481        .54366E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.8064        3.3347        .15796E-03   -1.5373    
   7  norm          .85676E-01    .98557E-01    .30408E-03   -1.5649    
   8  Prefactor     15.525        41.386        .10155E-03   -1.4920    
   9  Prefactor     21.814        28.718        .85767E-04   -1.4774    
  10  norm          .10000E-03    19.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.5408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3475        5.5059        .96608E-03   -1.5291    
  13  norm          10.717        18.677        .12239E-03   -1.5053    
  14  norm          .10000E-03    24.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1395        .19812        .28252E-03   -.88495    
  16  Prefactor     .90186        .11632        .17852E-03   -.96076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5473e-09
Minuit parameter uncertainties:
  1  5.20057e-05
  2  0.00326807
  3  0.000517948
  4  0.00543659
  5  0.000251342
  6  3.33496
  7  0.0985575
  8  41.463
  9  28.7366
  10  2.4104e-05
  11  5.5172e-06
  12  5.50658
  13  18.6869
  14  7.82081e-05
  15  0.198254
  16  0.116348
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  2.181e+01  2.874e+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:  9.019e-01  1.163e-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.139e+00  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
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/116177/likelihoodResults_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.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) = 6973.24463912
delta logL = 0.0827839011681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6973.24014717
delta logL = 0.0872758534533

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.888       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1788       1.0000          .0000       10.000    
     3 'Normalizat'    1.1454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89870       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6973.240     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      301 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.889        39.435        .72093E-04   -.46362E-04
   2  Index         2.1788        .68530        .91856E-02   -.40766E-04
   3  Normalizat    1.1453        .18495        .28184E-03    .98139E-04
   4  Prefactor     .89875        .10506        .17876E-03    .12014E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.889
  Index      = 2.17876
  Normalizat = 1.14532
  Prefactor  = 0.89875
 **********
 **   18 **HESSE 
 **********

 FCN=   6973.240     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.889        38.678        .28837E-05   -1.4596    
   2  Index         2.1788        .67230        .36742E-03   -.59952    
   3  Normalizat    1.1453        .18503        .11274E-04   -.88310    
   4  Prefactor     .89875        .10509        .35752E-04   -.96185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01671e-11
Minuit parameter uncertainties:
  1  38.7095
  2  0.675303
  3  0.185134
  4  0.105114
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/116177': 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) = 6973.24014703
delta logL = 0.0872759953654

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  3.089e+01  3.871e+01  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.179e+00  6.753e-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.987e-01  1.051e-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.145e+00  1.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.75
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/116177/cmap_HighResolution_541296001_541555201_4FGL_J0510.4-1809_daily_bin1165.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-08-22 05:25:15.160358', job_id='116177', GAL2='0.90', fit_tolerance='1e-08', EG2='1.15', EG='1.14', time_epoch_completed='1629635115.16', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='8.73e-02', ts2='0.92', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1165' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:25:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 116177: <4FGL_J0510.4-1809_daily_bin1165> in cluster <slac> Done

Job <4FGL_J0510.4-1809_daily_bin1165> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 22 05:10:19 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 05:10:21 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:10:21 2021
Terminated at Sun Aug 22 05:25:16 2021
Results reported at Sun Aug 22 05:25:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin1165 77.6116 -18.1643 541296001 541555201 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 :                                   768.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            897 sec.

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

