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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin982
RA = 127.973, Dec = 4.4941
tmin = 493862401, tmax = 494121601
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='524405', job_status='RUN', time_executed='2021-08-29 22:54:38.135695', time_epoch_executed='1630302878.14' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='982'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524405

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524405/ft1_4FGL_J0831.8+0429_daily_bin982.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524405/ft2_4FGL_J0831.8+0429_daily_bin982.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524405/ft1_4FGL_J0831.8+0429_daily_bin982.fits outfile=/scratch/kocevski/524405/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin982.fits ra=127.973 dec=4.4941 rad=12.0 tmin=493862401.0 tmax=494121601.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.72
user 3.35
sys 2.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/524405/ft2_4FGL_J0831.8+0429_daily_bin982.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/524405/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin982.fits evtable="EVENTS" outfile="/scratch/kocevski/524405/ft1_filtered_4FGL_J0831.8+0429_daily_bin982.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.86
user 0.33
sys 2.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524405/ft1_filtered_4FGL_J0831.8+0429_daily_bin982.fits" evtable="EVENTS" scfile=/scratch/kocevski/524405/ft2_4FGL_J0831.8+0429_daily_bin982.fits sctable="SC_DATA" outfile=/scratch/kocevski/524405/ltcube_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.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/524405/ft2_4FGL_J0831.8+0429_daily_bin982.fits
.....................!
real 15.52
user 11.45
sys 2.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524405/ft1_filtered_4FGL_J0831.8+0429_daily_bin982.fits evtable="EVENTS" scfile=/scratch/kocevski/524405/ft2_4FGL_J0831.8+0429_daily_bin982.fits sctable="SC_DATA" expcube=/scratch/kocevski/524405/ltcube_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.fits outfile=/scratch/kocevski/524405/expmap_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.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/524405/ltcube_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.fits
.....................!
real 193.69
user 185.31
sys 7.00

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/524405/ft1_filtered_4FGL_J0831.8+0429_daily_bin982.fits scfile=/scratch/kocevski/524405/ft2_4FGL_J0831.8+0429_daily_bin982.fits outfile=/scratch/kocevski/524405/cmap_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.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.81
user 0.37
sys 2.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524405/ft1_filtered_4FGL_J0831.8+0429_daily_bin982.fits scfile=/scratch/kocevski/524405/ft2_4FGL_J0831.8+0429_daily_bin982.fits outfile=/scratch/kocevski/524405/cmap_HighResolution_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.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.85
user 0.38
sys 2.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11421E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.645       1.0000         .10000E-03   10000.    
     3 'Prefactor '    134.46       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2430       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.754       1.0000         .10000E-03   10000.    
     6 'norm      '    .79165       1.0000         .10000E-03   10000.    
     7 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.073       1.0000         .10000E-03   10000.    
     9 'norm      '    11.245       1.0000         .10000E-03   10000.    
    10 'Prefactor '    53.081       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .16186E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.7364       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.280       1.0000         .10000E-03   10000.    
    15 'norm      '    8.6634       1.0000         .10000E-03   10000.    
    16 'norm      '    24.462       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1272       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95632       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=   5388.305     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1753 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.995        .71052E-06** at limit **
   2  Prefactor     27.654        15.845        .70407E-05   -.33380E-05
   3  Prefactor     134.45        180.80       -.13183E-04    .10614E-05
   4  Prefactor     3.2418        5.7693        .29276E-05   -.25542E-03
   5  Prefactor     15.747        28.433       -.16542E-04   -.10239E-04
   6  norm          .82517        10.787        .58034E-07   -.62594E-03
   7  norm          .10000E-03    1.7839       -.27275E-06** at limit **
   8  norm          10.076        23.920        .51376E-05    .82959E-05
   9  norm          11.246        5.0593       -.22274E-06    .99657E-04
  10  Prefactor     53.096        36.688        .17532E-04    .45979E-04
  11  Prefactor     .10000E-03    5.0583        .19715E-06** at limit **
  12  norm          .10000E-03    .53096       -.47453E-06** at limit **
  13  norm          8.7412        9.8019        .12909E-05    .86325E-04
  14  Prefactor     28.259        41.725       -.35874E-04    .17782E-04
  15  norm          8.6640        4.9445       -.30196E-05    .84907E-05
  16  norm          24.464        12.434        .44357E-06    .30736E-04
  17  Normalizat    1.1263        .23020        .31241E-05    .11274E-03
  18  Prefactor     .95702        .17072        .85677E-07    .27029E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 27.6543
  Prefactor  = 134.448
  Prefactor  = 3.24177
  Prefactor  = 15.7466
  norm       = 0.825165
  norm       = 0.0001
  norm       = 10.0758
  norm       = 11.2456
  Prefactor  = 53.0962
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.74115
  Prefactor  = 28.2586
  norm       = 8.66403
  norm       = 24.4643
  Normalizat = 1.12634
  Prefactor  = 0.95702
 **********
 **   18 **HESSE 
 **********

 FCN=   5388.305     FROM HESSE     STATUS=OK           254 CALLS     2007 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    17.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.654        15.829        .76195E-04   -1.4656    
   3  Prefactor     134.45        180.84        .34730E-04   -1.3384    
   4  Prefactor     3.2418        5.7337        .22491E-03   -1.5348    
   5  Prefactor     15.747        28.354        .10091E-03   -1.4914    
   6  norm          .82517        38.198        .44594E-02   -1.5526    
   7  norm          .10000E-03    3.6686        .19070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.076        23.811        .12625E-03   -1.5073    
   9  norm          11.246        5.0486        .10595E-03   -1.5037    
  10  Prefactor     53.096        36.730        .55051E-04   -1.4249    
  11  Prefactor     .10000E-03    5.0701        .16123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    14.833        .10113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.7412        9.7833        .13561E-03   -1.5117    
  14  Prefactor     28.259        42.106        .75336E-04   -1.4644    
  15  norm          8.6640        4.9481        .11866E-03   -1.5119    
  16  norm          24.464        12.440        .80991E-04   -1.4718    
  17  Normalizat    1.1263        .27579        .27394E-03   -.88911    
  18  Prefactor     .95702        .20586        .23094E-03   -.94176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33966e-09
Minuit parameter uncertainties:
  1  0.000411658
  2  15.8315
  3  181.588
  4  5.73468
  5  28.3783
  6  11.2354
  7  4.93771e-05
  8  23.8333
  9  5.04875
  10  36.7454
  11  1.76062e-05
  12  3.24927e-06
  13  9.78509
  14  42.1507
  15  4.94837
  16  12.4414
  17  0.276145
  18  0.206033
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.000e-04  3.249e-06  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.570e-01  2.060e-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.126e+00  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/524405/likelihoodResults_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5388.30517169
delta logL = -0.000351935251274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5386.42031598
delta logL = 1.88450377428

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25574       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2611       1.0000          .0000       5.0000    
     3 'Normalizat'    .95071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0426       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=   5386.420     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      261 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25611        2.7664        .47586E-02    .12458E-02
   2  alpha         4.2604        4.5899        .35598        .26669E-04
   3  Normalizat    .95062        .73693E-01    .66621E-01    .15428E-04
   4  Prefactor     1.0427        .58128E-01    .40362E-01    .58461E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.25611
  alpha      = 4.26045
  Normalizat = 0.950619
  Prefactor  = 1.04265
 **********
 **   18 **HESSE 
 **********

 FCN=   5386.420     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25611        .67636        .21401E-04   -1.5607    
   2  alpha         4.2604        1.4867        .16785E-01    .78127    
   3  Normalizat    .95062        .27367        .29470E-03   -.94704    
   4  Prefactor     1.0427        .21045        .22216E-03   -.91321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40609e-11
Minuit parameter uncertainties:
  1  0.676385
  2  1.76224
  3  0.274069
  4  0.210621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524405': 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) = 5386.42031538
delta logL = 1.88450437482

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.561e-01  6.764e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  4.260e+00  1.762e+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:  1.043e+00  2.106e-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.506e-01  2.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 127.973 4.494
Photon Index (Free Index): 4.26 +/- 1.76
Photon Flux (Free Index): 1.22e-07 +/- 7.54e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.22e-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/524405/cmap_HighResolution_493862401_494121601_4FGL_J0831.8+0429_daily_bin982.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-05', comment='SUCCESS', energy_flux2='1.80e-05', dlogl='1.88e+00', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-08-29 23:04:02.871697', photon_index_error2='1.76', photon_index2='4.26', ts='-0.00', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.39e-08', energy_flux_error2='1.22e-05', EG='1.13', time_epoch_completed='1630303442.87', return_code='0', job_id='524405', GAL2='1.04', EG2='0.95', return_code2='0', photon_flux_error2='7.54e-08', ts2='4.12', photon_index='2.18' WHERE bin_id='982' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 23:04:02 PDT 2021


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

Job <4FGL_J0831.8+0429_daily_bin982> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 29 22:50:19 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 22:50:20 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:50:20 2021
Terminated at Sun Aug 29 23:04:03 2021
Results reported at Sun Aug 29 23:04:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin982 127.973 4.4941 493862401 494121601 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.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

