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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin265
RA = 127.973, Dec = 4.4941
tmin = 308016001, tmax = 308275201
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='520518', job_status='RUN', time_executed='2021-08-29 22:44:32.894374', time_epoch_executed='1630302272.89' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520518

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520518/ft1_4FGL_J0831.8+0429_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520518/ft2_4FGL_J0831.8+0429_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520518/ft1_4FGL_J0831.8+0429_daily_bin265.fits outfile=/scratch/kocevski/520518/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin265.fits ra=127.973 dec=4.4941 rad=12.0 tmin=308016001.0 tmax=308275201.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.90
user 3.13
sys 4.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520518/ft2_4FGL_J0831.8+0429_daily_bin265.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/520518/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin265.fits evtable="EVENTS" outfile="/scratch/kocevski/520518/ft1_filtered_4FGL_J0831.8+0429_daily_bin265.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 5.17
user 0.31
sys 4.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520518/ft1_filtered_4FGL_J0831.8+0429_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/520518/ft2_4FGL_J0831.8+0429_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/520518/ltcube_308016001_308275201_4FGL_J0831.8+0429_daily_bin265.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/520518/ft2_4FGL_J0831.8+0429_daily_bin265.fits
.....................!
real 17.25
user 11.88
sys 5.11

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520518/ft1_filtered_4FGL_J0831.8+0429_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/520518/ft2_4FGL_J0831.8+0429_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/520518/ltcube_308016001_308275201_4FGL_J0831.8+0429_daily_bin265.fits outfile=/scratch/kocevski/520518/expmap_308016001_308275201_4FGL_J0831.8+0429_daily_bin265.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/520518/ltcube_308016001_308275201_4FGL_J0831.8+0429_daily_bin265.fits
.....................!
real 196.60
user 185.28
sys 10.60

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/520518/ft1_filtered_4FGL_J0831.8+0429_daily_bin265.fits scfile=/scratch/kocevski/520518/ft2_4FGL_J0831.8+0429_daily_bin265.fits outfile=/scratch/kocevski/520518/cmap_308016001_308275201_4FGL_J0831.8+0429_daily_bin265.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.84
user 0.37
sys 4.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520518/ft1_filtered_4FGL_J0831.8+0429_daily_bin265.fits scfile=/scratch/kocevski/520518/ft2_4FGL_J0831.8+0429_daily_bin265.fits outfile=/scratch/kocevski/520518/cmap_HighResolution_308016001_308275201_4FGL_J0831.8+0429_daily_bin265.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.77
user 0.37
sys 4.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.201       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3184       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .47866E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.950       1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.779       1.0000         .10000E-03   10000.    
     6 'norm      '    5.3130       1.0000         .10000E-03   10000.    
     7 'norm      '    .34510E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.1655       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7501       1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.647       1.0000         .10000E-03   10000.    
    15 'norm      '    36.144       1.0000         .10000E-03   10000.    
    16 'norm      '    .10399E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1114       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .76818       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=   6647.622     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1729 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.201        22.155        .14053E-06    .19714E-04
   2  Prefactor     7.3155        16.798       -.57958E-07    .84375E-05
   3  Prefactor     .10029E-03    498.78       -.37223E-04** at limit **
   4  Prefactor     10.952        6.4777       -.28404E-06   -.23477E-04
   5  Prefactor     57.778        33.781       -.16897E-06   -.13595E-04
   6  norm          5.3118        8.1930        .45264E-05   -.39983E-03
   7  norm          .26554E-01    1.2726        .17273E-06   -.47319E-03
   8  norm          .10000E-03    6.4378        .10415E-07** at limit **
   9  norm          4.1652        3.3556       -.13913E-06   -.52114E-04
  10  Prefactor     .10000E-03    14.089       -.25808E-06** at limit **
  11  Prefactor     .10000E-03    13.156        .25364E-06** at limit **
  12  norm          1.7500        1.0498        .31515E-07   -.26015E-04
  13  norm          .10000E-03    2.4986        .38109E-07** at limit **
  14  Prefactor     37.636        37.540       -.11583E-05   -.11484E-03
  15  norm          36.144        6.9441        .29253E-07   -.30284E-04
  16  norm          .10000E-03    4.6522        .22697E-06** at limit **
  17  Normalizat    1.1114        .18522        .11717E-06   -.56794E-04
  18  Prefactor     .76822        .13695       -.85166E-06    .94732E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 17.2011
  Prefactor  = 7.31548
  Prefactor  = 0.000100287
  Prefactor  = 10.9523
  Prefactor  = 57.7781
  norm       = 5.31184
  norm       = 0.0265543
  norm       = 0.0001
  norm       = 4.16522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.74996
  norm       = 0.0001
  Prefactor  = 37.6364
  norm       = 36.1436
  norm       = 0.0001
  Normalizat = 1.11145
  Prefactor  = 0.768218
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.622     FROM HESSE     STATUS=OK           258 CALLS     1987 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.201        22.104        .96569E-04   -1.4878    
   2  Prefactor     7.3155        16.787        .14826E-03   -1.5167    
   3  Prefactor     .10029E-03    556.18        .21179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.952        6.4815        .12107E-03   -1.5046    
   5  Prefactor     57.778        33.833        .52778E-04   -1.4186    
   6  norm          5.3118        8.4180        .87182E-03   -1.5247    
   7  norm          .26554E-01    2.0583        .33827E-01   -1.5675    
   8  norm          .10000E-03    6.4424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1652        3.3553        .12866E-03   -1.5300    
  10  Prefactor     .10000E-03    14.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7500        1.0507        .31694E-04   -1.5443    
  13  norm          .10000E-03    2.5089        .12585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.636        37.922        .65321E-04   -1.4480    
  15  norm          36.144        6.9347        .66661E-04   -1.4505    
  16  norm          .10000E-03    14.840        .34058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1114        .21810        .26156E-03   -.89385    
  18  Prefactor     .76822        .16034        .23481E-03   -1.0091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02401e-10
Minuit parameter uncertainties:
  1  22.1147
  2  16.7975
  3  0.025499
  4  6.48192
  5  33.8445
  6  8.41986
  7  0.466708
  8  1.51135e-06
  9  3.35541
  10  2.83454e-05
  11  3.88882e-05
  12  1.05074
  13  1.0536e-06
  14  37.9464
  15  6.93487
  16  0.000116528
  17  0.218282
  18  0.160442
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.750e+00  1.051e+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:  7.682e-01  1.604e-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.111e+00  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.62
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 6.20e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 2.48e-05 +/- 1.49e-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) = 6647.58826269
delta logL = 0.033949807701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6647.58432043
delta logL = 0.0378920675012

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6667       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3425       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77451       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=   6647.584     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6659        21.048        .81659E-02    .47804E-03
   2  alpha         2.3428        3.3938        .38937        .18344E-04
   3  Normalizat    1.1004        .80302E-01    .59398E-01    .16141E-04
   4  Prefactor     .77461        .64455E-01    .43385E-01    .28552E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66593
  alpha      = 2.34279
  Normalizat = 1.10043
  Prefactor  = 0.774608
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.584     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6659        1.1089        .59854E-04   -1.5450    
   2  alpha         2.3428        .61847        .14259E-01   -.62924E-01
   3  Normalizat    1.1004        .21330        .26269E-03   -.89738    
   4  Prefactor     .77461        .16122        .23397E-03   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44484e-12
Minuit parameter uncertainties:
  1  1.10889
  2  0.624983
  3  0.213463
  4  0.161313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520518': 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) = 6647.5843199
delta logL = 0.0378925991854

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.666e+00  1.109e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.343e+00  6.250e-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:  7.746e-01  1.613e-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.100e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.66
Ra Dec: 127.973 4.494
Photon Index (Free Index): 2.34 +/- 0.62
Photon Flux (Free Index): 6.88e-08 +/- 4.63e-08
Energy Flux (Free Index): 2.27e-05 +/- 1.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/520518/cmap_HighResolution_308016001_308275201_4FGL_J0831.8+0429_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.20e-08', energy_flux2='2.27e-05', photon_flux_error='3.72e-08', dlogl='3.79e-02', energy_flux='2.48e-05', photon_flux2='6.88e-08', job_status='DONE', time_completed='2021-08-29 22:54:14.998148', photon_index_error2='0.62', photon_index2='2.34', ts='4.62', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='1.11', time_epoch_completed='1630302855.0', return_code='0', job_id='520518', GAL2='0.77', EG2='1.10', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='4.63e-08', ts2='4.66', photon_index='2.18' WHERE bin_id='265' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:54:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 520518: <4FGL_J0831.8+0429_daily_bin265> in cluster <slac> Done

Job <4FGL_J0831.8+0429_daily_bin265> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 29 22:40:23 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 22:40:24 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:40:24 2021
Terminated at Sun Aug 29 22:54:16 2021
Results reported at Sun Aug 29 22:54:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin265 127.973 4.4941 308016001 308275201 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 :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

