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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin513
RA = 127.973, Dec = 4.4941
tmin = 372297601, tmax = 372556801
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='520873', job_status='RUN', time_executed='2021-08-29 22:44:15.873562', time_epoch_executed='1630302255.87' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='513'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520873

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520873/ft1_4FGL_J0831.8+0429_daily_bin513.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520873/ft2_4FGL_J0831.8+0429_daily_bin513.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520873/ft1_4FGL_J0831.8+0429_daily_bin513.fits outfile=/scratch/kocevski/520873/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin513.fits ra=127.973 dec=4.4941 rad=12.0 tmin=372297601.0 tmax=372556801.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 5.65
user 3.10
sys 2.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520873/ft2_4FGL_J0831.8+0429_daily_bin513.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/520873/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin513.fits evtable="EVENTS" outfile="/scratch/kocevski/520873/ft1_filtered_4FGL_J0831.8+0429_daily_bin513.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 2.88
user 0.35
sys 2.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520873/ft1_filtered_4FGL_J0831.8+0429_daily_bin513.fits" evtable="EVENTS" scfile=/scratch/kocevski/520873/ft2_4FGL_J0831.8+0429_daily_bin513.fits sctable="SC_DATA" outfile=/scratch/kocevski/520873/ltcube_372297601_372556801_4FGL_J0831.8+0429_daily_bin513.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/520873/ft2_4FGL_J0831.8+0429_daily_bin513.fits
.....................!
real 15.05
user 11.95
sys 2.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520873/ft1_filtered_4FGL_J0831.8+0429_daily_bin513.fits evtable="EVENTS" scfile=/scratch/kocevski/520873/ft2_4FGL_J0831.8+0429_daily_bin513.fits sctable="SC_DATA" expcube=/scratch/kocevski/520873/ltcube_372297601_372556801_4FGL_J0831.8+0429_daily_bin513.fits outfile=/scratch/kocevski/520873/expmap_372297601_372556801_4FGL_J0831.8+0429_daily_bin513.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/520873/ltcube_372297601_372556801_4FGL_J0831.8+0429_daily_bin513.fits
.....................!
real 194.51
user 185.00
sys 6.84

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/520873/ft1_filtered_4FGL_J0831.8+0429_daily_bin513.fits scfile=/scratch/kocevski/520873/ft2_4FGL_J0831.8+0429_daily_bin513.fits outfile=/scratch/kocevski/520873/cmap_372297601_372556801_4FGL_J0831.8+0429_daily_bin513.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 2.89
user 0.37
sys 2.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520873/ft1_filtered_4FGL_J0831.8+0429_daily_bin513.fits scfile=/scratch/kocevski/520873/ft2_4FGL_J0831.8+0429_daily_bin513.fits outfile=/scratch/kocevski/520873/cmap_HighResolution_372297601_372556801_4FGL_J0831.8+0429_daily_bin513.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 2.84
user 0.38
sys 2.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11520E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.797       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6986       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.8295       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.063       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.215       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.2664       1.0000         .10000E-03   10000.    
    13 'norm      '    7.2217       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.8146       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4246       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .99246       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90085       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=   7517.659     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1720 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    32.812        .19983E-04** at limit **
   2  Prefactor     13.798        10.983       -.53801E-06   -.52772E-03
   3  Prefactor     .10000E-03    48.821       -.20022E-04** at limit **
   4  Prefactor     3.6976        7.8229       -.48517E-07   -.37568E-05
   5  Prefactor     .10000E-03    16.359       -.19484E-04** at limit **
   6  norm          .10000E-03    10.656       -.10761E-05** at limit **
   7  norm          4.8293        3.3008        .10753E-07    .80240E-05
   8  norm          .10000E-03    4.3970       -.48951E-07** at limit **
   9  norm          11.064        4.4067       -.11859E-05    .14777E-03
  10  Prefactor     12.220        27.062        .53585E-05    .22075E-04
  11  Prefactor     .10000E-03    3.9543        .14174E-07** at limit **
  12  norm          3.2665        1.0490       -.11814E-07    .37740E-04
  13  norm          7.2215        7.4718        .28329E-06   -.91520E-05
  14  Prefactor     .10000E-03    14.591        .15804E-04** at limit **
  15  norm          3.8150        3.6368       -.25744E-06   -.60318E-04
  16  norm          1.4243        1.6364        .59968E-06   -.28698E-02
  17  Normalizat    .99235        .17297        .78650E-07   -.43445E-04
  18  Prefactor     .90092        .13390        .14555E-06   -.54542E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 13.7976
  Prefactor  = 0.0001
  Prefactor  = 3.69764
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.82928
  norm       = 0.0001
  norm       = 11.0636
  Prefactor  = 12.22
  Prefactor  = 0.0001
  norm       = 3.26648
  norm       = 7.22152
  Prefactor  = 0.0001
  norm       = 3.81496
  norm       = 1.42427
  Normalizat = 0.992355
  Prefactor  = 0.900919
 **********
 **   18 **HESSE 
 **********

 FCN=   7517.659     FROM HESSE     STATUS=OK           248 CALLS     1968 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    33.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.798        10.986        .53917E-03   -1.4965    
   3  Prefactor     .10000E-03    48.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.6976        7.7940        .21000E-03   -1.5323    
   5  Prefactor     .10000E-03    16.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.8293        3.2910        .12320E-03   -1.5268    
   8  norm          .10000E-03    4.4009        .17755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.064        4.4017        .11009E-03   -1.5043    
  10  Prefactor     12.220        27.154        .11461E-03   -1.5009    
  11  Prefactor     .10000E-03    3.9600        .16837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.2665        1.0502        .22407E-04   -1.5346    
  13  norm          7.2215        7.4691        .14926E-03   -1.5170    
  14  Prefactor     .10000E-03    14.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.8150        3.6457        .15365E-03   -1.5317    
  16  norm          1.4243        6.2011        .18112E-02   -1.5469    
  17  Normalizat    .99235        .20561        .26335E-03   -.93287    
  18  Prefactor     .90092        .15853        .21697E-03   -.96109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01362e-08
Minuit parameter uncertainties:
  1  9.06194e-05
  2  10.9874
  3  0.000142598
  4  7.79618
  5  3.49603e-05
  6  4.59035e-05
  7  3.29114
  8  6.86114e-07
  9  4.40185
  10  27.181
  11  6.64254e-06
  12  1.05025
  13  7.47006
  14  4.42802e-05
  15  3.64591
  16  5.94458
  17  0.20577
  18  0.15861
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  3.266e+00  1.050e+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:  9.009e-01  1.586e-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.924e-01  2.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 34.24
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.16e-07 +/- 3.72e-08
Energy Flux (Fixed Index): 4.63e-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) = 7517.64020109
delta logL = 0.0190345792726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7517.63966791
delta logL = 0.019567759181

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2787       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1181       1.0000          .0000       5.0000    
     3 'Normalizat'    .99968       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89741       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=   7517.640     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      202 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2791        1.6332        .55906E-02    .70284E-04
   2  alpha         2.1181        .44991        .23876        .81330E-05
   3  Normalizat    .99967        .17069        .46163E-01    .15315E-04
   4  Prefactor     .89742        .13362        .44972E-01    .10866E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.2791
  alpha      = 2.11808
  Normalizat = 0.999671
  Prefactor  = 0.897418
 **********
 **   18 **HESSE 
 **********

 FCN=   7517.640     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .28E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2791        1.0649        .48914E-04   -1.5346    
   2  alpha         2.1181        .31557        .98163E-02   -.15337    
   3  Normalizat    .99967        .20164        .26255E-03   -.93041    
   4  Prefactor     .89742        .15734        .21736E-03   -.96231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84574e-14
Minuit parameter uncertainties:
  1  1.0649
  2  0.316436
  3  0.201798
  4  0.157416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520873': 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) = 7517.63966784
delta logL = 0.0195678230493

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  3.279e+00  1.065e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.118e+00  3.164e-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:  8.974e-01  1.574e-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.997e-01  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 34.21
Ra Dec: 127.973 4.494
Photon Index (Free Index): 2.12 +/- 0.32
Photon Flux (Free Index): 1.10e-07 +/- 4.58e-08
Energy Flux (Free Index): 4.80e-05 +/- 1.83e-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/520873/cmap_HighResolution_372297601_372556801_4FGL_J0831.8+0429_daily_bin513.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-07', energy_flux2='4.80e-05', photon_flux_error='3.72e-08', dlogl='1.96e-02', energy_flux='4.63e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-08-29 22:53:50.239881', photon_index_error2='0.32', photon_index2='2.12', ts='34.24', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='0.99', time_epoch_completed='1630302830.24', return_code='0', job_id='520873', GAL2='0.90', EG2='1.00', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='4.58e-08', ts2='34.21', photon_index='2.18' WHERE bin_id='513' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:53:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 520873: <4FGL_J0831.8+0429_daily_bin513> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin513 127.973 4.4941 372297601 372556801 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 :                                   604.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            787 sec.

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

