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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin165
RA = 127.973, Dec = 4.4941
tmin = 282096001, tmax = 282355201
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='519313', job_status='RUN', time_executed='2021-08-29 22:39:42.279163', time_epoch_executed='1630301982.28' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='165'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519313

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519313/ft1_4FGL_J0831.8+0429_daily_bin165.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519313/ft2_4FGL_J0831.8+0429_daily_bin165.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519313/ft1_4FGL_J0831.8+0429_daily_bin165.fits outfile=/scratch/kocevski/519313/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin165.fits ra=127.973 dec=4.4941 rad=12.0 tmin=282096001.0 tmax=282355201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 7.35
user 3.25
sys 4.04

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/519313/ft2_4FGL_J0831.8+0429_daily_bin165.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/519313/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin165.fits evtable="EVENTS" outfile="/scratch/kocevski/519313/ft1_filtered_4FGL_J0831.8+0429_daily_bin165.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 4.45
user 0.32
sys 3.97

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/519313/ft1_filtered_4FGL_J0831.8+0429_daily_bin165.fits" evtable="EVENTS" scfile=/scratch/kocevski/519313/ft2_4FGL_J0831.8+0429_daily_bin165.fits sctable="SC_DATA" outfile=/scratch/kocevski/519313/ltcube_282096001_282355201_4FGL_J0831.8+0429_daily_bin165.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/519313/ft2_4FGL_J0831.8+0429_daily_bin165.fits
.....................!
real 16.30
user 11.74
sys 4.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519313/ft1_filtered_4FGL_J0831.8+0429_daily_bin165.fits evtable="EVENTS" scfile=/scratch/kocevski/519313/ft2_4FGL_J0831.8+0429_daily_bin165.fits sctable="SC_DATA" expcube=/scratch/kocevski/519313/ltcube_282096001_282355201_4FGL_J0831.8+0429_daily_bin165.fits outfile=/scratch/kocevski/519313/expmap_282096001_282355201_4FGL_J0831.8+0429_daily_bin165.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/519313/ltcube_282096001_282355201_4FGL_J0831.8+0429_daily_bin165.fits
.....................!
real 195.62
user 185.38
sys 9.32

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

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

This is gtbin version HEAD
real 4.55
user 0.37
sys 3.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519313/ft1_filtered_4FGL_J0831.8+0429_daily_bin165.fits scfile=/scratch/kocevski/519313/ft2_4FGL_J0831.8+0429_daily_bin165.fits outfile=/scratch/kocevski/519313/cmap_HighResolution_282096001_282355201_4FGL_J0831.8+0429_daily_bin165.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 5.12
user 0.35
sys 3.89

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10192E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9876       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.522       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.9988       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.1691       1.0000         .10000E-03   10000.    
    13 'norm      '    15.598       1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.087       1.0000         .10000E-03   10000.    
    15 'norm      '    9.2050       1.0000         .10000E-03   10000.    
    16 'norm      '    .79527       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1521       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92327       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=   5354.622     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1739 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.318        .90712E-02** at limit **
   2  Prefactor     .10000E-03    4.3895        .90712E-02** at limit **
   3  Prefactor     .10000E-03    61.412        .90712E-02** at limit **
   4  Prefactor     7.9871        8.3009        .35467E-02   -.18897E-03
   5  Prefactor     36.520        29.055        .16579E-02    .12526E-02
   6  norm          .10000E-03    3.0935        .90712E-02** at limit **
   7  norm          .10000E-03    1.5989        .90712E-02** at limit **
   8  norm          .10000E-03    6.4874        .90712E-02** at limit **
   9  norm          2.9986        2.9266        .58601E-02   -.10404E-03
  10  Prefactor     .10000E-03    10.363        .90712E-02** at limit **
  11  Prefactor     .10000E-03    4.1769        .90712E-02** at limit **
  12  norm          2.1691        1.2371        .69904E-02    .94533E-03
  13  norm          15.597        10.498        .25353E-02   -.98148E-04
  14  Prefactor     61.086        35.882        .12834E-02    .44949E-03
  15  norm          9.2072        5.9994        .33024E-02   -.63924E-03
  16  norm          .78114        8.6443        .68135E-01    .18292E-02
  17  Normalizat    1.1521        .21554        .59374E-01    .42997E-04
  18  Prefactor     .92327        .16623        .45301E-01    .66854E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.98713
  Prefactor  = 36.5203
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.9986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.16909
  norm       = 15.5973
  Prefactor  = 61.0863
  norm       = 9.20718
  norm       = 0.781138
  Normalizat = 1.15214
  Prefactor  = 0.923271
 **********
 **   18 **HESSE 
 **********

 FCN=   5354.622     FROM HESSE     STATUS=OK           244 CALLS     1983 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.3980        .14972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    61.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9871        8.3000        .14187E-03   -1.5143    
   5  Prefactor     36.520        29.066        .66316E-04   -1.4499    
   6  norm          .10000E-03    3.0967        .12569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6109        .90323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.4933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.9986        2.9314        .12008E-03   -1.5362    
  10  Prefactor     .10000E-03    10.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.1810        .14605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1691        1.2325        .58521E-04   -1.5413    
  13  norm          15.597        10.501        .10141E-03   -1.4918    
  14  Prefactor     61.086        36.028        .51337E-04   -1.4143    
  15  norm          9.2072        5.9961        .13210E-03   -1.5101    
  16  norm          .78114        24.914        .41116E-02   -1.5531    
  17  Normalizat    1.1521        .26000        .26259E-03   -.88095    
  18  Prefactor     .92327        .20001        .22882E-03   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63887e-08
Minuit parameter uncertainties:
  1  0.000561714
  2  1.43238e-06
  3  0.000458712
  4  8.30118
  5  29.0773
  6  7.22047e-06
  7  2.27933e-05
  8  5.95816e-05
  9  2.93159
  10  0.000133664
  11  3.64169e-05
  12  1.23248
  13  10.5025
  14  36.0412
  15  5.99648
  16  8.82638
  17  0.260292
  18  0.200173
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.169e+00  1.232e+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.233e-01  2.002e-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.152e+00  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.08
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 7.68e-08 +/- 4.36e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 1.75e-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) = 5354.56470535
delta logL = 0.0568204129504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5354.56013815
delta logL = 0.0613876160523

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0732       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3629       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93106       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=   5354.560     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      228 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0718        26.238        .71719E-02    .29322E-03
   2  alpha         2.3621        3.3384        .31117        .20132E-04
   3  Normalizat    1.1374        .11408        .59695E-01    .45869E-05
   4  Prefactor     .93126        .91414E-01    .45400E-01    .99554E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07177
  alpha      = 2.3621
  Normalizat = 1.13741
  Prefactor  = 0.93126
 **********
 **   18 **HESSE 
 **********

 FCN=   5354.560     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0718        1.2402        .55571E-04   -1.5420    
   2  alpha         2.3621        .53281        .12316E-01   -.55189E-01
   3  Normalizat    1.1374        .25571        .26401E-03   -.88560    
   4  Prefactor     .93126        .20060        .22793E-03   -.95057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09405e-12
Minuit parameter uncertainties:
  1  1.24023
  2  0.536946
  3  0.255985
  4  0.200759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519313': 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) = 5354.56013453
delta logL = 0.0613912334393

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.072e+00  1.240e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.362e+00  5.369e-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.313e-01  2.008e-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.137e+00  2.560e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.19
Ra Dec: 127.973 4.494
Photon Index (Free Index): 2.36 +/- 0.54
Photon Flux (Free Index): 8.72e-08 +/- 5.49e-08
Energy Flux (Free Index): 2.81e-05 +/- 1.71e-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/519313/cmap_HighResolution_282096001_282355201_4FGL_J0831.8+0429_daily_bin165.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.68e-08', energy_flux2='2.81e-05', photon_flux_error='4.36e-08', dlogl='6.14e-02', energy_flux='3.08e-05', photon_flux2='8.72e-08', job_status='DONE', time_completed='2021-08-29 22:48:50.303871', photon_index_error2='0.54', photon_index2='2.36', ts='6.08', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='1.15', time_epoch_completed='1630302530.3', return_code='0', job_id='519313', GAL2='0.93', EG2='1.14', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='5.49e-08', ts2='6.19', photon_index='2.18' WHERE bin_id='165' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:48:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 519313: <4FGL_J0831.8+0429_daily_bin165> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin165 127.973 4.4941 282096001 282355201 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 :                                   591.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            793 sec.

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

