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


Performing analysis on: 4FGL_J0510.4-1809_daily_bin1186
RA = 77.6116, Dec = -18.1643
tmin = 546739201, tmax = 546998401
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='116208', job_status='RUN', time_executed='2021-08-22 05:11:57.500803', time_epoch_executed='1629634317.5' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='1186'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/116208

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/116208/ft1_4FGL_J0510.4-1809_daily_bin1186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/116208/ft2_4FGL_J0510.4-1809_daily_bin1186.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/116208/ft1_4FGL_J0510.4-1809_daily_bin1186.fits outfile=/scratch/kocevski/116208/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1186.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=546739201.0 tmax=546998401.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 7.35
user 3.34
sys 3.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/116208/ft1_filtered_4FGL_J0510.4-1809_daily_bin1186.fits" evtable="EVENTS" scfile=/scratch/kocevski/116208/ft2_4FGL_J0510.4-1809_daily_bin1186.fits sctable="SC_DATA" outfile=/scratch/kocevski/116208/ltcube_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.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/116208/ft2_4FGL_J0510.4-1809_daily_bin1186.fits
.....................!
real 16.24
user 11.77
sys 4.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/116208/ft1_filtered_4FGL_J0510.4-1809_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/116208/ft2_4FGL_J0510.4-1809_daily_bin1186.fits sctable="SC_DATA" expcube=/scratch/kocevski/116208/ltcube_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.fits outfile=/scratch/kocevski/116208/expmap_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.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/116208/ltcube_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.fits
.....................!
real 197.65
user 187.99
sys 9.23

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/116208/ft1_filtered_4FGL_J0510.4-1809_daily_bin1186.fits scfile=/scratch/kocevski/116208/ft2_4FGL_J0510.4-1809_daily_bin1186.fits outfile=/scratch/kocevski/116208/cmap_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.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 4.14
user 0.39
sys 3.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/116208/ft1_filtered_4FGL_J0510.4-1809_daily_bin1186.fits scfile=/scratch/kocevski/116208/ft2_4FGL_J0510.4-1809_daily_bin1186.fits outfile=/scratch/kocevski/116208/cmap_HighResolution_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.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 4.13
user 0.38
sys 3.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/116208/ft1_filtered_4FGL_J0510.4-1809_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/116208/ft2_4FGL_J0510.4-1809_daily_bin1186.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/116208/Model_4FGL_J0510.4-1809_daily_bin1186.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/116208/ft1_filtered_4FGL_J0510.4-1809_daily_bin1186.fits.....................!
real 76.72
user 70.45
sys 5.97

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0102       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10292E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .79343E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27428E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .10113E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .58059       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.915       1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.085       1.0000         .10000E-03   10000.    
    10 'norm      '    64.712       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.739       1.0000         .10000E-03   10000.    
    13 'norm      '    11.438       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5737       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .84521       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0795       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=   4364.166     FROM MIGRAD    STATUS=CONVERGED    322 CALLS     1517 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0153        13.348       -.15999E-04   -.25636E-04
   2  Prefactor     .10000E-03    7.1541       -.35245E-07** at limit **
   3  norm          .10000E-03    82.656       -.69450E-04** at limit **
   4  Prefactor     .17593        7.1855        .15826E-05   -.57982E-03
   5  Prefactor     .10003E-03    261.08       -.66696E-04** at limit **
   6  norm          .10000E-03    2.7986       -.21188E-07** at limit **
   7  norm          .58054        .23489        .38123E-07    .64993E-03
   8  Prefactor     30.957        38.952        .80084E-05   -.81454E-05
   9  Prefactor     41.077        31.945       -.49033E-05   -.14171E-04
  10  norm          64.759        74.554        .40887E-04   -.62562E-05
  11  Prefactor     .10001E-03    97.229        .13929E-03** at limit **
  12  norm          13.743        8.2677        .85202E-07   -.12003E-03
  13  norm          11.442        20.155       -.49861E-05   -.10250E-04
  14  norm          1.5809        30.257        .13452E-04   -.17779E-03
  15  Normalizat    .84512        .21615       -.10194E-06   -.40412E-03
  16  Prefactor     1.0793        .13772       -.93825E-06   -.24276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.01525
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.175928
  Prefactor  = 0.000100035
  norm       = 0.0001
  norm       = 0.580543
  Prefactor  = 30.9569
  Prefactor  = 41.0774
  norm       = 64.7591
  Prefactor  = 0.000100014
  norm       = 13.7435
  norm       = 11.4416
  norm       = 1.58087
  Normalizat = 0.845124
  Prefactor  = 1.07927
 **********
 **   18 **HESSE 
 **********

 FCN=   4364.166     FROM HESSE     STATUS=OK           207 CALLS     1724 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0153        13.342        .17966E-03   -1.5260    
   2  Prefactor     .10000E-03    7.1629        .17258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    82.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .17593        58.255        .33897E-02   -1.5624    
   5  Prefactor     .10003E-03    268.00        .36637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.0354        .21317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .58054        .23521        .19436E-04   -1.5556    
   8  Prefactor     30.957        38.962        .72062E-04   -1.4595    
   9  Prefactor     41.077        31.967        .62538E-04   -1.4425    
  10  norm          64.759        74.636        .24944E-03   -1.4097    
  11  Prefactor     .10001E-03    97.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.743        8.4590        .10806E-03   -1.4966    
  13  norm          11.442        20.163        .11845E-03   -1.5031    
  14  norm          1.5809        30.272        .33877E-03   -1.5456    
  15  Normalizat    .84512        .23773        .31611E-03   -.98416    
  16  Prefactor     1.0793        .15435        .17569E-03   -.90132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70643e-09
Minuit parameter uncertainties:
  1  13.3495
  2  4.4688e-06
  3  6.94152e-07
  4  6.40719
  5  0.00614182
  6  2.69551e-05
  7  0.235206
  8  38.9938
  9  31.9801
  10  74.7438
  11  0.0023734
  12  8.4597
  13  20.1746
  14  13.8432
  15  0.238022
  16  0.154413
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  4.108e+01  3.198e+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:  1.079e+00  1.544e-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:  8.451e-01  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.68
Ra Dec: 77.612 -18.164
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.34e-08 +/- 4.93e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.44e-05

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

Saving results to:
/scratch/kocevski/116208/likelihoodResults_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.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) = 4364.15701718
delta logL = 0.00877547555956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4364.15219861
delta logL = 0.0135940470536

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.773       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3795       1.0000          .0000       10.000    
     3 'Normalizat'    .84999       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0779       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=   4364.152     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.773        1096.8        .14979E-02    .15996E-03
   2  Index         2.3799        5.9114        .14630        .63701E-04
   3  Normalizat    .84998        .14778        .71262E-01    .15868E-04
   4  Prefactor     1.0779        .69429E-01    .38494E-01    .40044E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.7729
  Index      = 2.37991
  Normalizat = 0.849978
  Prefactor  = 1.0779
 **********
 **   18 **HESSE 
 **********

 FCN=   4364.152     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.773        41.809        .59918E-04   -1.4369    
   2  Index         2.3799        .70083        .73421E-02   -.55156    
   3  Normalizat    .84998        .22655        .31533E-03   -.98241    
   4  Prefactor     1.0779        .13933        .17579E-03   -.90176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45772e-09
Minuit parameter uncertainties:
  1  41.8364
  2  0.704028
  3  0.226805
  4  0.139378
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/116208': 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) = 4364.15219833
delta logL = 0.0135943239411

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  4.477e+01  4.184e+01  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.380e+00  7.040e-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.078e+00  1.394e-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:  8.500e-01  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.70
Ra Dec: 77.612 -18.164
Photon Index (Free Index): 2.38 +/- 0.70
Photon Flux (Free Index): 5.84e-08 +/- 5.53e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.77e-05

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/116208/cmap_HighResolution_546739201_546998401_4FGL_J0510.4-1809_daily_bin1186.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', comment='SUCCESS', photon_flux='6.34e-08', energy_flux2='1.97e-05', photon_flux_error='4.93e-08', dlogl='1.36e-02', energy_flux='1.86e-05', photon_flux2='5.84e-08', job_status='DONE', time_completed='2021-08-22 05:21:01.549422', photon_index_error2='0.70', photon_index2='2.38', ts='3.68', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.77e-05', EG='0.85', time_epoch_completed='1629634861.55', return_code='0', job_id='116208', GAL2='1.08', EG2='0.85', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='5.53e-08', ts2='3.70', photon_index='2.49' WHERE bin_id='1186' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:21:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 116208: <4FGL_J0510.4-1809_daily_bin1186> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin1186 77.6116 -18.1643 546739201 546998401 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 :                                   591.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             351.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            639 sec.

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

