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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin122
RA = 127.973, Dec = 4.4941
tmin = 270950401, tmax = 271209601
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='519237', job_status='RUN', time_executed='2021-08-29 22:39:31.082755', time_epoch_executed='1630301971.08' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='122'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519237

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519237/ft1_4FGL_J0831.8+0429_daily_bin122.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519237/ft2_4FGL_J0831.8+0429_daily_bin122.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519237/ft1_4FGL_J0831.8+0429_daily_bin122.fits outfile=/scratch/kocevski/519237/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin122.fits ra=127.973 dec=4.4941 rad=12.0 tmin=270950401.0 tmax=271209601.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 2.51
user 1.42
sys 1.06

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/519237/ft1_filtered_4FGL_J0831.8+0429_daily_bin122.fits" evtable="EVENTS" scfile=/scratch/kocevski/519237/ft2_4FGL_J0831.8+0429_daily_bin122.fits sctable="SC_DATA" outfile=/scratch/kocevski/519237/ltcube_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.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/519237/ft2_4FGL_J0831.8+0429_daily_bin122.fits
.....................!
real 13.17
user 11.78
sys 1.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519237/ft1_filtered_4FGL_J0831.8+0429_daily_bin122.fits evtable="EVENTS" scfile=/scratch/kocevski/519237/ft2_4FGL_J0831.8+0429_daily_bin122.fits sctable="SC_DATA" expcube=/scratch/kocevski/519237/ltcube_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.fits outfile=/scratch/kocevski/519237/expmap_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.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/519237/ltcube_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.fits
.....................!
real 191.65
user 185.12
sys 5.76

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/519237/ft1_filtered_4FGL_J0831.8+0429_daily_bin122.fits scfile=/scratch/kocevski/519237/ft2_4FGL_J0831.8+0429_daily_bin122.fits outfile=/scratch/kocevski/519237/cmap_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.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.44
user 0.36
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519237/ft1_filtered_4FGL_J0831.8+0429_daily_bin122.fits scfile=/scratch/kocevski/519237/ft2_4FGL_J0831.8+0429_daily_bin122.fits outfile=/scratch/kocevski/519237/cmap_HighResolution_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.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.43
user 0.38
sys 1.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10190E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.242       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .32909       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15944E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.7099       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4376       1.0000         .10000E-03   10000.    
     8 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .77989E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .23410       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    64.418       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4760       1.0000         .10000E-03   10000.    
    16 'norm      '    6.9489       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .81240       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2701       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=   8766.497     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1806 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    76.205       -.46836E-05** at limit **
   2  Prefactor     17.200        12.843       -.90495E-06   -.19183E-03
   3  Prefactor     .10000E-03    67.878       -.45353E-06** at limit **
   4  Prefactor     .36498        6.3420       -.49568E-06   -.37435E-03
   5  Prefactor     .10000E-03    56.114        .18756E-05** at limit **
   6  norm          3.7055        7.4804       -.35083E-08   -.10219E-03
   7  norm          5.4365        3.4299        .83270E-07   -.29323E-03
   8  norm          .10000E-03    6.1578       -.62407E-07** at limit **
   9  norm          .85742E-01    7.6757        .20107E-05   -.41317E-03
  10  Prefactor     .10000E-03    6.2439        .12080E-06** at limit **
  11  Prefactor     .10000E-03    5.0576       -.11078E-06** at limit **
  12  norm          .23422        .39771        .36228E-06    .22689E-02
  13  norm          .10000E-03    3.0589        .92039E-07** at limit **
  14  Prefactor     64.455        33.605        .17622E-05   -.23761E-03
  15  norm          1.4764        2.3065       -.37030E-06    .23798E-03
  16  norm          6.9514        8.0269       -.26690E-06    .10444E-03
  17  Normalizat    .81230        .16665        .50091E-07   -.26041E-03
  18  Prefactor     1.2701        .13425       -.38523E-06   -.25768E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  Prefactor  = 17.1995
  Prefactor  = 0.0001
  Prefactor  = 0.364978
  Prefactor  = 0.000100001
  norm       = 3.7055
  norm       = 5.43645
  norm       = 0.0001
  norm       = 0.0857418
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.234222
  norm       = 0.0001
  Prefactor  = 64.455
  norm       = 1.47638
  norm       = 6.95135
  Normalizat = 0.812304
  Prefactor  = 1.27011
 **********
 **   18 **HESSE 
 **********

 FCN=   8766.497     FROM HESSE     STATUS=OK           254 CALLS     2060 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    112.00        .63749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.200        13.091        .96456E-04   -1.4878    
   3  Prefactor     .10000E-03    67.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .36498        22.490        .37913E-02   -1.5587    
   5  Prefactor     .10000E-03    56.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.7055        7.4097        .20966E-03   -1.5323    
   7  norm          5.4365        3.4039        .12998E-03   -1.5242    
   8  norm          .10000E-03    6.1646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .85742E-01    21.356        .22387E-02   -1.5649    
  10  Prefactor     .10000E-03    6.2450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.0810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .23422        .37264        .90120E-03   -1.5611    
  13  norm          .10000E-03    3.0957        .15986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     64.455        32.411        .50000E-04   -1.4101    
  15  norm          1.4764        2.2519        .16956E-03   -1.5465    
  16  norm          6.9514        7.9911        .15219E-03   -1.5181    
  17  Normalizat    .81230        .19034        .30484E-03   -.99614    
  18  Prefactor     1.2701        .15459        .20337E-03   -.84200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14591e-09
Minuit parameter uncertainties:
  1  0.00167868
  2  13.0928
  3  8.80373e-05
  4  5.73154
  5  0.000340003
  6  7.41153
  7  3.40403
  8  1.58547e-06
  9  2.70574
  10  7.06111e-06
  11  3.76626e-06
  12  0.37264
  13  4.11945e-06
  14  32.4197
  15  2.252
  16  7.99237
  17  0.190499
  18  0.15465
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.342e-01  3.726e-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.270e+00  1.547e-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.123e-01  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/519237/likelihoodResults_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.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) = 8766.44487919
delta logL = 0.0518039611998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8766.44473496
delta logL = 0.0519481853025

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23149       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8359       1.0000          .0000       5.0000    
     3 'Normalizat'    .81511       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2687       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8766.445     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      246 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23191        .36362        .89457E-03    .56034E-02
   2  alpha         1.8372        .98107        .31227E-01   -.95727E-05
   3  Normalizat    .81493        .18649        .30438E-03    .18414E-03
   4  Prefactor     1.2688        .15291        .20345E-03    .13026E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.231908
  alpha      = 1.83723
  Normalizat = 0.814928
  Prefactor  = 1.26881
 **********
 **   18 **HESSE 
 **********

 FCN=   8766.445     FROM HESSE     STATUS=OK            27 CALLS      273 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23191        .36703        .17891E-03   -1.5612    
   2  alpha         1.8372        .99136        .12491E-02   -.26831    
   3  Normalizat    .81493        .18663        .12175E-04   -.99517    
   4  Prefactor     1.2688        .15302        .40690E-04   -.84239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01406e-11
Minuit parameter uncertainties:
  1  0.367037
  2  1.02168
  3  0.186774
  4  0.153078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519237': 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) = 8766.44473331
delta logL = 0.0519498399462

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  2.319e-01  3.670e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  1.837e+00  1.022e+00  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.269e+00  1.531e-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.149e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
Ra Dec: 127.973 4.494

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/519237/cmap_HighResolution_270950401_271209601_4FGL_J0831.8+0429_daily_bin122.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='5.16e-08', time_completed='2021-08-29 22:50:11.717030', job_id='519237', GAL2='1.27', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630302611.72', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='5.19e-02', ts2='0.79', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='122' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:50:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 519237: <4FGL_J0831.8+0429_daily_bin122> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin122 127.973 4.4941 270950401 271209601 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 :                                   652.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            877 sec.

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

