/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 125 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 = 7476
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0831.8+0429_daily_bin209
RA = 127.973, Dec = 4.4941
tmin = 293500801, tmax = 293760001
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='519380', job_status='RUN', time_executed='2021-08-29 22:38:17.390505', time_epoch_executed='1630301897.39' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='209'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519380

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519380/ft1_4FGL_J0831.8+0429_daily_bin209.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519380/ft1_4FGL_J0831.8+0429_daily_bin209.fits outfile=/scratch/kocevski/519380/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin209.fits ra=127.973 dec=4.4941 rad=12.0 tmin=293500801.0 tmax=293760001.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.28
user 3.32
sys 0.89

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.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/519380/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin209.fits evtable="EVENTS" outfile="/scratch/kocevski/519380/ft1_filtered_4FGL_J0831.8+0429_daily_bin209.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 1.23
user 0.34
sys 0.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/519380/ft1_filtered_4FGL_J0831.8+0429_daily_bin209.fits" evtable="EVENTS" scfile=/scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits sctable="SC_DATA" outfile=/scratch/kocevski/519380/ltcube_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.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/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits
.....................!
real 12.79
user 11.59
sys 1.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519380/ft1_filtered_4FGL_J0831.8+0429_daily_bin209.fits evtable="EVENTS" scfile=/scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits sctable="SC_DATA" expcube=/scratch/kocevski/519380/ltcube_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.fits outfile=/scratch/kocevski/519380/expmap_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.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/519380/ltcube_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.fits
.....................!
real 191.53
user 185.77
sys 5.33

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/519380/ft1_filtered_4FGL_J0831.8+0429_daily_bin209.fits scfile=/scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits outfile=/scratch/kocevski/519380/cmap_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.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 1.60
user 0.38
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519380/ft1_filtered_4FGL_J0831.8+0429_daily_bin209.fits scfile=/scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits outfile=/scratch/kocevski/519380/cmap_HighResolution_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.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.69
user 0.38
sys 0.83

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/519380/ft1_filtered_4FGL_J0831.8+0429_daily_bin209.fits', '/scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits', expMap='/scratch/kocevski/519380/expmap_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.fits', expCube='/scratch/kocevski/519380/ltcube_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/519380/Model_4FGL_J0831.8+0429_daily_bin209.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/519380/ft1_filtered_4FGL_J0831.8+0429_daily_bin209.fits
Spacecraft file(s): /scratch/kocevski/519380/ft2_4FGL_J0831.8+0429_daily_bin209.fits
Exposure map: /scratch/kocevski/519380/expmap_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.fits
Exposure cube: /scratch/kocevski/519380/ltcube_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/519380/Model_4FGL_J0831.8+0429_daily_bin209.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) = 8034.5143482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.131       1.0000         .10000E-03   10000.    
     3 'Prefactor '    80.690       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .49345       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9458       1.0000         .10000E-03   10000.    
     8 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.9877       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.492       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .45844       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5792       1.0000         .10000E-03   10000.    
    13 'norm      '    8.6142       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.932       1.0000         .10000E-03   10000.    
    15 'norm      '    21.443       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7415       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .99034       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1344       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=   8034.511     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1719 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.0703        .22223E-06** at limit **
   2  Prefactor     12.132        10.059       -.14111E-06   -.52879E-04
   3  Prefactor     80.682        175.86       -.81882E-06   -.11592E-04
   4  Prefactor     .48902        5.0772        .12500E-05   -.43373E-03
   5  Prefactor     .10000E-03    6.9958       -.11826E-06** at limit **
   6  norm          .10000E-03    5.2152       -.28723E-06** at limit **
   7  norm          2.9457        2.5479        .29129E-07   -.18898E-03
   8  norm          .10000E-03    5.4659        .66348E-06** at limit **
   9  norm          2.9872        2.9297        .29051E-05   -.67626E-03
  10  Prefactor     10.512        31.464        .12387E-04    .43368E-03
  11  Prefactor     .26722        7.6542       -.14039E-05    .34889E-03
  12  norm          2.5791        1.0574       -.27863E-09   -.31327E-04
  13  norm          8.6118        6.9788        .21016E-06   -.20459E-04
  14  Prefactor     24.927        35.206       -.71401E-06   -.98904E-04
  15  norm          21.442        4.9606        .11868E-06   -.10448E-04
  16  norm          2.7412        3.5728        .42996E-07   -.55582E-04
  17  Normalizat    .99048        .19254       -.35796E-05    .11957E-03
  18  Prefactor     1.1345        .14607        .80779E-06   -.17466E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 12.1316
  Prefactor  = 80.6819
  Prefactor  = 0.489024
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.94566
  norm       = 0.0001
  norm       = 2.98723
  Prefactor  = 10.5125
  Prefactor  = 0.267217
  norm       = 2.57911
  norm       = 8.61184
  Prefactor  = 24.9268
  norm       = 21.4418
  norm       = 2.74116
  Normalizat = 0.990478
  Prefactor  = 1.13446
 **********
 **   18 **HESSE 
 **********

 FCN=   8034.511     FROM HESSE     STATUS=OK           248 CALLS     1967 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.0802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.132        10.071        .11501E-03   -1.5011    
   3  Prefactor     80.682        175.94        .44711E-04   -1.3909    
   4  Prefactor     .48902        17.224        .38106E-02   -1.5568    
   5  Prefactor     .10000E-03    7.0026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.2499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9457        2.5404        .12794E-03   -1.5365    
   8  norm          .10000E-03    5.4602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.9872        3.0449        .76480E-03   -1.5362    
  10  Prefactor     10.512        33.680        .12369E-03   -1.5059    
  11  Prefactor     .26722        135.02        .46289E-02   -1.5605    
  12  norm          2.5791        1.0586        .25412E-04   -1.5387    
  13  norm          8.6118        6.9790        .13658E-03   -1.5121    
  14  Prefactor     24.927        35.388        .80225E-04   -1.4709    
  15  norm          21.442        4.9643        .86497E-04   -1.4782    
  16  norm          2.7412        3.5646        .18857E-03   -1.5377    
  17  Normalizat    .99048        .22555        .29540E-03   -.93350    
  18  Prefactor     1.1345        .17211        .22063E-03   -.88373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.24963e-09
Minuit parameter uncertainties:
  1  2.08981e-05
  2  10.0726
  3  177.098
  4  5.80563
  5  3.56721e-05
  6  2.04402e-05
  7  2.54049
  8  1.84193e-05
  9  3.04508
  10  33.7414
  11  12.0382
  12  1.0586
  13  6.97971
  14  35.4182
  15  4.96438
  16  3.56488
  17  0.22577
  18  0.172198
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.579e+00  1.059e+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

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.134e+00  1.722e-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:  9.905e-01  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.67
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 9.13e-08 +/- 3.75e-08
Energy Flux (Fixed Index): 3.66e-05 +/- 1.50e-05

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) = 8034.14202846
delta logL = 0.369385042571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8034.13727126
delta logL = 0.374142250095

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3437       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5228       1.0000          .0000       5.0000    
     3 'Normalizat'    .95594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1525       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=   8034.137     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      234 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3435        14.316        .66949E-02    .33573E-03
   2  alpha         2.5227        3.7573        .27099        .46386E-04
   3  Normalizat    .95591        .99599E-01    .67805E-01    .21988E-04
   4  Prefactor     1.1525        .74831E-01    .35865E-01    .37648E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.34348
  alpha      = 2.52271
  Normalizat = 0.955907
  Prefactor  = 1.1525
 **********
 **   18 **HESSE 
 **********

 FCN=   8034.137     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3435        1.0600        .50447E-04   -1.5402    
   2  alpha         2.5227        .41495        .11034E-01    .90836E-02
   3  Normalizat    .95591        .21861        .29995E-03   -.94523    
   4  Prefactor     1.1525        .17189        .21911E-03   -.87806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51002e-12
Minuit parameter uncertainties:
  1  1.05996
  2  0.416883
  3  0.218812
  4  0.17197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519380': 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) = 8034.13727117
delta logL = 0.374142338825

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.343e+00  1.060e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.523e+00  4.169e-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:  1.152e+00  1.720e-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:  9.559e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.43
Ra Dec: 127.973 4.494
Photon Index (Free Index): 2.52 +/- 0.42
Photon Flux (Free Index): 1.17e-07 +/- 5.12e-08
Energy Flux (Free Index): 3.23e-05 +/- 1.33e-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/519380/cmap_HighResolution_293500801_293760001_4FGL_J0831.8+0429_daily_bin209.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.13e-08', energy_flux2='3.23e-05', photon_flux_error='3.75e-08', dlogl='3.74e-01', energy_flux='3.66e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-08-29 22:47:57.342140', photon_index_error2='0.42', photon_index2='2.52', ts='11.67', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='0.99', time_epoch_completed='1630302477.34', return_code='0', job_id='519380', GAL2='1.15', EG2='0.96', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='5.12e-08', ts2='12.43', photon_index='2.18' WHERE bin_id='209' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:47:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 519380: <4FGL_J0831.8+0429_daily_bin209> in cluster <slac> Done

Job <4FGL_J0831.8+0429_daily_bin209> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 29 22:35:43 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 22:35:45 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:35:45 2021
Terminated at Sun Aug 29 22:47:57 2021
Results reported at Sun Aug 29 22:47:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin209 127.973 4.4941 293500801 293760001 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 :                                   578.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

