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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin254
RA = 127.973, Dec = 4.4941
tmin = 305164801, tmax = 305424001
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='520502', job_status='RUN', time_executed='2021-08-29 22:42:14.881619', time_epoch_executed='1630302134.88' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='254'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520502

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520502/ft1_4FGL_J0831.8+0429_daily_bin254.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520502/ft2_4FGL_J0831.8+0429_daily_bin254.fits


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

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

Done.
real 4.48
user 3.22
sys 0.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520502/ft1_filtered_4FGL_J0831.8+0429_daily_bin254.fits" evtable="EVENTS" scfile=/scratch/kocevski/520502/ft2_4FGL_J0831.8+0429_daily_bin254.fits sctable="SC_DATA" outfile=/scratch/kocevski/520502/ltcube_305164801_305424001_4FGL_J0831.8+0429_daily_bin254.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/520502/ft2_4FGL_J0831.8+0429_daily_bin254.fits
.....................!
real 12.90
user 11.99
sys 0.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520502/ft1_filtered_4FGL_J0831.8+0429_daily_bin254.fits evtable="EVENTS" scfile=/scratch/kocevski/520502/ft2_4FGL_J0831.8+0429_daily_bin254.fits sctable="SC_DATA" expcube=/scratch/kocevski/520502/ltcube_305164801_305424001_4FGL_J0831.8+0429_daily_bin254.fits outfile=/scratch/kocevski/520502/expmap_305164801_305424001_4FGL_J0831.8+0429_daily_bin254.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/520502/ltcube_305164801_305424001_4FGL_J0831.8+0429_daily_bin254.fits
.....................!
real 194.35
user 186.45
sys 5.87

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

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

This is gtbin version HEAD
real 0.72
user 0.36
sys 0.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520502/ft1_filtered_4FGL_J0831.8+0429_daily_bin254.fits scfile=/scratch/kocevski/520502/ft2_4FGL_J0831.8+0429_daily_bin254.fits outfile=/scratch/kocevski/520502/cmap_HighResolution_305164801_305424001_4FGL_J0831.8+0429_daily_bin254.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=127.973 yref=4.4941 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.37
sys 0.29

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.957       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5973       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3514       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    23.064       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.217       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1120       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.704       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.098       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2026       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.439       1.0000         .10000E-03   10000.    
    15 'norm      '    5.2192       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0405       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2813       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .82870       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=   5223.345     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1764 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.949        19.933        .12613E-05    .41241E-04
   2  Prefactor     2.6029        26.563       -.21390E-05   -.37942E-04
   3  Prefactor     .10000E-03    59.867       -.24860E-06** at limit **
   4  Prefactor     9.3514        7.9155       -.90782E-07    .63433E-05
   5  Prefactor     .10000E-03    20.884       -.10589E-06** at limit **
   6  norm          23.064        14.003        .55854E-07   -.13901E-06
   7  norm          .10000E-03    1.7104        .46139E-08** at limit **
   8  norm          15.221        19.834       -.77586E-06   -.10235E-04
   9  norm          2.1121        2.7699        .21364E-07   -.65051E-05
  10  Prefactor     12.681        35.786        .53162E-05   -.83492E-05
  11  Prefactor     19.100        18.129       -.31761E-06   -.90179E-05
  12  norm          2.2028        1.1674       -.16349E-07   -.69973E-04
  13  norm          .10000E-03    6.8193       -.65520E-08** at limit **
  14  Prefactor     10.440        33.174       -.89724E-07   -.37803E-06
  15  norm          5.2194        3.7353       -.58143E-07   -.13838E-05
  16  norm          3.0406        8.0789        .39966E-05   -.28415E-04
  17  Normalizat    1.2812        .22259        .45212E-06    .35892E-04
  18  Prefactor     .82880        .16441       -.90058E-06    .28061E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9495
  Prefactor  = 2.60287
  Prefactor  = 0.0001
  Prefactor  = 9.35135
  Prefactor  = 0.0001
  norm       = 23.0641
  norm       = 0.0001
  norm       = 15.2213
  norm       = 2.11215
  Prefactor  = 12.6813
  Prefactor  = 19.1
  norm       = 2.20275
  norm       = 0.0001
  Prefactor  = 10.4398
  norm       = 5.21936
  norm       = 3.04058
  Normalizat = 1.2812
  Prefactor  = 0.828805
 **********
 **   18 **HESSE 
 **********

 FCN=   5223.345     FROM HESSE     STATUS=OK           252 CALLS     2016 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.949        19.622        .11585E-03   -1.5016    
   2  Prefactor     2.6029        26.004        .25316E-03   -1.5385    
   3  Prefactor     .10000E-03    59.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3514        7.9129        .13105E-03   -1.5096    
   5  Prefactor     .10000E-03    20.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          23.064        14.002        .83406E-04   -1.4747    
   7  norm          .10000E-03    1.7353        .92279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.221        19.831        .10267E-03   -1.4927    
   9  norm          2.1121        2.7575        .13366E-03   -1.5417    
  10  Prefactor     12.681        35.807        .11238E-03   -1.4996    
  11  Prefactor     19.100        18.205        .91651E-04   -1.4834    
  12  norm          2.2028        1.1686        .54477E-04   -1.5411    
  13  norm          .10000E-03    6.9141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.440        33.418        .12401E-03   -1.5062    
  15  norm          5.2194        3.7360        .11445E-03   -1.5251    
  16  norm          3.0406        8.1015        .11635E-02   -1.5359    
  17  Normalizat    1.2812        .26649        .25334E-03   -.84129    
  18  Prefactor     .82880        .19457        .23936E-03   -.98675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41839e-11
Minuit parameter uncertainties:
  1  19.6328
  2  16.4631
  3  1.05269e-05
  4  7.91375
  5  6.98083e-06
  6  14.0036
  7  1.83973e-06
  8  19.8391
  9  2.75766
  10  35.8678
  11  18.2105
  12  1.16863
  13  5.12249e-06
  14  33.478
  15  3.73613
  16  8.10447
  17  0.266772
  18  0.194733
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.203e+00  1.169e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.181e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  7.610e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  5.835e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  8.288e-01  1.947e-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.281e+00  2.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.85
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 7.80e-08 +/- 4.14e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.66e-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) = 5222.78326413
delta logL = 0.561621702964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5222.77278234
delta logL = 0.572103492156

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9062       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7807       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85942       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5222.773     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      266 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9062        1.1393        .42881E-04    .89027E-03
   2  alpha         2.7807        .58503        .11001E-01    .19702E-04
   3  Normalizat    1.2179        .25413        .25850E-03   -.38263E-05
   4  Prefactor     .85948        .19431        .23540E-03    .44094E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.90617
  alpha      = 2.78072
  Normalizat = 1.21794
  Prefactor  = 0.859483
 **********
 **   18 **HESSE 
 **********

 FCN=   5222.773     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9062        1.0995        .17152E-05   -1.5432    
   2  alpha         2.7807        .56444        .44004E-03    .11253    
   3  Normalizat    1.2179        .25418        .10340E-04   -.86050    
   4  Prefactor     .85948        .19437        .94158E-05   -.97572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57251e-11
Minuit parameter uncertainties:
  1  1.0995
  2  0.569413
  3  0.254442
  4  0.194529
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520502': 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) = 5222.77278227
delta logL = 0.5721035659

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.906e+00  1.100e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.781e+00  5.694e-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:  8.595e-01  1.945e-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.218e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.05
Ra Dec: 127.973 4.494
Photon Index (Free Index): 2.78 +/- 0.57
Photon Flux (Free Index): 1.27e-07 +/- 6.93e-08
Energy Flux (Free Index): 2.92e-05 +/- 1.32e-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/520502/cmap_HighResolution_305164801_305424001_4FGL_J0831.8+0429_daily_bin254.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.80e-08', energy_flux2='2.92e-05', photon_flux_error='4.14e-08', dlogl='5.72e-01', energy_flux='3.12e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-08-29 22:50:26.179966', photon_index_error2='0.57', photon_index2='2.78', ts='9.85', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='1.28', time_epoch_completed='1630302626.18', return_code='0', job_id='520502', GAL2='0.86', EG2='1.22', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='6.93e-08', ts2='11.05', photon_index='2.18' WHERE bin_id='254' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:50:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 520502: <4FGL_J0831.8+0429_daily_bin254> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin254 127.973 4.4941 305164801 305424001 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 :                                   485.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            605 sec.

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

