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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin585
RA = 127.973, Dec = 4.4941
tmin = 390960001, tmax = 391219201
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='522491', job_status='RUN', time_executed='2021-08-29 22:47:43.375999', time_epoch_executed='1630302463.38' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='585'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522491

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522491/ft1_4FGL_J0831.8+0429_daily_bin585.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522491/ft1_4FGL_J0831.8+0429_daily_bin585.fits outfile=/scratch/kocevski/522491/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin585.fits ra=127.973 dec=4.4941 rad=12.0 tmin=390960001.0 tmax=391219201.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 4.75
user 4.22
sys 0.46

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.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/522491/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin585.fits evtable="EVENTS" outfile="/scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.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.73
user 0.33
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits" evtable="EVENTS" scfile=/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits sctable="SC_DATA" outfile=/scratch/kocevski/522491/ltcube_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.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/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits
.....................!
real 12.40
user 11.76
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits sctable="SC_DATA" expcube=/scratch/kocevski/522491/ltcube_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.fits outfile=/scratch/kocevski/522491/expmap_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.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/522491/ltcube_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.fits
.....................!
real 193.17
user 187.11
sys 5.32

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J0831.8+0429 @ 127.973 4.4941

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits scfile=/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits outfile=/scratch/kocevski/522491/cmap_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.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=127.973 yref=4.4941 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.87
user 0.38
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits scfile=/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits outfile=/scratch/kocevski/522491/cmap_HighResolution_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.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=127.973 yref=4.4941 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 1.16
user 0.40
sys 0.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/522491/Model_4FGL_J0831.8+0429_daily_bin585.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/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits.....................!
real 80.41
user 77.45
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits', '/scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits', expMap='/scratch/kocevski/522491/expmap_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.fits', expCube='/scratch/kocevski/522491/ltcube_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/522491/Model_4FGL_J0831.8+0429_daily_bin585.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0831.8+0429'

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.397e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.181e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  7.610e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  5.835e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/522491/ft1_filtered_4FGL_J0831.8+0429_daily_bin585.fits
Spacecraft file(s): /scratch/kocevski/522491/ft2_4FGL_J0831.8+0429_daily_bin585.fits
Exposure map: /scratch/kocevski/522491/expmap_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.fits
Exposure cube: /scratch/kocevski/522491/ltcube_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/522491/Model_4FGL_J0831.8+0429_daily_bin585.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) = 7093.00504402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.334       1.0000         .10000E-03   10000.    
     3 'Prefactor '    139.68       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6119       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.7574       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6170       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.3448       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .83825       1.0000         .10000E-03   10000.    
    13 'norm      '    10.253       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.2449       1.0000         .10000E-03   10000.    
    16 'norm      '    22.598       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3947       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .68842       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=   7092.995     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1685 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.4624       -.84630E-07** at limit **
   2  Prefactor     10.334        9.0115        .28051E-07   -.11089E-05
   3  Prefactor     139.45        162.05       -.15570E-05   -.96389E-04
   4  Prefactor     5.6118        7.4949        .39341E-05   -.11704E-03
   5  Prefactor     .10000E-03    10.672        .90371E-07** at limit **
   6  norm          7.7576        8.2835        .66413E-06   -.65436E-04
   7  norm          1.6170        1.8366       -.24836E-06   -.13043E-03
   8  norm          .10000E-03    5.1922        .48097E-07** at limit **
   9  norm          9.3453        4.5386        .30070E-07   -.60602E-05
  10  Prefactor     .10000E-03    6.8833        .79263E-07** at limit **
  11  Prefactor     .10000E-03    8.4382       -.74629E-07** at limit **
  12  norm          .83825        .68147        .15252E-07   -.39439E-04
  13  norm          10.253        7.4003        .10331E-05   -.61835E-04
  14  Prefactor     .10000E-03    54.772        .53800E-06** at limit **
  15  norm          2.2448        3.6096        .57657E-06   -.14121E-04
  16  norm          22.599        8.8947       -.14861E-07   -.12542E-04
  17  Normalizat    1.3946        .17983       -.18794E-07   -.59849E-04
  18  Prefactor     .68851        .13565       -.11396E-05   -.40398E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 10.3338
  Prefactor  = 139.445
  Prefactor  = 5.61178
  Prefactor  = 0.0001
  norm       = 7.75763
  norm       = 1.617
  norm       = 0.0001
  norm       = 9.34529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.838253
  norm       = 10.2532
  Prefactor  = 0.0001
  norm       = 2.24482
  norm       = 22.5988
  Normalizat = 1.39456
  Prefactor  = 0.688507
 **********
 **   18 **HESSE 
 **********

 FCN=   7092.995     FROM HESSE     STATUS=OK           248 CALLS     1933 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.4702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.334        9.0125        .12464E-03   -1.5065    
   3  Prefactor     139.45        162.01        .17042E-03   -1.3341    
   4  Prefactor     5.6118        7.4930        .84790E-03   -1.5234    
   5  Prefactor     .10000E-03    10.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.7576        8.2689        .71986E-03   -1.5151    
   7  norm          1.6170        1.8344        .11775E-03   -1.5454    
   8  norm          .10000E-03    5.1981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.3453        4.5378        .11979E-03   -1.5096    
  10  Prefactor     .10000E-03    6.8861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.4829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .83825        .69931        .60364E-03   -1.5525    
  13  norm          10.253        7.4002        .62568E-03   -1.5067    
  14  Prefactor     .10000E-03    55.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2448        3.5979        .19431E-03   -1.5408    
  16  norm          22.599        8.8981        .84260E-04   -1.4757    
  17  Normalizat    1.3946        .21078        .24075E-03   -.80786    
  18  Prefactor     .68851        .15808        .24899E-03   -1.0398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25494e-10
Minuit parameter uncertainties:
  1  9.12023e-06
  2  9.01364
  3  162.527
  4  7.49421
  5  7.03128e-06
  6  8.27008
  7  1.83447
  8  1.66651e-06
  9  4.53796
  10  1.98408e-05
  11  1.21177e-06
  12  0.699318
  13  7.40088
  14  7.69907e-05
  15  3.59827
  16  8.89862
  17  0.210915
  18  0.15818
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  8.383e-01  6.993e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.181e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  7.610e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  5.835e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  6.885e-01  1.582e-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.395e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.50
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.97e-08 +/- 2.48e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 9.92e-06

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) = 7092.15373767
delta logL = 0.841252346636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7092.14363125
delta logL = 0.851358766186

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11794       1.0000         .10000E-03   10000.    
     2 'alpha     '    .83371       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4200       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68294       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=   7092.144     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      217 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11814        .11917        .64372E-02   -.12763E-02
   2  alpha         .83377        .42581        .38129       -.39704E-04
   3  Normalizat    1.4198        .17694        .54051E-01    .51871E-05
   4  Prefactor     .68303        .13423        .42174E-01    .22693E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.118139
  alpha      = 0.833767
  Normalizat = 1.41981
  Prefactor  = 0.683034
 **********
 **   18 **HESSE 
 **********

 FCN=   7092.144     FROM HESSE     STATUS=OK            35 CALLS      252 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11814        .23760        .24580E-03   -1.5639    
   2  alpha         .83377        .74188        .16336E-01   -.72950    
   3  Normalizat    1.4198        .20719        .23899E-03   -.80057    
   4  Prefactor     .68303        .15715        .24997E-03   -1.0420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83576e-09
Minuit parameter uncertainties:
  1  0.237604
  2  0.76302
  3  0.207308
  4  0.157256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522491': 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) = 7092.14362954
delta logL = 0.851360478006

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.181e-01  2.376e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  8.338e-01  7.630e-01  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  7.610e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  5.835e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  6.830e-01  1.573e-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.420e+00  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.19
Ra Dec: 127.973 4.494
Photon Index (Free Index): 0.83 +/- 0.76
Photon Flux (Free Index): 3.93e-09 +/- 4.75e-09
Energy Flux (Free Index): 3.67e-05 +/- 5.62e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/522491/cmap_HighResolution_390960001_391219201_4FGL_J0831.8+0429_daily_bin585.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.97e-08', energy_flux2='3.67e-05', photon_flux_error='2.48e-08', dlogl='8.51e-01', energy_flux='1.19e-05', photon_flux2='3.93e-09', job_status='DONE', time_completed='2021-08-29 22:56:50.351693', photon_index_error2='0.76', photon_index2='0.83', ts='5.50', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='5.62e-05', EG='1.39', time_epoch_completed='1630303010.35', return_code='0', job_id='522491', GAL2='0.68', EG2='1.42', return_code2='0', energy_flux_error='9.92e-06', photon_flux_error2='4.75e-09', ts2='7.19', photon_index='2.18' WHERE bin_id='585' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:56:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 522491: <4FGL_J0831.8+0429_daily_bin585> in cluster <slac> Done

Job <4FGL_J0831.8+0429_daily_bin585> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 22:45:34 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 22:45:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 22:45:36 2021
Terminated at Sun Aug 29 22:56:51 2021
Results reported at Sun Aug 29 22:56:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin585 127.973 4.4941 390960001 391219201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0831.8+0429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            677 sec.

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

