/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 5 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 = 7382
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0831.8+0429_daily_bin90
RA = 127.973, Dec = 4.4941
tmin = 262656001, tmax = 262915201
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='519172', job_status='RUN', time_executed='2021-08-29 22:36:05.228833', time_epoch_executed='1630301765.23' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519172/ft1_4FGL_J0831.8+0429_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519172/ft2_4FGL_J0831.8+0429_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519172/ft1_4FGL_J0831.8+0429_daily_bin90.fits outfile=/scratch/kocevski/519172/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin90.fits ra=127.973 dec=4.4941 rad=12.0 tmin=262656001.0 tmax=262915201.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 1.98
user 1.22
sys 0.74

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/519172/ft1_filtered_4FGL_J0831.8+0429_daily_bin90.fits" evtable="EVENTS" scfile=/scratch/kocevski/519172/ft2_4FGL_J0831.8+0429_daily_bin90.fits sctable="SC_DATA" outfile=/scratch/kocevski/519172/ltcube_262656001_262915201_4FGL_J0831.8+0429_daily_bin90.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/519172/ft2_4FGL_J0831.8+0429_daily_bin90.fits
.....................!
real 15.46
user 14.41
sys 1.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519172/ft1_filtered_4FGL_J0831.8+0429_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/519172/ft2_4FGL_J0831.8+0429_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/519172/ltcube_262656001_262915201_4FGL_J0831.8+0429_daily_bin90.fits outfile=/scratch/kocevski/519172/expmap_262656001_262915201_4FGL_J0831.8+0429_daily_bin90.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/519172/ltcube_262656001_262915201_4FGL_J0831.8+0429_daily_bin90.fits
.....................!
real 198.37
user 192.68
sys 4.98

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/519172/ft1_filtered_4FGL_J0831.8+0429_daily_bin90.fits scfile=/scratch/kocevski/519172/ft2_4FGL_J0831.8+0429_daily_bin90.fits outfile=/scratch/kocevski/519172/cmap_262656001_262915201_4FGL_J0831.8+0429_daily_bin90.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 1.13
user 0.39
sys 0.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519172/ft1_filtered_4FGL_J0831.8+0429_daily_bin90.fits scfile=/scratch/kocevski/519172/ft2_4FGL_J0831.8+0429_daily_bin90.fits outfile=/scratch/kocevski/519172/cmap_HighResolution_262656001_262915201_4FGL_J0831.8+0429_daily_bin90.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 1.12
user 0.38
sys 0.74

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44105E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8286       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.417       1.0000         .10000E-03   10000.    
     7 'norm      '    2.7841       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6689       1.0000         .10000E-03   10000.    
     9 'norm      '    2.8717       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10591E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.1092       1.0000         .10000E-03   10000.    
    13 'norm      '    2.8694       1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.110       1.0000         .10000E-03   10000.    
    15 'norm      '    6.5734       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .95541       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0236       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=   8335.400     FROM MIGRAD    STATUS=CONVERGED    384 CALLS     1979 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48914E-02    8.3457       -.17704E-06    .10287E-03
   2  Prefactor     8.8339        8.0413       -.20601E-05   -.85948E-05
   3  Prefactor     .10000E-03    42.019       -.24697E-05** at limit **
   4  Prefactor     .10000E-03    5.5372       -.14043E-06** at limit **
   5  Prefactor     .10000E-03    12.380       -.29716E-06** at limit **
   6  norm          16.416        9.3132        .20737E-05   -.55289E-04
   7  norm          2.7838        2.0242       -.92029E-07    .10591E-03
   8  norm          1.6597        31.572        .16745E-04   -.18626E-03
   9  norm          2.8721        2.3437       -.32151E-06   -.17463E-03
  10  Prefactor     .10000E-03    48.351        .76374E-06** at limit **
  11  Prefactor     .10000E-03    3.4884        .41694E-07** at limit **
  12  norm          1.1094        .71449       -.76361E-07   -.65183E-03
  13  norm          2.8703        7.0982       -.13283E-05   -.44135E-03
  14  Prefactor     37.116        27.882       -.17371E-04    .79345E-06
  15  norm          6.5735        3.5803       -.12759E-06   -.19814E-03
  16  norm          .10000E-03    4.9360       -.13056E-07** at limit **
  17  Normalizat    .95545        .16133        .17434E-05   -.16803E-03
  18  Prefactor     1.0236        .12616       -.14954E-06   -.30688E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00489137
  Prefactor  = 8.83385
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.4158
  norm       = 2.78375
  norm       = 1.65968
  norm       = 2.87214
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.10936
  norm       = 2.87026
  Prefactor  = 37.1156
  norm       = 6.57345
  norm       = 0.0001
  Normalizat = 0.955445
  Prefactor  = 1.02357
 **********
 **   18 **HESSE 
 **********

 FCN=   8335.400     FROM HESSE     STATUS=OK           256 CALLS     2235 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48914E-02    8.6356        .89345E-01   -1.5694    
   2  Prefactor     8.8339        8.0480        .13490E-03   -1.5113    
   3  Prefactor     .10000E-03    42.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.416        9.3043        .98849E-04   -1.4897    
   7  norm          2.7838        2.0273        .10776E-03   -1.5374    
   8  norm          1.6597        30.627        .32636E-03   -1.5450    
   9  norm          2.8721        2.3448        .12213E-03   -1.5369    
  10  Prefactor     .10000E-03    49.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4961        .16652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1094        .70347        .59439E-04   -1.5497    
  13  norm          2.8703        7.1037        .23997E-03   -1.5369    
  14  Prefactor     37.116        28.066        .65790E-04   -1.4489    
  15  norm          6.5735        3.5827        .12246E-03   -1.5195    
  16  norm          .10000E-03    5.0240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .95545        .18510        .27183E-03   -.94538    
  18  Prefactor     1.0236        .14539        .21016E-03   -.91948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.84359e-10
Minuit parameter uncertainties:
  1  0.406882
  2  8.04894
  3  2.32271e-06
  4  3.50549e-05
  5  0.000119612
  6  9.3051
  7  2.02732
  8  14.2671
  9  2.34488
  10  0.000568655
  11  2.9174e-06
  12  0.703474
  13  7.10581
  14  28.0755
  15  3.58279
  16  7.62355e-06
  17  0.185223
  18  0.145447
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.109e+00  7.035e-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:  1.024e+00  1.454e-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.554e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.46
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 3.93e-08 +/- 2.49e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 9.98e-06

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) = 8335.34248543
delta logL = 0.057570601155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8335.34167729
delta logL = 0.0583787396408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1037       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3771       1.0000          .0000       5.0000    
     3 'Normalizat'    .94635       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0274       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=   8335.342     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1032        13.890        .11286E-01    .43208E-03
   2  alpha         2.3768        3.4218        .41215        .16472E-04
   3  Normalizat    .94639        .64818E-01    .45491E-01    .18716E-04
   4  Prefactor     1.0273        .47873E-01    .41473E-01    .43697E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10316
  alpha      = 2.3768
  Normalizat = 0.946388
  Prefactor  = 1.02735
 **********
 **   18 **HESSE 
 **********

 FCN=   8335.342     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1032        .68378        .56594E-04   -1.5498    
   2  alpha         2.3768        .57578        .16570E-01   -.49299E-01
   3  Normalizat    .94639        .18306        .27296E-03   -.94849    
   4  Prefactor     1.0273        .14494        .20980E-03   -.91823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74557e-10
Minuit parameter uncertainties:
  1  0.683789
  2  0.581007
  3  0.183185
  4  0.144994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519172': 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) = 8335.34167681
delta logL = 0.0583792202942

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.103e+00  6.838e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.377e+00  5.810e-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:  1.027e+00  1.450e-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.464e-01  1.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.57
Ra Dec: 127.973 4.494
Photon Index (Free Index): 2.38 +/- 0.58
Photon Flux (Free Index): 4.71e-08 +/- 3.55e-08
Energy Flux (Free Index): 1.50e-05 +/- 9.32e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/519172/cmap_HighResolution_262656001_262915201_4FGL_J0831.8+0429_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.93e-08', energy_flux2='1.50e-05', photon_flux_error='2.49e-08', dlogl='5.84e-02', energy_flux='1.57e-05', photon_flux2='4.71e-08', job_status='DONE', time_completed='2021-08-29 22:45:58.040762', photon_index_error2='0.58', photon_index2='2.38', ts='5.46', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='9.32e-06', EG='0.96', time_epoch_completed='1630302358.04', return_code='0', job_id='519172', GAL2='1.03', EG2='0.95', return_code2='0', energy_flux_error='9.98e-06', photon_flux_error2='3.55e-08', ts2='5.57', photon_index='2.18' WHERE bin_id='90' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:45:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 519172: <4FGL_J0831.8+0429_daily_bin90> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin90 127.973 4.4941 262656001 262915201 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 :                                   599.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            626 sec.

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

