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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin627
RA = 127.973, Dec = 4.4941
tmin = 401846401, tmax = 402105601
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='522568', job_status='RUN', time_executed='2021-08-29 22:48:39.468015', time_epoch_executed='1630302519.47' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522568

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522568/ft1_4FGL_J0831.8+0429_daily_bin627.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522568/ft2_4FGL_J0831.8+0429_daily_bin627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522568/ft1_4FGL_J0831.8+0429_daily_bin627.fits outfile=/scratch/kocevski/522568/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin627.fits ra=127.973 dec=4.4941 rad=12.0 tmin=401846401.0 tmax=402105601.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 3.70
user 3.22
sys 0.44

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522568/ft1_filtered_4FGL_J0831.8+0429_daily_bin627.fits" evtable="EVENTS" scfile=/scratch/kocevski/522568/ft2_4FGL_J0831.8+0429_daily_bin627.fits sctable="SC_DATA" outfile=/scratch/kocevski/522568/ltcube_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.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/522568/ft2_4FGL_J0831.8+0429_daily_bin627.fits
.....................!
real 12.76
user 12.05
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522568/ft1_filtered_4FGL_J0831.8+0429_daily_bin627.fits evtable="EVENTS" scfile=/scratch/kocevski/522568/ft2_4FGL_J0831.8+0429_daily_bin627.fits sctable="SC_DATA" expcube=/scratch/kocevski/522568/ltcube_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.fits outfile=/scratch/kocevski/522568/expmap_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.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/522568/ltcube_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.fits
.....................!
real 190.99
user 185.51
sys 4.60

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/522568/ft1_filtered_4FGL_J0831.8+0429_daily_bin627.fits scfile=/scratch/kocevski/522568/ft2_4FGL_J0831.8+0429_daily_bin627.fits outfile=/scratch/kocevski/522568/cmap_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.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.22
user 0.37
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522568/ft1_filtered_4FGL_J0831.8+0429_daily_bin627.fits scfile=/scratch/kocevski/522568/ft2_4FGL_J0831.8+0429_daily_bin627.fits outfile=/scratch/kocevski/522568/cmap_HighResolution_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.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.73
user 0.38
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.972       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4074       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0714       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.222       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8885       1.0000         .10000E-03   10000.    
     8 'norm      '    20.037       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .94743       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10721E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.145       1.0000         .10000E-03   10000.    
    15 'norm      '    2.2714       1.0000         .10000E-03   10000.    
    16 'norm      '    5.7937       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89903       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86900       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=   4870.760     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1798 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.970        24.688        .22406E-02    .28945E-03
   2  Prefactor     5.4077        11.452        .43202E-02    .16792E-03
   3  Prefactor     .10000E-03    48.446        .90712E-02** at limit **
   4  Prefactor     6.0711        6.8496        .40736E-02    .14282E-02
   5  Prefactor     23.223        31.344        .20781E-02   -.68002E-05
   6  norm          .10000E-03    5.8732        .90712E-02** at limit **
   7  norm          1.8886        2.9608        .75706E-02    .41338E-03
   8  norm          20.037        20.728        .22369E-02    .90647E-04
   9  norm          .10000E-03    1.7345        .90712E-02** at limit **
  10  Prefactor     .10000E-03    27.813        .90712E-02** at limit **
  11  Prefactor     .94464        15.270        .85994E-01    .26365E-03
  12  norm          .10000E-03    .38650        .21761E-01** at limit **
  13  norm          .10000E-03    6.8142        .64041E-01** at limit **
  14  Prefactor     37.145        34.789        .16440E-02    .49454E-03
  15  norm          2.2714        2.8936        .68123E-02    .21416E-03
  16  norm          5.7939        6.9260        .41714E-02    .31030E-03
  17  Normalizat    .89898        .19924        .44889E-01   -.43057E-04
  18  Prefactor     .86905        .14970        .44609E-01   -.70824E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.9699
  Prefactor  = 5.40773
  Prefactor  = 0.0001
  Prefactor  = 6.07113
  Prefactor  = 23.2227
  norm       = 0.0001
  norm       = 1.88855
  norm       = 20.0367
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.944645
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 37.1445
  norm       = 2.27142
  norm       = 5.79386
  Normalizat = 0.89898
  Prefactor  = 0.869052
 **********
 **   18 **HESSE 
 **********

 FCN=   4870.760     FROM HESSE     STATUS=OK           260 CALLS     2058 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.970        24.625        .89623E-04   -1.4814    
   2  Prefactor     5.4077        11.412        .17281E-03   -1.5243    
   3  Prefactor     .10000E-03    48.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.0711        6.8389        .81472E-03   -1.5215    
   5  Prefactor     23.223        31.390        .83122E-04   -1.4744    
   6  norm          .10000E-03    5.8961        .16514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8886        2.9356        .14485E-03   -1.5433    
   8  norm          20.037        20.707        .89478E-04   -1.4812    
   9  norm          .10000E-03    1.7475        .89724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .94464        64.920        .49445E-02   -1.5514    
  12  norm          .10000E-03    .54216        .84041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.2405        .55391E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.145        34.931        .65759E-04   -1.4488    
  15  norm          2.2714        2.8802        .12958E-03   -1.5407    
  16  norm          5.7939        6.9205        .16686E-03   -1.5227    
  17  Normalizat    .89898        .23720        .24943E-03   -.96496    
  18  Prefactor     .86905        .17859        .20165E-03   -.97231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11447e-08
Minuit parameter uncertainties:
  1  24.6379
  2  11.4171
  3  2.96872e-05
  4  6.83979
  5  31.4119
  6  1.41675e-05
  7  2.93585
  8  20.7145
  9  1.983e-06
  10  6.55308e-05
  11  15.6791
  12  1.72277e-07
  13  2.20809e-05
  14  34.9498
  15  2.88037
  16  6.92142
  17  0.237478
  18  0.178708
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.000e-04  1.723e-07  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.691e-01  1.787e-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:  8.990e-01  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/522568/likelihoodResults_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4870.76893985
delta logL = -0.00878524692962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4870.7601572
delta logL = -2.6059042284e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10100E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1777       1.0000          .0000       5.0000    
     3 'Normalizat'    .89916       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86906       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4870.760     FROM MIGRAD    STATUS=FAILED        82 CALLS      232 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    7.3818        .84100E-03** at limit **
   2  alpha         2.1503        3.2035        .16637        .12503E-04
   3  Normalizat    .89898        .21928        .24943E-03    .43567E-03
   4  Prefactor     .86905        .17565        .20165E-03    .57773E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4870.760     FROM SIMPLEX   STATUS=UNCHANGED    131 CALLS      363 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10007E-03    7.3818        .12057E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1503        3.2035        .19746E-03   -.14035    
   3  Normalizat    .89898        .21928        .19554E-04   -.96496    
   4  Prefactor     .86905        .17565        .16321E-04   -.97231    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4870.760     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      395 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .54441        .16820E-03** at limit **
   2  alpha         2.1249        3.2252        .66547E-02    .29042E-07
   3  Normalizat    .89898        .21948        .49886E-04   -.35173E-03
   4  Prefactor     .86905        .17580        .40330E-04   -.47605E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.1249
  Normalizat = 0.89898
  Prefactor  = 0.869051
 **********
 **   18 **HESSE 
 **********

 FCN=   4870.760     FROM HESSE     STATUS=OK            23 CALLS      418 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .54440        .33640E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1249        3.1324        .26619E-03   -.15061    
   3  Normalizat    .89898        .21953        .99772E-05   -.96496    
   4  Prefactor     .86905        .17584        .80661E-05   -.97231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99693e-10
Minuit parameter uncertainties:
  1  2.15836e-07
  2  70.4128
  3  0.219744
  4  0.175957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522568': 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) = 4870.76015429
delta logL = 3.08172275254e-07

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.000e-04  2.158e-07  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.125e+00  7.041e+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.691e-01  1.760e-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:  8.990e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 127.973 4.494

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/522568/cmap_HighResolution_401846401_402105601_4FGL_J0831.8+0429_daily_bin627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-05', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-08-29 22:57:12.053989', job_id='522568', GAL2='0.87', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630303032.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='627' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:57:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 522568: <4FGL_J0831.8+0429_daily_bin627> in cluster <slac> Done

Job <4FGL_J0831.8+0429_daily_bin627> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 22:45:39 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 22:45:41 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:45:41 2021
Terminated at Sun Aug 29 22:57:12 2021
Results reported at Sun Aug 29 22:57:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin627 127.973 4.4941 401846401 402105601 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 :                                   504.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            693 sec.

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

