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


Performing analysis on: 4FGL_J0831.8+0429_daily_bin626
RA = 127.973, Dec = 4.4941
tmin = 401587201, tmax = 401846401
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='522566', job_status='RUN', time_executed='2021-08-29 22:48:54.878504', time_epoch_executed='1630302534.88' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='626'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522566

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522566/ft1_4FGL_J0831.8+0429_daily_bin626.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522566/ft2_4FGL_J0831.8+0429_daily_bin626.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522566/ft1_4FGL_J0831.8+0429_daily_bin626.fits outfile=/scratch/kocevski/522566/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin626.fits ra=127.973 dec=4.4941 rad=12.0 tmin=401587201.0 tmax=401846401.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.14
user 3.96
sys 1.05

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522566/ft1_filtered_4FGL_J0831.8+0429_daily_bin626.fits" evtable="EVENTS" scfile=/scratch/kocevski/522566/ft2_4FGL_J0831.8+0429_daily_bin626.fits sctable="SC_DATA" outfile=/scratch/kocevski/522566/ltcube_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.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/522566/ft2_4FGL_J0831.8+0429_daily_bin626.fits
.....................!
real 13.12
user 11.44
sys 1.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522566/ft1_filtered_4FGL_J0831.8+0429_daily_bin626.fits evtable="EVENTS" scfile=/scratch/kocevski/522566/ft2_4FGL_J0831.8+0429_daily_bin626.fits sctable="SC_DATA" expcube=/scratch/kocevski/522566/ltcube_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.fits outfile=/scratch/kocevski/522566/expmap_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.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/522566/ltcube_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.fits
.....................!
real 190.95
user 185.12
sys 5.35

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/522566/ft1_filtered_4FGL_J0831.8+0429_daily_bin626.fits scfile=/scratch/kocevski/522566/ft2_4FGL_J0831.8+0429_daily_bin626.fits outfile=/scratch/kocevski/522566/cmap_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.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.69
user 0.37
sys 0.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522566/ft1_filtered_4FGL_J0831.8+0429_daily_bin626.fits scfile=/scratch/kocevski/522566/ft2_4FGL_J0831.8+0429_daily_bin626.fits outfile=/scratch/kocevski/522566/cmap_HighResolution_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.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.65
user 0.38
sys 0.95

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14313E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11987E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1909       1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.890       1.0000         .10000E-03   10000.    
     6 'norm      '    16.824       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6942       1.0000         .10000E-03   10000.    
     8 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2118       1.0000         .10000E-03   10000.    
    12 'norm      '    .11822E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    11.324       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4337       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1991       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .91043       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89320       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=   4908.217     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1640 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    57.943       -.31705E-04** at limit **
   2  Prefactor     .10000E-03    32.433       -.37248E-06** at limit **
   3  Prefactor     .10000E-03    66.357       -.10689E-04** at limit **
   4  Prefactor     2.1889        8.7723        .73366E-06    .33635E-04
   5  Prefactor     42.897        28.676       -.83153E-06   -.12674E-04
   6  norm          16.829        11.787       -.10478E-07   -.11942E-04
   7  norm          3.6952        4.5485        .11009E-06   -.68784E-05
   8  norm          .10000E-03    4.9539        .11361E-06** at limit **
   9  norm          .10000E-03    1.4906        .14092E-06** at limit **
  10  Prefactor     .10000E-03    12.277        .32793E-06** at limit **
  11  Prefactor     2.2168        6.5868        .80057E-05    .31421E-03
  12  norm          .10748E-01    .50101       -.66119E-06    .74542E-03
  13  norm          11.328        8.6661        .40198E-07   -.95418E-05
  14  Prefactor     .10000E-03    13.434       -.33226E-06** at limit **
  15  norm          1.4329        2.0038        .38136E-07   -.42746E-05
  16  norm          1.2096        8.7318        .13969E-05    .37717E-04
  17  Normalizat    .90993        .19607       -.16085E-05   -.51306E-04
  18  Prefactor     .89341        .15387       -.61140E-07   -.74793E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.18886
  Prefactor  = 42.897
  norm       = 16.8293
  norm       = 3.69519
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.21682
  norm       = 0.0107485
  norm       = 11.3276
  Prefactor  = 0.0001
  norm       = 1.43286
  norm       = 1.20959
  Normalizat = 0.909931
  Prefactor  = 0.893412
 **********
 **   18 **HESSE 
 **********

 FCN=   4908.217     FROM HESSE     STATUS=OK           252 CALLS     1892 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    77.431        .54029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    33.198        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    66.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.1889        8.6815        .27805E-03   -1.5412    
   5  Prefactor     42.897        28.710        .61213E-04   -1.4397    
   6  norm          16.829        11.774        .97647E-04   -1.4887    
   7  norm          3.6952        4.5020        .15282E-03   -1.5323    
   8  norm          .10000E-03    4.9562        .15230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.4994        .83528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2168        9.0478        .13828E-02   -1.5410    
  12  norm          .10748E-01    20.617        .91266E-03   -1.5687    
  13  norm          11.328        8.6692        .11905E-03   -1.5035    
  14  Prefactor     .10000E-03    13.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4329        1.9791        .11415E-03   -1.5469    
  16  norm          1.2096        8.8886        .40216E-03   -1.5488    
  17  Normalizat    .90993        .23305        .25348E-03   -.96112    
  18  Prefactor     .89341        .18368        .20296E-03   -.96372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87648e-09
Minuit parameter uncertainties:
  1  0.0019501
  2  0.000106381
  3  2.94551e-05
  4  8.68649
  5  28.719
  6  11.7759
  7  4.50237
  8  2.14715e-05
  9  1.3876e-05
  10  3.44675e-05
  11  8.95924
  12  0.937427
  13  8.67019
  14  4.99686e-06
  15  1.97917
  16  6.55898
  17  0.233308
  18  0.183806
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.075e-02  9.374e-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:  8.934e-01  1.838e-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:  9.099e-01  2.333e-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: 8.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/522566/likelihoodResults_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.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): 102
logL (Free Index) = 4908.21552412
delta logL = 0.00175288306036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4908.07396311
delta logL = 0.14331388972

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13768       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6516       1.0000          .0000       5.0000    
     3 'Normalizat'    .87396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90935       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=   4908.074     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      285 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13786        1.0409        .46206E-04   -.18847E-02
   2  alpha         3.6521        4.1722        .32542E-01   -.24939E-04
   3  Normalizat    .87361        .23693        .25817E-03   -.14633E-03
   4  Prefactor     .90952        .18435        .20131E-03   -.13887E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.137858
  alpha      = 3.65209
  Normalizat = 0.873614
  Prefactor  = 0.90952
 **********
 **   18 **HESSE 
 **********

 FCN=   4908.074     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13786        .44507        .18482E-05   -1.5634    
   2  alpha         3.6521        1.7494        .13017E-02    .47894    
   3  Normalizat    .87361        .23740        .10327E-04   -.97394    
   4  Prefactor     .90952        .18464        .40263E-04   -.95809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77917e-10
Minuit parameter uncertainties:
  1  0.445082
  2  2.01533
  3  0.237681
  4  0.184769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522566': 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) = 4908.07396159
delta logL = 0.143315414436

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.379e-01  4.451e-01  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  3.652e+00  2.015e+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:  9.095e-01  1.848e-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.736e-01  2.377e-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/522566/cmap_HighResolution_401587201_401846401_4FGL_J0831.8+0429_daily_bin626.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-05', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2021-08-29 22:57:26.453144', job_id='522566', GAL2='0.91', fit_tolerance='1e-08', EG2='0.87', EG='0.91', time_epoch_completed='1630303046.45', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.43e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='626' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 22:57:26 PDT 2021


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

Job <4FGL_J0831.8+0429_daily_bin626> 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) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 22:45: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:45:40 2021
Terminated at Sun Aug 29 22:57:27 2021
Results reported at Sun Aug 29 22:57:27 2021

Your job looked like:

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

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

