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


Performing analysis on: 4FGL_J0510.4-1809_daily_bin1296
RA = 77.6116, Dec = -18.1643
tmin = 575251201, tmax = 575510401
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='116371', job_status='RUN', time_executed='2021-08-22 05:14:23.134118', time_epoch_executed='1629634463.13' WHERE source_name='4FGL J0510.4-1809' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/116371

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/116371/ft1_4FGL_J0510.4-1809_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/116371/ft2_4FGL_J0510.4-1809_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/116371/ft1_4FGL_J0510.4-1809_daily_bin1296.fits outfile=/scratch/kocevski/116371/ft1_filteredMKT_4FGL_J0510.4-1809_daily_bin1296.fits ra=77.6116 dec=-18.1643 rad=12.0 tmin=575251201.0 tmax=575510401.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 14.21
user 5.06
sys 9.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/116371/ft1_filtered_4FGL_J0510.4-1809_daily_bin1296.fits" evtable="EVENTS" scfile=/scratch/kocevski/116371/ft2_4FGL_J0510.4-1809_daily_bin1296.fits sctable="SC_DATA" outfile=/scratch/kocevski/116371/ltcube_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.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/116371/ft2_4FGL_J0510.4-1809_daily_bin1296.fits
.....................!
real 21.13
user 11.78
sys 9.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/116371/ft1_filtered_4FGL_J0510.4-1809_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/116371/ft2_4FGL_J0510.4-1809_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/116371/ltcube_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.fits outfile=/scratch/kocevski/116371/expmap_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.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/116371/ltcube_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.fits
.....................!
real 201.81
user 185.16
sys 16.16

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/116371/ft1_filtered_4FGL_J0510.4-1809_daily_bin1296.fits scfile=/scratch/kocevski/116371/ft2_4FGL_J0510.4-1809_daily_bin1296.fits outfile=/scratch/kocevski/116371/cmap_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.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 9.22
user 0.38
sys 8.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/116371/ft1_filtered_4FGL_J0510.4-1809_daily_bin1296.fits scfile=/scratch/kocevski/116371/ft2_4FGL_J0510.4-1809_daily_bin1296.fits outfile=/scratch/kocevski/116371/cmap_HighResolution_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.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 9.14
user 0.38
sys 8.73

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/116371/ft1_filtered_4FGL_J0510.4-1809_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/116371/ft2_4FGL_J0510.4-1809_daily_bin1296.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/116371/Model_4FGL_J0510.4-1809_daily_bin1296.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/116371/ft1_filtered_4FGL_J0510.4-1809_daily_bin1296.fits.....................!
real 112.47
user 99.37
sys 12.77

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.143       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3812       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 '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.0342       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3265       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.931       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3327       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .80870       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=   6658.059     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1404 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.142        18.516        .18244E-02    .10413E-03
   2  Prefactor     7.3796        21.937        .36906E-02    .22669E-03
   3  norm          .10000E-03    55.320        .90712E-02** at limit **
   4  Prefactor     .10000E-03    1.9804        .90712E-02** at limit **
   5  Prefactor     .10000E-03    19.638        .90712E-02** at limit **
   6  norm          8.0340        4.0504        .35363E-02    .10483E-03
   7  norm          1.3265        .25665        .39329E-02   -.37341E-04
   8  Prefactor     .10000E-03    29.175        .90712E-02** at limit **
   9  Prefactor     .10000E-03    11.533        .90712E-02** at limit **
  10  norm          .10000E-03    19.633        .90712E-02** at limit **
  11  Prefactor     37.931        31.093        .16269E-02    .34535E-03
  12  norm          .10000E-03    2.0384        .90712E-02** at limit **
  13  norm          .10000E-03    11.998        .90712E-02** at limit **
  14  norm          .10000E-03    3.2719        .90712E-02** at limit **
  15  Normalizat    1.3327        .19186        .65414E-01    .80228E-05
  16  Prefactor     .80867        .10179        .43830E-01    .71077E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.1421
  Prefactor  = 7.37965
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.03403
  norm       = 1.32648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.9308
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.33271
  Prefactor  = 0.808668
 **********
 **   18 **HESSE 
 **********

 FCN=   6658.059     FROM HESSE     STATUS=OK           197 CALLS     1601 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.142        18.572        .72976E-04   -1.4609    
   2  Prefactor     7.3796        21.944        .14763E-03   -1.5165    
   3  norm          .10000E-03    55.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9879        .11213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.0340        4.0627        .11176E-03   -1.5141    
   7  norm          1.3265        .25768        .17378E-04   -1.5478    
   8  Prefactor     .10000E-03    29.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    19.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.931        31.174        .65077E-04   -1.4475    
  12  norm          .10000E-03    2.0505        .11371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    12.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.2727        .14415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3327        .21475        .28936E-03   -.82595    
  16  Prefactor     .80867        .11342        .19853E-03   -.99410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98665e-10
Minuit parameter uncertainties:
  1  18.5756
  2  21.9684
  3  2.96792e-05
  4  4.00295e-09
  5  3.11484e-05
  6  4.0628
  7  0.257676
  8  7.96001e-06
  9  1.08043e-06
  10  3.52818e-05
  11  31.1874
  12  8.28552e-08
  13  2.30992e-06
  14  4.58975e-08
  15  0.214893
  16  0.113456
Done.

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

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  1.080e-06  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.087e-01  1.135e-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.333e+00  2.149e-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: 7.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/116371/likelihoodResults_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.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): 102
logL (Free Index) = 6658.05937204
delta logL = -0.00041252041774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6658.05895952
delta logL = 2.42107489612e-09

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 'Index     '    2.4895       1.0000          .0000       10.000    
     3 'Normalizat'    1.3327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80867       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=   6658.059     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      249 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10029E-03    634.71        .18142E-02** at limit **
   2  Index         2.4303        8.1676        .50000        .19923E-05
   3  Normalizat    1.3327        .43660E-01    .28936E-03   -.26324E-05
   4  Prefactor     .80867        .24133E-01    .19853E-03   -.20043E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100291
  Index      = 2.43035
  Normalizat = 1.33271
  Prefactor  = 0.808668
 **********
 **   18 **HESSE 
 **********

 FCN=   6658.059     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10029E-03    2076.5        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4303        5.8593        .50000       -.53976    
   3  Normalizat    1.3327        .11175        .11574E-04   -.82595    
   4  Prefactor     .80867        .61656E-01    .79412E-05   -.99410    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58085e-08
Minuit parameter uncertainties:
  1  0.0510609
  2  4745.23
  3  0.111773
  4  0.0616617
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/116371': 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) = 6658.0589595
delta logL = 2.28010321734e-08

Extracting fit parameters...

4FGL J0510.4-1809
   Spectrum: PowerLaw
235    Prefactor:  1.003e-04  5.106e-02  1.000e-04  1.000e+04 ( 1.000e-13)
236        Index:  2.430e+00  4.745e+03  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.087e-01  6.166e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.333e+00  1.118e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/116371/cmap_HighResolution_575251201_575510401_4FGL_J0510.4-1809_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', job_status='DONE', photon_flux_upper_limit='7.73e-08', time_completed='2021-08-22 05:26:05.096500', job_id='116371', GAL2='0.81', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1629635165.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.28e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1296' AND source_name='4FGL J0510.4-1809' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 05:26:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 116371: <4FGL_J0510.4-1809_daily_bin1296> in cluster <slac> Done

Job <4FGL_J0510.4-1809_daily_bin1296> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 22 05:10:36 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 05:10:38 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:38 2021
Terminated at Sun Aug 22 05:26:06 2021
Results reported at Sun Aug 22 05:26:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0510.4-1809_daily_bin1296 77.6116 -18.1643 575251201 575510401 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 :                                   821.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

