/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 97 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 = 7420
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0831.8+0429_daily_bin544
RA = 127.973, Dec = 4.4941
tmin = 380332801, tmax = 380592001
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='520918', job_status='RUN', time_executed='2021-08-29 22:43:46.125888', time_epoch_executed='1630302226.13' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520918

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520918/ft1_4FGL_J0831.8+0429_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520918/ft2_4FGL_J0831.8+0429_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520918/ft1_4FGL_J0831.8+0429_daily_bin544.fits outfile=/scratch/kocevski/520918/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin544.fits ra=127.973 dec=4.4941 rad=12.0 tmin=380332801.0 tmax=380592001.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 6.07
user 3.21
sys 2.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520918/ft1_filtered_4FGL_J0831.8+0429_daily_bin544.fits" evtable="EVENTS" scfile=/scratch/kocevski/520918/ft2_4FGL_J0831.8+0429_daily_bin544.fits sctable="SC_DATA" outfile=/scratch/kocevski/520918/ltcube_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.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/520918/ft2_4FGL_J0831.8+0429_daily_bin544.fits
.....................!
real 14.59
user 11.44
sys 2.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520918/ft1_filtered_4FGL_J0831.8+0429_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/520918/ft2_4FGL_J0831.8+0429_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/520918/ltcube_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.fits outfile=/scratch/kocevski/520918/expmap_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.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/520918/ltcube_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.fits
.....................!
real 193.04
user 184.97
sys 7.23

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/520918/ft1_filtered_4FGL_J0831.8+0429_daily_bin544.fits scfile=/scratch/kocevski/520918/ft2_4FGL_J0831.8+0429_daily_bin544.fits outfile=/scratch/kocevski/520918/cmap_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.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.78
user 0.37
sys 2.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520918/ft1_filtered_4FGL_J0831.8+0429_daily_bin544.fits scfile=/scratch/kocevski/520918/ft2_4FGL_J0831.8+0429_daily_bin544.fits outfile=/scratch/kocevski/520918/cmap_HighResolution_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.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.90
user 0.39
sys 2.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2166       1.0000         .10000E-03   10000.    
     3 'Prefactor '    98.949       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11597E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.1410       1.0000         .10000E-03   10000.    
     7 'norm      '    6.9421       1.0000         .10000E-03   10000.    
     8 'norm      '    11.363       1.0000         .10000E-03   10000.    
     9 'norm      '    .84826       1.0000         .10000E-03   10000.    
    10 'Prefactor '    50.154       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .50909       1.0000         .10000E-03   10000.    
    13 'norm      '    20.420       1.0000         .10000E-03   10000.    
    14 'Prefactor '    72.063       1.0000         .10000E-03   10000.    
    15 'norm      '    4.3166       1.0000         .10000E-03   10000.    
    16 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .90673       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95922       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=   5659.009     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1797 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.901       -.42916E-07** at limit **
   2  Prefactor     4.2127        8.8761        .18125E-05   -.99882E-04
   3  Prefactor     98.886        147.56       -.61007E-04    .12033E-05
   4  Prefactor     .10013E-03    5.2235       -.27277E-06** at limit **
   5  Prefactor     .10000E-03    12.780        .21624E-06** at limit **
   6  norm          5.1358        10.503       -.35052E-05   -.28124E-04
   7  norm          6.9412        3.8319       -.17558E-06    .15420E-03
   8  norm          11.360        19.754        .41682E-05    .62832E-04
   9  norm          .85018        3.6407       -.31334E-05   -.12783E-02
  10  Prefactor     50.142        40.840       -.85637E-05    .70689E-04
  11  Prefactor     .10000E-03    18.955       -.19343E-06** at limit **
  12  norm          .50902        .89821       -.57755E-06   -.22307E-02
  13  norm          20.418        10.863       -.85951E-06    .13692E-03
  14  Prefactor     72.024        50.080       -.30278E-04    .44337E-04
  15  norm          4.3163        3.6989       -.91791E-06   -.16556E-03
  16  norm          .10000E-03    2.9223       -.42617E-07** at limit **
  17  Normalizat    .90724        .20703        .91215E-05    .90194E-04
  18  Prefactor     .95883        .15413        .14706E-05    .40160E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.21272
  Prefactor  = 98.8863
  Prefactor  = 0.000100128
  Prefactor  = 0.0001
  norm       = 5.13579
  norm       = 6.94117
  norm       = 11.3599
  norm       = 0.850177
  Prefactor  = 50.1425
  Prefactor  = 0.0001
  norm       = 0.509017
  norm       = 20.418
  Prefactor  = 72.0241
  norm       = 4.31627
  norm       = 0.0001
  Normalizat = 0.907236
  Prefactor  = 0.958827
 **********
 **   18 **HESSE 
 **********

 FCN=   5659.009     FROM HESSE     STATUS=OK           258 CALLS     2055 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2127        8.8409        .19624E-03   -1.5297    
   3  Prefactor     98.886        147.25        .20206E-03   -1.3716    
   4  Prefactor     .10013E-03    8.9796        .58522E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.1358        10.451        .17731E-03   -1.5255    
   7  norm          6.9412        3.8371        .10486E-03   -1.5181    
   8  norm          11.360        19.717        .11885E-03   -1.5034    
   9  norm          .85018        3.7162        .27452E-03   -1.5524    
  10  Prefactor     50.142        40.816        .56626E-04   -1.4291    
  11  Prefactor     .10000E-03    19.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .50902        .79322        .89614E-03   -1.5565    
  13  norm          20.418        10.840        .88635E-04   -1.4804    
  14  Prefactor     72.024        50.078        .47292E-04   -1.4009    
  15  norm          4.3163        3.6971        .12889E-03   -1.5292    
  16  norm          .10000E-03    2.9402        .12559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .90724        .24032        .28208E-03   -.96206    
  18  Prefactor     .95883        .18097        .21244E-03   -.94115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82632e-09
Minuit parameter uncertainties:
  1  0.000213449
  2  8.84366
  3  147.802
  4  0.00214638
  5  3.27639e-05
  6  10.4545
  7  3.83725
  8  19.7284
  9  3.55514
  10  40.839
  11  8.46063e-05
  12  0.79324
  13  10.8415
  14  50.1077
  15  3.69727
  16  1.35553e-05
  17  0.240607
  18  0.181084
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  5.090e-01  7.932e-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:  9.588e-01  1.811e-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.072e-01  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/520918/likelihoodResults_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.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): 0
logL (Free Index) = 5658.96355315
delta logL = 0.0451100109976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5658.9619328
delta logL = 0.0467303559353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54090       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5546       1.0000          .0000       5.0000    
     3 'Normalizat'    .89615       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96345       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=   5658.962     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54115        23.247        .17654E-01    .11429E-02
   2  alpha         2.5521        2.8823        .41164        .30871E-05
   3  Normalizat    .89627        .47455E-01    .64173E-01    .16123E-04
   4  Prefactor     .96337        .37751E-01    .45809E-01    .31728E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.541152
  alpha      = 2.55212
  Normalizat = 0.896268
  Prefactor  = 0.963367
 **********
 **   18 **HESSE 
 **********

 FCN=   5658.962     FROM HESSE     STATUS=OK            35 CALLS      242 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54115        .79881        .80940E-03   -1.5561    
   2  alpha         2.5521        1.2196        .29337E-01    .20850E-01
   3  Normalizat    .89627        .23387        .28385E-03   -.96591    
   4  Prefactor     .96337        .17898        .21198E-03   -.93961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34057e-09
Minuit parameter uncertainties:
  1  0.798825
  2  1.27406
  3  0.234138
  4  0.179094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520918': 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) = 5658.96193082
delta logL = 0.0467323391586

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  5.412e-01  7.988e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.552e+00  1.274e+00  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.634e-01  1.791e-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.963e-01  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.58
Ra Dec: 127.973 4.494

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/520918/cmap_HighResolution_380332801_380592001_4FGL_J0831.8+0429_daily_bin544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-05', job_status='DONE', photon_flux_upper_limit='9.19e-08', time_completed='2021-08-29 22:52:55.667869', job_id='520918', GAL2='0.96', fit_tolerance='1e-08', EG2='0.90', EG='0.91', time_epoch_completed='1630302775.67', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.67e-02', ts2='0.68', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='544' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:52:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 520918: <4FGL_J0831.8+0429_daily_bin544> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin544 127.973 4.4941 380332801 380592001 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 :                                   579.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             263.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            730 sec.

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

