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


Performing analysis on: 4FGL_J0510.4-1809_daily_bin1040
RA = 77.6116, Dec = -18.1643
tmin = 508896001, tmax = 509155201
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='114967', job_status='RUN', time_executed='2021-08-22 05:08:55.065375', time_epoch_executed='1629634135.07' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='1040'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/114967

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/114967/ft1_4FGL_J0510.4-1809_daily_bin1040.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/114967/ft2_4FGL_J0510.4-1809_daily_bin1040.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/114967/ft1_4FGL_J0510.4-1809_daily_bin1040.fits outfile=/scratch/kocevski/114967/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1040.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=508896001.0 tmax=509155201.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 3.96
user 3.45
sys 0.47

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/114967/ft1_filtered_4FGL_J0510.4-1809_daily_bin1040.fits" evtable="EVENTS" scfile=/scratch/kocevski/114967/ft2_4FGL_J0510.4-1809_daily_bin1040.fits sctable="SC_DATA" outfile=/scratch/kocevski/114967/ltcube_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.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/114967/ft2_4FGL_J0510.4-1809_daily_bin1040.fits
.....................!
real 12.03
user 11.35
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/114967/ft1_filtered_4FGL_J0510.4-1809_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/114967/ft2_4FGL_J0510.4-1809_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/114967/ltcube_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.fits outfile=/scratch/kocevski/114967/expmap_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.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/114967/ltcube_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.fits
.....................!
real 190.63
user 185.19
sys 5.13

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/114967/ft1_filtered_4FGL_J0510.4-1809_daily_bin1040.fits scfile=/scratch/kocevski/114967/ft2_4FGL_J0510.4-1809_daily_bin1040.fits outfile=/scratch/kocevski/114967/cmap_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.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.80
user 0.36
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/114967/ft1_filtered_4FGL_J0510.4-1809_daily_bin1040.fits scfile=/scratch/kocevski/114967/ft2_4FGL_J0510.4-1809_daily_bin1040.fits outfile=/scratch/kocevski/114967/cmap_HighResolution_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.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.79
user 0.38
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/114967/ft1_filtered_4FGL_J0510.4-1809_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/114967/ft2_4FGL_J0510.4-1809_daily_bin1040.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/114967/Model_4FGL_J0510.4-1809_daily_bin1040.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/114967/ft1_filtered_4FGL_J0510.4-1809_daily_bin1040.fits....................!
real 99.43
user 97.65
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.332       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1665       1.0000         .10000E-03   10000.    
     7 'norm      '    .30379       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10590E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.590       1.0000         .10000E-03   10000.    
    10 'norm      '    86.154       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10255E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    16.754       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3377       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .78107       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=   6580.439     FROM MIGRAD    STATUS=CONVERGED    300 CALLS     1432 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.187        .11988E-06** at limit **
   2  Prefactor     .10000E-03    82.918        .47651E-05** at limit **
   3  norm          .10000E-03    56.906        .57427E-04** at limit **
   4  Prefactor     .10000E-03    6.2518       -.11239E-07** at limit **
   5  Prefactor     27.328        38.968       -.45145E-05    .15528E-04
   6  norm          3.1666        3.4811       -.28504E-06   -.27900E-03
   7  norm          .30375        .17585        .15716E-07    .17401E-03
   8  Prefactor     .10000E-03    48.137       -.32041E-04** at limit **
   9  Prefactor     17.575        28.890       -.61045E-05    .72771E-04
  10  norm          86.129        84.219       -.23781E-04    .13285E-04
  11  Prefactor     .10000E-03    91.588       -.40003E-04** at limit **
  12  norm          .10000E-03    4.9985       -.91501E-07** at limit **
  13  norm          .10000E-03    8.2791       -.48385E-07** at limit **
  14  norm          16.755        10.743        .39170E-07    .63395E-05
  15  Normalizat    1.3376        .17886        .24324E-05    .15467E-03
  16  Prefactor     .78110        .92427E-01    .15274E-06    .31412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.3276
  norm       = 3.16657
  norm       = 0.303755
  Prefactor  = 0.0001
  Prefactor  = 17.5745
  norm       = 86.1285
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 16.7545
  Normalizat = 1.33755
  Prefactor  = 0.781096
 **********
 **   18 **HESSE 
 **********

 FCN=   6580.439     FROM HESSE     STATUS=OK           195 CALLS     1627 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    85.329        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    56.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.328        39.048        .76629E-04   -1.4662    
   6  norm          3.1666        3.4837        .15251E-03   -1.5352    
   7  norm          .30375        .17370        .24447E-04   -1.5598    
   8  Prefactor     .10000E-03    48.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.575        28.924        .95495E-04   -1.4869    
  10  norm          86.129        84.262        .21641E-03   -1.3849    
  11  Prefactor     .10000E-03    92.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.1407        .35303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.2825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.755        10.743        .97849E-04   -1.4889    
  15  Normalizat    1.3376        .19837        .27276E-03   -.82452    
  16  Prefactor     .78110        .10196        .18584E-03   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2507e-10
Minuit parameter uncertainties:
  1  7.85243e-06
  2  0.000536693
  3  4.21383e-07
  4  7.21483e-06
  5  39.0849
  6  3.48388
  7  0.173699
  8  0.000250822
  9  28.9467
  10  84.379
  11  8.39556e-05
  12  2.04416e-05
  13  1.63451e-06
  14  10.7443
  15  0.198479
  16  0.10198
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.757e+01  2.895e+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:  7.811e-01  1.020e-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.338e+00  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/114967/likelihoodResults_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.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) = 6580.40764967
delta logL = 0.0316169994721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6580.38860815
delta logL = 0.050658513087

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.907       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0959       1.0000          .0000       10.000    
     3 'Normalizat'    1.3192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78650       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=   6580.389     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      223 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.838        347.99        .30329E-02    .14572E-03
   2  Index         3.1026        3.6424        .21896        .81430E-04
   3  Normalizat    1.3190        .52541E-01    .62042E-01    .22022E-03
   4  Prefactor     .78656        .26450E-01    .43541E-01    .46347E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8376
  Index      = 3.10257
  Normalizat = 1.319
  Prefactor  = 0.786564
 **********
 **   18 **HESSE 
 **********

 FCN=   6580.389     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      254 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.838        910.99        .12131E-03   -1.5049    
   2  Index         3.1026        6.3245        .83859E-02   -.38924    
   3  Normalizat    1.3190        .31555        .27440E-03   -.83001    
   4  Prefactor     .78656        .13728        .18530E-03   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.27767e-10
Minuit parameter uncertainties:
  1  201.99
  2  13.4304
  3  0.316015
  4  0.137336
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/114967': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6580.38860334
delta logL = 0.050663322023

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.084e+01  2.020e+02  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  3.103e+00  1.343e+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:  7.866e-01  1.373e-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.319e+00  3.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
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/114967/cmap_HighResolution_508896001_509155201_4FGL_J0510.4-1809_daily_bin1040.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2021-08-22 05:18:08.478972', job_id='114967', GAL2='0.79', fit_tolerance='1e-08', EG2='1.32', EG='1.34', time_epoch_completed='1629634688.48', return_code2='102', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='5.07e-02', ts2='0.63', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1040' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:18:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0185>
Subject: Job 114967: <4FGL_J0510.4-1809_daily_bin1040> in cluster <slac> Done

Job <4FGL_J0510.4-1809_daily_bin1040> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 22 05:05:41 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 05:05:42 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:05:42 2021
Terminated at Sun Aug 22 05:18:08 2021
Results reported at Sun Aug 22 05:18:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin1040 77.6116 -18.1643 508896001 509155201 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 :                                   552.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            747 sec.

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

