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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin657
RA = 127.973, Dec = 4.4941
tmin = 409622401, tmax = 409881601
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='522615', job_status='RUN', time_executed='2021-08-29 22:48:07.260854', time_epoch_executed='1630302487.26' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='657'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522615

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522615/ft1_4FGL_J0831.8+0429_daily_bin657.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522615/ft2_4FGL_J0831.8+0429_daily_bin657.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522615/ft1_4FGL_J0831.8+0429_daily_bin657.fits outfile=/scratch/kocevski/522615/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin657.fits ra=127.973 dec=4.4941 rad=12.0 tmin=409622401.0 tmax=409881601.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.64
user 4.12
sys 0.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/522615/ft2_4FGL_J0831.8+0429_daily_bin657.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/522615/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin657.fits evtable="EVENTS" outfile="/scratch/kocevski/522615/ft1_filtered_4FGL_J0831.8+0429_daily_bin657.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.69
user 0.27
sys 0.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522615/ft1_filtered_4FGL_J0831.8+0429_daily_bin657.fits" evtable="EVENTS" scfile=/scratch/kocevski/522615/ft2_4FGL_J0831.8+0429_daily_bin657.fits sctable="SC_DATA" outfile=/scratch/kocevski/522615/ltcube_409622401_409881601_4FGL_J0831.8+0429_daily_bin657.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/522615/ft2_4FGL_J0831.8+0429_daily_bin657.fits
.....................!
real 9.50
user 8.86
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522615/ft1_filtered_4FGL_J0831.8+0429_daily_bin657.fits evtable="EVENTS" scfile=/scratch/kocevski/522615/ft2_4FGL_J0831.8+0429_daily_bin657.fits sctable="SC_DATA" expcube=/scratch/kocevski/522615/ltcube_409622401_409881601_4FGL_J0831.8+0429_daily_bin657.fits outfile=/scratch/kocevski/522615/expmap_409622401_409881601_4FGL_J0831.8+0429_daily_bin657.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/522615/ltcube_409622401_409881601_4FGL_J0831.8+0429_daily_bin657.fits
.....................!
real 145.04
user 140.51
sys 4.04

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/522615/ft1_filtered_4FGL_J0831.8+0429_daily_bin657.fits scfile=/scratch/kocevski/522615/ft2_4FGL_J0831.8+0429_daily_bin657.fits outfile=/scratch/kocevski/522615/cmap_409622401_409881601_4FGL_J0831.8+0429_daily_bin657.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=127.973 yref=4.4941 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.81
user 0.30
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522615/ft1_filtered_4FGL_J0831.8+0429_daily_bin657.fits scfile=/scratch/kocevski/522615/ft2_4FGL_J0831.8+0429_daily_bin657.fits outfile=/scratch/kocevski/522615/cmap_HighResolution_409622401_409881601_4FGL_J0831.8+0429_daily_bin657.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 0.99
user 0.29
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .79416E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5606       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.359       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .93178E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7477       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4078       1.0000         .10000E-03   10000.    
    13 'norm      '    .14238       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .62941       1.0000         .10000E-03   10000.    
    16 'norm      '    18.589       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .96945       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .84649       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=   5453.460     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     1558 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    25.097        .15289E-05** at limit **
   2  Prefactor     .12517E-03    6.6038       -.70416E-06** at limit **
   3  Prefactor     .10000E-03    55.883       -.69197E-06** at limit **
   4  Prefactor     6.5589        6.1420        .80498E-08   -.59953E-04
   5  Prefactor     30.354        25.566       -.32396E-05   -.19541E-03
   6  norm          .10000E-03    2.9404       -.10479E-07** at limit **
   7  norm          .10010E-03    6.5779        .55778E-05** at limit **
   8  norm          .10000E-03    14.069        .28033E-05** at limit **
   9  norm          1.7476        2.3651       -.37066E-08    .11493E-03
  10  Prefactor     .10000E-03    12.146       -.14784E-05** at limit **
  11  Prefactor     .10000E-03    14.364       -.58130E-06** at limit **
  12  norm          3.4073        1.4223       -.36605E-07   -.79899E-04
  13  norm          .15505        20.668       -.10633E-04   -.34797E-03
  14  Prefactor     .10000E-03    11.767        .87184E-06** at limit **
  15  norm          .62912        2.4664       -.95239E-06    .38686E-03
  16  norm          18.588        9.7450       -.61520E-06   -.45023E-04
  17  Normalizat    .96950        .19184        .32581E-06    .53669E-04
  18  Prefactor     .84658        .14551        .10862E-05    .11577E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000125169
  Prefactor  = 0.0001
  Prefactor  = 6.5589
  Prefactor  = 30.3543
  norm       = 0.0001
  norm       = 0.000100104
  norm       = 0.000100001
  norm       = 1.74758
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.40728
  norm       = 0.155051
  Prefactor  = 0.0001
  norm       = 0.629117
  norm       = 18.5876
  Normalizat = 0.969502
  Prefactor  = 0.846575
 **********
 **   18 **HESSE 
 **********

 FCN=   5453.460     FROM HESSE     STATUS=OK           254 CALLS     1812 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12517E-03    10.076        .65215E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    55.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.5589        6.0998        .15668E-03   -1.5196    
   5  Prefactor     30.354        26.305        .72718E-04   -1.4606    
   6  norm          .10000E-03    2.9454        .12366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10010E-03    19.479        .17441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    14.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7476        2.3499        .12827E-03   -1.5444    
  10  Prefactor     .10000E-03    12.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4073        1.4206        .53377E-04   -1.5339    
  13  norm          .15505        26.880        .30486E-02   -1.5629    
  14  Prefactor     .10000E-03    11.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .62912        2.8045        .24263E-03   -1.5549    
  16  norm          18.588        9.7933        .92896E-04   -1.4845    
  17  Normalizat    .96950        .22685        .25604E-03   -.94059    
  18  Prefactor     .84658        .17247        .20921E-03   -.98034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22376e-09
Minuit parameter uncertainties:
  1  2.34404e-05
  2  0.0318544
  3  7.02725e-05
  4  6.10035
  5  26.3151
  6  3.10748e-06
  7  0.00284791
  8  0.000228508
  9  2.35007
  10  5.1925e-05
  11  7.04743e-05
  12  1.42058
  13  4.08358
  14  1.72915e-05
  15  2.65657
  16  9.79413
  17  0.227073
  18  0.172581
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  3.407e+00  1.421e+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:  8.466e-01  1.726e-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.695e-01  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.17
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 5.03e-08
Energy Flux (Fixed Index): 4.83e-05 +/- 2.01e-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) = 5452.40332762
delta logL = 1.05709217521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5452.38853664
delta logL = 1.07188315969

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6706       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9332       1.0000          .0000       5.0000    
     3 'Normalizat'    .84436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91169       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=   5452.389     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6702        11.305        .62346E-02    .29809E-03
   2  alpha         2.9333        3.9284        .20614        .54226E-04
   3  Normalizat    .84431        .99037E-01    .44186E-01    .15947E-04
   4  Prefactor     .91172        .66938E-01    .45154E-01    .53012E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.67018
  alpha      = 2.93331
  Normalizat = 0.844309
  Prefactor  = 0.911721
 **********
 **   18 **HESSE 
 **********

 FCN=   5452.389     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6702        1.8364        .39071E-04   -1.5381    
   2  alpha         2.9333        .66673        .86488E-02    .17421    
   3  Normalizat    .84431        .24460        .27167E-03   -.98446    
   4  Prefactor     .91172        .18201        .20236E-03   -.95733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60235e-12
Minuit parameter uncertainties:
  1  1.83643
  2  0.675163
  3  0.244923
  4  0.182131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522615': 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) = 5452.38853659
delta logL = 1.07188320444

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.670e+00  1.836e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.933e+00  6.752e-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:  9.117e-01  1.821e-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.443e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.81
Ra Dec: 127.973 4.494
Photon Index (Free Index): 2.93 +/- 0.68
Photon Flux (Free Index): 2.13e-07 +/- 8.98e-08
Energy Flux (Free Index): 4.51e-05 +/- 1.67e-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/522615/cmap_HighResolution_409622401_409881601_4FGL_J0831.8+0429_daily_bin657.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='4.51e-05', photon_flux_error='5.03e-08', dlogl='1.07e+00', energy_flux='4.83e-05', photon_flux2='2.13e-07', job_status='DONE', time_completed='2021-08-29 22:54:34.394774', photon_index_error2='0.68', photon_index2='2.93', ts='10.17', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='0.97', time_epoch_completed='1630302874.39', return_code='0', job_id='522615', GAL2='0.91', EG2='0.84', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='8.98e-08', ts2='12.81', photon_index='2.18' WHERE bin_id='657' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:54:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 522615: <4FGL_J0831.8+0429_daily_bin657> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin657 127.973 4.4941 409622401 409881601 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 :                                   371.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             274.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   531 sec.
    Turnaround time :                            533 sec.

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

