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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin450
RA = 127.973, Dec = 4.4941
tmin = 355968001, tmax = 356227201
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='520780', job_status='RUN', time_executed='2021-08-29 22:44:19.213185', time_epoch_executed='1630302259.21' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520780

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520780/ft1_4FGL_J0831.8+0429_daily_bin450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520780/ft2_4FGL_J0831.8+0429_daily_bin450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520780/ft1_4FGL_J0831.8+0429_daily_bin450.fits outfile=/scratch/kocevski/520780/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin450.fits ra=127.973 dec=4.4941 rad=12.0 tmin=355968001.0 tmax=356227201.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 5.87
user 3.14
sys 1.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520780/ft2_4FGL_J0831.8+0429_daily_bin450.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/520780/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin450.fits evtable="EVENTS" outfile="/scratch/kocevski/520780/ft1_filtered_4FGL_J0831.8+0429_daily_bin450.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 2.17
user 0.35
sys 1.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520780/ft1_filtered_4FGL_J0831.8+0429_daily_bin450.fits" evtable="EVENTS" scfile=/scratch/kocevski/520780/ft2_4FGL_J0831.8+0429_daily_bin450.fits sctable="SC_DATA" outfile=/scratch/kocevski/520780/ltcube_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.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/520780/ft2_4FGL_J0831.8+0429_daily_bin450.fits
.....................!
real 13.72
user 11.46
sys 1.78

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520780/ft1_filtered_4FGL_J0831.8+0429_daily_bin450.fits evtable="EVENTS" scfile=/scratch/kocevski/520780/ft2_4FGL_J0831.8+0429_daily_bin450.fits sctable="SC_DATA" expcube=/scratch/kocevski/520780/ltcube_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.fits outfile=/scratch/kocevski/520780/expmap_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.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/520780/ltcube_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.fits
.....................!
real 194.24
user 185.30
sys 7.17

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/520780/ft1_filtered_4FGL_J0831.8+0429_daily_bin450.fits scfile=/scratch/kocevski/520780/ft2_4FGL_J0831.8+0429_daily_bin450.fits outfile=/scratch/kocevski/520780/cmap_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.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.81
user 0.37
sys 1.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520780/ft1_filtered_4FGL_J0831.8+0429_daily_bin450.fits scfile=/scratch/kocevski/520780/ft2_4FGL_J0831.8+0429_daily_bin450.fits outfile=/scratch/kocevski/520780/cmap_HighResolution_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.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.79
user 0.37
sys 1.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.382       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1403       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    19.168       1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11282E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7076       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.405       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.377       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.2671       1.0000         .10000E-03   10000.    
    15 'norm      '    1.8136       1.0000         .10000E-03   10000.    
    16 'norm      '    24.275       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79674       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0510       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=   4880.004     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1723 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.622        .41374E-06** at limit **
   2  Prefactor     .10000E-03    6.3854        .30938E-06** at limit **
   3  Prefactor     16.394        228.41        .15161E-06   -.20362E-05
   4  Prefactor     1.1415        22.850        .20425E-05   -.25439E-04
   5  Prefactor     .10000E-03    11.820        .46515E-06** at limit **
   6  norm          19.164        14.312       -.32730E-07    .95907E-05
   7  norm          .10000E-03    2.5569       -.34500E-07** at limit **
   8  norm          .10000E-03    32.611        .55339E-05** at limit **
   9  norm          1.7077        2.7199        .74507E-07    .22071E-04
  10  Prefactor     24.354        37.953        .17794E-05    .23576E-04
  11  Prefactor     .10000E-03    7.1661        .11464E-05** at limit **
  12  norm          .10000E-03    .24447        .81296E-07** at limit **
  13  norm          12.378        9.7235        .80673E-07    .15884E-05
  14  Prefactor     7.2709        24.824        .29664E-06   -.43463E-05
  15  norm          1.8141        4.3835        .87147E-07   -.79122E-05
  16  norm          24.276        13.173        .13649E-06    .65822E-05
  17  Normalizat    .79649        .21599       -.33928E-05   -.11779E-04
  18  Prefactor     1.0512        .17204        .18799E-05   -.18700E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3942
  Prefactor  = 1.1415
  Prefactor  = 0.0001
  norm       = 19.1635
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 1.70767
  Prefactor  = 24.3537
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.3776
  Prefactor  = 7.27089
  norm       = 1.81413
  norm       = 24.2759
  Normalizat = 0.796488
  Prefactor  = 1.05117
 **********
 **   18 **HESSE 
 **********

 FCN=   4880.004     FROM HESSE     STATUS=OK           246 CALLS     1969 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.4243        .17250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.394        228.30        .98955E-04   -1.4898    
   4  Prefactor     1.1415        23.061        .21771E-02   -1.5494    
   5  Prefactor     .10000E-03    11.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.164        14.368        .91482E-04   -1.4832    
   7  norm          .10000E-03    2.6169        .10910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    34.313        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7077        2.6905        .14091E-03   -1.5447    
  10  Prefactor     24.354        37.977        .81086E-04   -1.4721    
  11  Prefactor     .10000E-03    7.2768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .24769        .33756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.378        9.7281        .11386E-03   -1.5004    
  14  Prefactor     7.2709        24.822        .14879E-03   -1.5169    
  15  norm          1.8141        4.3591        .21436E-03   -1.5439    
  16  norm          24.276        13.155        .81301E-04   -1.4722    
  17  Normalizat    .79649        .23002        .27550E-03   -1.0020    
  18  Prefactor     1.0512        .18340        .19864E-03   -.91043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3011e-09
Minuit parameter uncertainties:
  1  3.25854e-05
  2  1.24885e-05
  3  122.928
  4  10.2656
  5  1.05838e-05
  6  14.3705
  7  1.54904e-06
  8  0.000329101
  9  2.69072
  10  38.0146
  11  4.64865e-05
  12  6.84086e-07
  13  9.7293
  14  24.857
  15  4.35991
  16  13.1562
  17  0.230296
  18  0.183514
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.000e-04  6.841e-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:  1.051e+00  1.835e-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:  7.965e-01  2.303e-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: 4.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/520780/likelihoodResults_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.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) = 4880.00369049
delta logL = -4.61876898044e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4880.00364463
delta logL = -3.20233993989e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1711       1.0000          .0000       5.0000    
     3 'Normalizat'    .79640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0513       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=   4880.004     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      229 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .26999        .33805E-03** at limit **
   2  alpha         2.0151        3.2452        .16644       -.70851E-06
   3  Normalizat    .79649        .21922        .27549E-03   -.49396E-04
   4  Prefactor     1.0512        .18052        .19864E-03   -.44435E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.01509
  Normalizat = 0.796487
  Prefactor  = 1.05118
 **********
 **   18 **HESSE 
 **********

 FCN=   4880.004     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .25187        .67610E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0151        2.8905        .66577E-02   -.19520    
   3  Normalizat    .79649        .21939        .11020E-04   -1.0020    
   4  Prefactor     1.0512        .18066        .39729E-04   -.91043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47718e-10
Minuit parameter uncertainties:
  1  2.80076e-06
  2  62.462
  3  0.219633
  4  0.180765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520780': 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) = 4880.00364097
delta logL = 3.34059586748e-06

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.000e-04  2.801e-06  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.015e+00  6.246e+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.051e+00  1.808e-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:  7.965e-01  2.196e-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/520780/cmap_HighResolution_355968001_356227201_4FGL_J0831.8+0429_daily_bin450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-05', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2021-08-29 22:52:52.040062', job_id='520780', GAL2='1.05', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1630302772.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.34e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='450' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:52:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 520780: <4FGL_J0831.8+0429_daily_bin450> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin450 127.973 4.4941 355968001 356227201 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 :                                   524.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             261.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

