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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin572
RA = 127.973, Dec = 4.4941
tmin = 387590401, tmax = 387849601
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='522468', job_status='RUN', time_executed='2021-08-29 22:49:32.631094', time_epoch_executed='1630302572.63' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='572'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522468

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522468/ft1_4FGL_J0831.8+0429_daily_bin572.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522468/ft2_4FGL_J0831.8+0429_daily_bin572.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522468/ft1_4FGL_J0831.8+0429_daily_bin572.fits outfile=/scratch/kocevski/522468/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin572.fits ra=127.973 dec=4.4941 rad=12.0 tmin=387590401.0 tmax=387849601.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 7.49
user 3.08
sys 4.36

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522468/ft1_filtered_4FGL_J0831.8+0429_daily_bin572.fits" evtable="EVENTS" scfile=/scratch/kocevski/522468/ft2_4FGL_J0831.8+0429_daily_bin572.fits sctable="SC_DATA" outfile=/scratch/kocevski/522468/ltcube_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.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/522468/ft2_4FGL_J0831.8+0429_daily_bin572.fits
.....................!
real 17.12
user 12.04
sys 5.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522468/ft1_filtered_4FGL_J0831.8+0429_daily_bin572.fits evtable="EVENTS" scfile=/scratch/kocevski/522468/ft2_4FGL_J0831.8+0429_daily_bin572.fits sctable="SC_DATA" expcube=/scratch/kocevski/522468/ltcube_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.fits outfile=/scratch/kocevski/522468/expmap_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.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/522468/ltcube_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.fits
.....................!
real 196.22
user 185.30
sys 10.09

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/522468/ft1_filtered_4FGL_J0831.8+0429_daily_bin572.fits scfile=/scratch/kocevski/522468/ft2_4FGL_J0831.8+0429_daily_bin572.fits outfile=/scratch/kocevski/522468/cmap_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.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 4.66
user 0.38
sys 4.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522468/ft1_filtered_4FGL_J0831.8+0429_daily_bin572.fits scfile=/scratch/kocevski/522468/ft2_4FGL_J0831.8+0429_daily_bin572.fits outfile=/scratch/kocevski/522468/cmap_HighResolution_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.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 4.71
user 0.39
sys 4.21

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11009       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0681       1.0000         .10000E-03   10000.    
     3 'Prefactor '    130.33       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.861       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.607       1.0000         .10000E-03   10000.    
     6 'norm      '    12.330       1.0000         .10000E-03   10000.    
     7 'norm      '    3.5502       1.0000         .10000E-03   10000.    
     8 'norm      '    28.329       1.0000         .10000E-03   10000.    
     9 'norm      '    .15143E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20875E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2628       1.0000         .10000E-03   10000.    
    12 'norm      '    .60074       1.0000         .10000E-03   10000.    
    13 'norm      '    2.6143       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10855E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.1307       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0190       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0647       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=   7243.898     FROM MIGRAD    STATUS=CONVERGED    370 CALLS     1837 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15963        12.426        .21888E-05   -.35576E-03
   2  Prefactor     6.0652        7.6969       -.16863E-06   -.27637E-03
   3  Prefactor     130.33        137.94       -.38428E-06   -.36676E-04
   4  Prefactor     19.859        12.228       -.10540E-06   -.79945E-04
   5  Prefactor     35.596        30.684        .15950E-06    .27740E-05
   6  norm          12.330        11.574       -.76969E-07   -.71935E-04
   7  norm          3.5514        4.8159        .53623E-06    .12298E-03
   8  norm          28.323        20.873        .50484E-06    .11571E-03
   9  norm          .78061E-03    1.7435       -.64011E-06** at limit **
  10  Prefactor     .10039E-03    29.334        .28729E-05** at limit **
  11  Prefactor     2.2600        20.421        .88884E-06   -.67940E-04
  12  norm          .60004        .82558        .40698E-06    .13114E-02
  13  norm          2.6150        4.6800        .50795E-06    .10349E-03
  14  Prefactor     .10000E-03    31.961       -.29320E-07** at limit **
  15  norm          3.1311        4.4383        .77653E-06    .14864E-03
  16  norm          .10000E-03    2.2596        .55115E-09** at limit **
  17  Normalizat    1.0189        .19264       -.25636E-05   -.45001E-03
  18  Prefactor     1.0648        .14480        .37168E-06   -.55425E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.159631
  Prefactor  = 6.06518
  Prefactor  = 130.326
  Prefactor  = 19.8595
  Prefactor  = 35.5958
  norm       = 12.3303
  norm       = 3.55142
  norm       = 28.3235
  norm       = 0.000780613
  Prefactor  = 0.000100391
  Prefactor  = 2.25996
  norm       = 0.600039
  norm       = 2.61501
  Prefactor  = 0.0001
  norm       = 3.13107
  norm       = 0.0001
  Normalizat = 1.01889
  Prefactor  = 1.06476
 **********
 **   18 **HESSE 
 **********

 FCN=   7243.898     FROM HESSE     STATUS=OK           270 CALLS     2107 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15963        11.162        .89170E-01   -1.5628    
   2  Prefactor     6.0652        7.6904        .16299E-03   -1.5215    
   3  Prefactor     130.33        138.00        .17634E-03   -1.3420    
   4  Prefactor     19.859        12.189        .89872E-04   -1.4816    
   5  Prefactor     35.596        30.680        .67160E-04   -1.4514    
   6  norm          12.330        11.562        .11408E-03   -1.5006    
   7  norm          3.5514        4.8017        .20308E-03   -1.5331    
   8  norm          28.323        20.993        .75271E-04   -1.4643    
   9  norm          .78061E-03    2.2280        .39450E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10039E-03    196.35        .80830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2600        20.080        .27306E-03   -1.5407    
  12  norm          .60004        .78483        .91410E-03   -1.5553    
  13  norm          2.6150        4.6326        .23731E-03   -1.5385    
  14  Prefactor     .10000E-03    32.976        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1311        4.4213        .20188E-03   -1.5354    
  16  norm          .10000E-03    2.2622        .12494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0189        .21763        .27734E-03   -.92400    
  18  Prefactor     1.0648        .16951        .21800E-03   -.90601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51891e-09
Minuit parameter uncertainties:
  1  2.66935
  2  7.69165
  3  138.347
  4  12.1901
  5  30.6931
  6  11.5636
  7  4.80224
  8  20.9981
  9  0.0778856
  10  0.0175838
  11  13.4785
  12  0.784847
  13  4.63328
  14  3.87078e-05
  15  4.42173
  16  7.36168e-07
  17  0.217822
  18  0.169594
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  6.000e-01  7.848e-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:  1.065e+00  1.696e-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.019e+00  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.86
Ra Dec: 127.973 4.494
Photon Flux Upper Limit: 8.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/522468/likelihoodResults_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.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) = 7243.11899493
delta logL = 0.779465760515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7242.94270192
delta logL = 0.955758775745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75723E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .88641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1400       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=   7242.943     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      272 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75727E-01    1.2670        .31988E-02    .36536E-02
   2  alpha         5.0000        4.6351        .46267    ** at limit **
   3  Normalizat    .88635        .91642E-01    .66696E-01    .20920E-04
   4  Prefactor     1.1399        .71065E-01    .36234E-01    .12655E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0757267
  alpha      = 5
  Normalizat = 0.886353
  Prefactor  = 1.13991
 **********
 **   18 **HESSE 
 **********

 FCN=   7242.943     FROM HESSE     STATUS=OK            35 CALLS      307 TOTAL
                     EDM=   .67E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75727E-01    .62122E-01    .14428E-04   -1.5653    
   2  alpha         5.0000        3.0851        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .88635        .22812        .29504E-03   -.96941    
   4  Prefactor     1.1399        .17506        .21166E-03   -.88201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65339e-13
Minuit parameter uncertainties:
  1  0.0621226
  2  4.7817e-06
  3  0.228366
  4  0.175147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522468': 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) = 7242.94270057
delta logL = 0.955760124755

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  7.573e-02  6.212e-02  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  5.000e+00  4.782e-06  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.140e+00  1.751e-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:  8.864e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.15
Ra Dec: 127.973 4.494
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.08e-07 +/- 8.79e-08
Energy Flux (Free Index): 1.46e-05 +/- 1.19e-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/522468/cmap_HighResolution_387590401_387849601_4FGL_J0831.8+0429_daily_bin572.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', comment='SUCCESS', energy_flux2='1.46e-05', dlogl='9.56e-01', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-08-29 23:00:36.199366', photon_index_error2='0.00', photon_index2='5.00', ts='0.86', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='8.95e-08', energy_flux_error2='1.19e-05', EG='1.02', time_epoch_completed='1630303236.2', return_code='0', job_id='522468', GAL2='1.14', EG2='0.89', return_code2='0', photon_flux_error2='8.79e-08', ts2='3.15', photon_index='2.18' WHERE bin_id='572' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 23:00:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 522468: <4FGL_J0831.8+0429_daily_bin572> in cluster <slac> Done

Job <4FGL_J0831.8+0429_daily_bin572> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 22:45:33 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 22:45:35 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:35 2021
Terminated at Sun Aug 29 23:00:37 2021
Results reported at Sun Aug 29 23:00:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin572 127.973 4.4941 387590401 387849601 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 :                                   720.50 sec.
    Max Memory :                                 1225 MB
    Average Memory :                             250.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            904 sec.

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

