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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin193
RA = 127.973, Dec = 4.4941
tmin = 289353601, tmax = 289612801
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='519358', job_status='RUN', time_executed='2021-08-29 22:39:30.514595', time_epoch_executed='1630301970.51' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='193'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519358/ft1_4FGL_J0831.8+0429_daily_bin193.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519358/ft2_4FGL_J0831.8+0429_daily_bin193.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519358/ft1_4FGL_J0831.8+0429_daily_bin193.fits outfile=/scratch/kocevski/519358/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin193.fits ra=127.973 dec=4.4941 rad=12.0 tmin=289353601.0 tmax=289612801.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.36
user 3.25
sys 1.05

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/519358/ft1_filtered_4FGL_J0831.8+0429_daily_bin193.fits" evtable="EVENTS" scfile=/scratch/kocevski/519358/ft2_4FGL_J0831.8+0429_daily_bin193.fits sctable="SC_DATA" outfile=/scratch/kocevski/519358/ltcube_289353601_289612801_4FGL_J0831.8+0429_daily_bin193.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/519358/ft2_4FGL_J0831.8+0429_daily_bin193.fits
.....................!
real 12.84
user 11.40
sys 1.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519358/ft1_filtered_4FGL_J0831.8+0429_daily_bin193.fits evtable="EVENTS" scfile=/scratch/kocevski/519358/ft2_4FGL_J0831.8+0429_daily_bin193.fits sctable="SC_DATA" expcube=/scratch/kocevski/519358/ltcube_289353601_289612801_4FGL_J0831.8+0429_daily_bin193.fits outfile=/scratch/kocevski/519358/expmap_289353601_289612801_4FGL_J0831.8+0429_daily_bin193.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/519358/ltcube_289353601_289612801_4FGL_J0831.8+0429_daily_bin193.fits
.....................!
real 191.91
user 185.14
sys 5.53

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/519358/ft1_filtered_4FGL_J0831.8+0429_daily_bin193.fits scfile=/scratch/kocevski/519358/ft2_4FGL_J0831.8+0429_daily_bin193.fits outfile=/scratch/kocevski/519358/cmap_289353601_289612801_4FGL_J0831.8+0429_daily_bin193.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.38
user 0.35
sys 0.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519358/ft1_filtered_4FGL_J0831.8+0429_daily_bin193.fits scfile=/scratch/kocevski/519358/ft2_4FGL_J0831.8+0429_daily_bin193.fits outfile=/scratch/kocevski/519358/cmap_HighResolution_289353601_289612801_4FGL_J0831.8+0429_daily_bin193.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.42
user 0.40
sys 0.93

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.4335       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1390       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16066E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11031E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.5812       1.0000         .10000E-03   10000.    
     9 'norm      '    4.6693       1.0000         .10000E-03   10000.    
    10 'Prefactor '    38.549       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .57879E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.0391       1.0000         .10000E-03   10000.    
    13 'norm      '    6.2945       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.3560       1.0000         .10000E-03   10000.    
    16 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0256       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0181       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=   7325.915     FROM MIGRAD    STATUS=CONVERGED    367 CALLS     1735 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.0453        .23787E-06** at limit **
   2  Prefactor     8.4348        10.266       -.35509E-05   -.12193E-03
   3  Prefactor     .10000E-03    44.612       -.32439E-06** at limit **
   4  Prefactor     6.1394        5.1233        .31815E-06   -.33065E-04
   5  Prefactor     .10000E-03    96.843       -.62330E-05** at limit **
   6  norm          .10000E-03    3.5818       -.84176E-08** at limit **
   7  norm          .10000E-03    1.3533       -.44759E-07** at limit **
   8  norm          6.5562        20.516        .65001E-05   -.20818E-04
   9  norm          4.6689        3.0521       -.18376E-06   -.46280E-04
  10  Prefactor     38.540        35.120       -.17927E-05   -.14240E-03
  11  Prefactor     .10066E-03    10.610        .24651E-05** at limit **
  12  norm          2.0392        .85320       -.44075E-07   -.26459E-03
  13  norm          6.2949        5.6305        .19489E-05   -.56404E-04
  14  Prefactor     .10000E-03    36.404       -.78688E-06** at limit **
  15  norm          4.3566        4.7111       -.18762E-05   -.63503E-03
  16  norm          .10000E-03    4.0757        .10623E-06** at limit **
  17  Normalizat    1.0255        .18383       -.29758E-06   -.24784E-03
  18  Prefactor     1.0181        .13940        .32644E-06   -.26949E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.43478
  Prefactor  = 0.0001
  Prefactor  = 6.13943
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.55623
  norm       = 4.66895
  Prefactor  = 38.5401
  Prefactor  = 0.000100664
  norm       = 2.03916
  norm       = 6.29492
  Prefactor  = 0.0001
  norm       = 4.35661
  norm       = 0.0001
  Normalizat = 1.02545
  Prefactor  = 1.01811
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.915     FROM HESSE     STATUS=OK           246 CALLS     1981 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.0570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.4348        10.288        .13804E-03   -1.5127    
   3  Prefactor     .10000E-03    44.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.1394        5.1049        .16203E-03   -1.5212    
   5  Prefactor     .10000E-03    99.575        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.6081        .15817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.4975        .19312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5562        20.299        .15643E-03   -1.5196    
   9  norm          4.6689        3.0506        .11681E-03   -1.5276    
  10  Prefactor     38.540        34.772        .64555E-04   -1.4466    
  11  Prefactor     .10066E-03    80.860        .51189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0392        .85466        .49364E-04   -1.5422    
  13  norm          6.2949        5.5799        .15999E-03   -1.5206    
  14  Prefactor     .10000E-03    36.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3566        4.8630        .18762E-03   -1.5290    
  16  norm          .10000E-03    4.1132        .16874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0255        .21805        .27366E-03   -.92183    
  18  Prefactor     1.0181        .16686        .21560E-03   -.92128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14075e-09
Minuit parameter uncertainties:
  1  4.16756e-05
  2  10.2903
  3  6.12588e-06
  4  5.10524
  5  0.00107841
  6  2.36799e-06
  7  7.07761e-06
  8  20.3207
  9  3.05071
  10  34.7898
  11  0.0146777
  12  0.85467
  13  5.58037
  14  1.07458e-05
  15  4.86342
  16  1.1526e-05
  17  0.21824
  18  0.166945
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.039e+00  8.547e-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.018e+00  1.669e-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.025e+00  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.17
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 7.22e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 2.89e-05 +/- 1.21e-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) = 7324.85303639
delta logL = 1.06242166977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7324.80869164
delta logL = 1.10676642262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7887       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6333       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0060       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=   7324.809     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      208 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7880        .78932        .78193E-02   -.80845E-03
   2  alpha         1.6336        .29302        .25003        .45657E-05
   3  Normalizat    1.0558        .17559        .61100E-01    .16980E-03
   4  Prefactor     1.0057        .13830        .43997E-01   -.82509E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.788
  alpha      = 1.63358
  Normalizat = 1.05583
  Prefactor  = 1.00569
 **********
 **   18 **HESSE 
 **********

 FCN=   7324.809     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7880        .89580        .48773E-04   -1.5441    
   2  alpha         1.6336        .35289        .10369E-01   -.35391    
   3  Normalizat    1.0558        .21056        .27023E-03   -.91183    
   4  Prefactor     1.0057        .16592        .21682E-03   -.92540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55937e-10
Minuit parameter uncertainties:
  1  0.895809
  2  0.354236
  3  0.210727
  4  0.166005
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519358': 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) = 7324.80868915
delta logL = 1.10676891641

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.788e+00  8.958e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  1.634e+00  3.542e-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.006e+00  1.660e-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.056e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.41
Ra Dec: 127.973 4.494
Photon Index (Free Index): 1.63 +/- 0.35
Photon Flux (Free Index): 4.37e-08 +/- 2.54e-08
Energy Flux (Free Index): 4.90e-05 +/- 3.18e-05

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/519358/cmap_HighResolution_289353601_289612801_4FGL_J0831.8+0429_daily_bin193.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.22e-08', energy_flux2='4.90e-05', photon_flux_error='3.03e-08', dlogl='1.11e+00', energy_flux='2.89e-05', photon_flux2='4.37e-08', job_status='DONE', time_completed='2021-08-29 22:48:43.514485', photon_index_error2='0.35', photon_index2='1.63', ts='22.17', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.18e-05', EG='1.03', time_epoch_completed='1630302523.51', return_code='0', job_id='519358', GAL2='1.01', EG2='1.06', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='2.54e-08', ts2='24.41', photon_index='2.18' WHERE bin_id='193' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:48:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 519358: <4FGL_J0831.8+0429_daily_bin193> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin193 127.973 4.4941 289353601 289612801 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 :                                   556.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            783 sec.

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

