/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 12 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 = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0510.4-1809_daily_bin1584
RA = 77.6116, Dec = -18.1643
tmin = 649900801, tmax = 650160001
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='117881', job_status='RUN', time_executed='2021-08-22 05:16:05.049141', time_epoch_executed='1629634565.05' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='1584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117881

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117881/ft1_4FGL_J0510.4-1809_daily_bin1584.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117881/ft1_4FGL_J0510.4-1809_daily_bin1584.fits outfile=/scratch/kocevski/117881/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1584.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=649900801.0 tmax=650160001.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 5.29
user 4.78
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.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/117881/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1584.fits evtable="EVENTS" outfile="/scratch/kocevski/117881/ft1_filtered_4FGL_J0510.4-1809_daily_bin1584.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.74
user 0.34
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117881/ft1_filtered_4FGL_J0510.4-1809_daily_bin1584.fits" evtable="EVENTS" scfile=/scratch/kocevski/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.fits sctable="SC_DATA" outfile=/scratch/kocevski/117881/ltcube_649900801_650160001_4FGL_J0510.4-1809_daily_bin1584.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/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.fits
.....................!
real 12.10
user 11.51
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117881/ft1_filtered_4FGL_J0510.4-1809_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.fits sctable="SC_DATA" expcube=/scratch/kocevski/117881/ltcube_649900801_650160001_4FGL_J0510.4-1809_daily_bin1584.fits outfile=/scratch/kocevski/117881/expmap_649900801_650160001_4FGL_J0510.4-1809_daily_bin1584.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/117881/ltcube_649900801_650160001_4FGL_J0510.4-1809_daily_bin1584.fits
.....................!
real 190.67
user 185.33
sys 4.96

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/117881/ft1_filtered_4FGL_J0510.4-1809_daily_bin1584.fits scfile=/scratch/kocevski/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.fits outfile=/scratch/kocevski/117881/cmap_649900801_650160001_4FGL_J0510.4-1809_daily_bin1584.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=77.6116 yref=-18.1643 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.38
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117881/ft1_filtered_4FGL_J0510.4-1809_daily_bin1584.fits scfile=/scratch/kocevski/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.fits outfile=/scratch/kocevski/117881/cmap_HighResolution_649900801_650160001_4FGL_J0510.4-1809_daily_bin1584.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=77.6116 yref=-18.1643 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.75
user 0.39
sys 0.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/117881/ft1_filtered_4FGL_J0510.4-1809_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/117881/ft2_4FGL_J0510.4-1809_daily_bin1584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/117881/Model_4FGL_J0510.4-1809_daily_bin1584.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/117881/ft1_filtered_4FGL_J0510.4-1809_daily_bin1584.fits.....................!
real 91.43
user 89.31
sys 1.57

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0348       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.0634       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1195       1.0000         .10000E-03   10000.    
     8 'Prefactor '    121.35       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18293E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.735       1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    14.918       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5043       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .81262       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=   5697.695     FROM MIGRAD    STATUS=CONVERGED    308 CALLS     1496 TOTAL
                     EDM=   .73E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2668        .18896E-07** at limit **
   2  Prefactor     .10000E-03    18.494       -.23224E-07** at limit **
   3  norm          .10000E-03    139.46        .37198E-07** at limit **
   4  Prefactor     1.0352        5.1646        .13594E-05    .11912E-04
   5  Prefactor     .10000E-03    21.920       -.44736E-07** at limit **
   6  norm          3.0646        3.6990        .14089E-06    .35800E-05
   7  norm          1.1195        .29144       -.66076E-08    .19822E-03
   8  Prefactor     121.21        73.895        .99643E-07   -.17837E-05
   9  Prefactor     .10000E-03    176.21       -.17618E-04** at limit **
  10  norm          .10000E-03    31.398       -.31620E-06** at limit **
  11  Prefactor     16.771        64.682       -.28777E-06    .76595E-05
  12  norm          .10000E-03    7.4698        .69101E-06** at limit **
  13  norm          .10000E-03    20.633        .16940E-06** at limit **
  14  norm          14.920        13.530       -.10890E-07    .25991E-06
  15  Normalizat    1.5038        .22314        .20986E-06    .47222E-04
  16  Prefactor     .81269        .11091       -.14153E-06    .35692E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.03518
  Prefactor  = 0.0001
  norm       = 3.06463
  norm       = 1.11952
  Prefactor  = 121.206
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 16.7706
  norm       = 0.0001
  norm       = 0.0001
  norm       = 14.9196
  Normalizat = 1.5038
  Prefactor  = 0.812692
 **********
 **   18 **HESSE 
 **********

 FCN=   5697.695     FROM HESSE     STATUS=OK           201 CALLS     1697 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    139.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0352        5.1005        .33314E-03   -1.5504    
   5  Prefactor     .10000E-03    21.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0646        3.6929        .15437E-03   -1.5358    
   7  norm          1.1195        .29220        .19966E-04   -1.5496    
   8  Prefactor     121.21        73.955        .18267E-03   -1.3502    
   9  Prefactor     .10000E-03    176.40        .40615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    31.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.771        65.415        .97906E-04   -1.4889    
  12  norm          .10000E-03    7.6837        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    20.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          14.920        13.530        .10370E-03   -1.4935    
  15  Normalizat    1.5038        .24987        .29411E-03   -.77672    
  16  Prefactor     .81269        .12312        .20123E-03   -.99262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57167e-11
Minuit parameter uncertainties:
  1  7.12445e-07
  2  8.15908e-06
  3  4.17778e-05
  4  4.59603
  5  5.30611e-06
  6  3.69322
  7  0.292196
  8  74.0112
  9  0.00115097
  10  5.60933e-06
  11  65.6967
  12  4.72428e-06
  13  6.53053e-06
  14  13.533
  15  0.250072
  16  0.123164
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  1.151e-03  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.493e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  8.863e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  8.127e-01  1.232e-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.504e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/117881/likelihoodResults_649900801_650160001_4FGL_J0510.4-1809_daily_bin1584.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) = 5697.69537875
delta logL = -2.69111806119e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5697.64273107
delta logL = 0.0526207695248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7652       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5274       1.0000          .0000       10.000    
     3 'Normalizat'    1.4824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81733       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=   5697.643     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      330 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7723        104.11        .12238E-02    .28818E-03
   2  Index         3.5276        6.7637        .83521E-02   -.71149E-05
   3  Normalizat    1.4825        .24005        .29580E-03   -.18410E-04
   4  Prefactor     .81729        .12192        .20071E-03   -.47579E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77232
  Index      = 3.52759
  Normalizat = 1.48249
  Prefactor  = 0.817293
 **********
 **   18 **HESSE 
 **********

 FCN=   5697.643     FROM HESSE     STATUS=OK            27 CALLS      357 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7723        19.681        .24476E-03   -1.5375    
   2  Index         3.5276        2.5180        .33408E-03   -.29891    
   3  Normalizat    1.4825        .23960        .11832E-04   -.78271    
   4  Prefactor     .81729        .12201        .80284E-05   -.99094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45349e-11
Minuit parameter uncertainties:
  1  14.78
  2  2.65213
  3  0.239781
  4  0.122051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117881': 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) = 5697.64273041
delta logL = 0.0526214264937

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  2.772e+00  1.478e+01  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  3.528e+00  2.652e+00  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.173e-01  1.221e-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.482e+00  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.96e-03', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-08-22 05:25:12.643459', job_id='117881', GAL2='0.82', fit_tolerance='1e-08', EG2='1.48', EG='1.50', time_epoch_completed='1629635112.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='5.26e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1584' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:25:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 117881: <4FGL_J0510.4-1809_daily_bin1584> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin1584 77.6116 -18.1643 649900801 650160001 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 :                                   537.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             354.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            575 sec.

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

