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


Performing analysis on: 4FGL_J0839.8+0105_daily_bin953
RA = 129.963, Dec = 1.0877
tmin = 486345601, tmax = 486604801
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='605053', job_status='RUN', time_executed='2021-08-30 03:05:40.718559', time_epoch_executed='1630317940.72' WHERE source_name='4FGL J0839.8+0105' and cadence='daily' and bin_id='953'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/605053

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/605053/ft1_4FGL_J0839.8+0105_daily_bin953.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/605053/ft1_4FGL_J0839.8+0105_daily_bin953.fits outfile=/scratch/kocevski/605053/ft1_filteredMKT_4FGL_J0839.8+0105_daily_bin953.fits ra=129.963 dec=1.0877 rad=12.0 tmin=486345601.0 tmax=486604801.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 8.22
user 3.38
sys 4.57

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.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/605053/ft1_filteredMKT_4FGL_J0839.8+0105_daily_bin953.fits evtable="EVENTS" outfile="/scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.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 5.08
user 0.34
sys 4.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits" evtable="EVENTS" scfile=/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits sctable="SC_DATA" outfile=/scratch/kocevski/605053/ltcube_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.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/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits
.....................!
real 17.45
user 12.07
sys 5.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits evtable="EVENTS" scfile=/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits sctable="SC_DATA" expcube=/scratch/kocevski/605053/ltcube_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.fits outfile=/scratch/kocevski/605053/expmap_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.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/605053/ltcube_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.fits
.....................!
real 199.35
user 187.40
sys 11.00

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J0839.8+0105 @ 129.963 1.0877

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits scfile=/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits outfile=/scratch/kocevski/605053/cmap_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.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=129.963 yref=1.0877 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 5.24
user 0.37
sys 4.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits scfile=/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits outfile=/scratch/kocevski/605053/cmap_HighResolution_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.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=129.963 yref=1.0877 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 5.11
user 0.38
sys 4.45

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits evtable="EVENTS" scfile=/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/605053/Model_4FGL_J0839.8+0105_daily_bin953.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/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits.....................!
real 82.23
user 72.11
sys 6.95

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits', '/scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits', expMap='/scratch/kocevski/605053/expmap_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.fits', expCube='/scratch/kocevski/605053/ltcube_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/605053/Model_4FGL_J0839.8+0105_daily_bin953.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0839.8+0105'

4FGL J0839.8+0105
   Spectrum: LogParabola
295         norm:  3.335e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.241e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.924e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.486e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/605053/ft1_filtered_4FGL_J0839.8+0105_daily_bin953.fits
Spacecraft file(s): /scratch/kocevski/605053/ft2_4FGL_J0839.8+0105_daily_bin953.fits
Exposure map: /scratch/kocevski/605053/expmap_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.fits
Exposure cube: /scratch/kocevski/605053/ltcube_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/605053/Model_4FGL_J0839.8+0105_daily_bin953.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) = 6709.57731461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8054       1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.977       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2636       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3181       1.0000         .10000E-03   10000.    
     5 'norm      '    2.7962       1.0000         .10000E-03   10000.    
     6 'norm      '    15.806       1.0000         .10000E-03   10000.    
     7 'norm      '    3.8554       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.809       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.052       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9899       1.0000         .10000E-03   10000.    
    12 'norm      '    16.018       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.854       1.0000         .10000E-03   10000.    
    14 'norm      '    .16525       1.0000         .10000E-03   10000.    
    15 'norm      '    9.5530       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20522       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .84823       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0336       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6709.564     FROM MIGRAD    STATUS=CONVERGED     50 CALLS     1577 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8056        1.2601       -.17752E-06    .31191E-03
   2  Prefactor     31.974        1.5610       -.44514E-06    .45495E-02
   3  norm          3.2644        1.0411        .23521E-06    .10346E-03
   4  norm          1.3181        1.7105       -.77740E-07   -.13337E-03
   5  norm          2.7963        1.5999       -.16959E-09    .26283E-03
   6  norm          15.806        1.0268        .12643E-06   -.32557E-03
   7  norm          3.8540        4.3519        .23040E-05    .35262E-03
   8  Prefactor     .10000E-03    15.452        .38789E-06** at limit **
   9  norm          12.810        1.0059        .59331E-07   -.19693E-03
  10  Prefactor     12.050        1.0403       -.15569E-06    .63636E-03
  11  norm          1.9899        1.1190       -.11576E-06    .16249E-04
  12  norm          16.018        1.0253        .10262E-06   -.39286E-04
  13  Prefactor     29.853        1.0366       -.10652E-06    .96363E-03
  14  norm          .16557        1.0547        .20326E-05    .35970E-03
  15  norm          9.5506        5.9172       -.38469E-05   -.96866E-04
  16  Prefactor     .10000E-03    28.582       -.13916E-05** at limit **
  17  Prefactor     .20412        4.3049       -.23554E-05    .80534E-04
  18  Normalizat    .84840        .21278        .18839E-05    .12646E-03
  19  Prefactor     1.0335        .16419        .20049E-06    .20254E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.80561
  Prefactor  = 31.9745
  norm       = 3.26438
  norm       = 1.31813
  norm       = 2.79635
  norm       = 15.8058
  norm       = 3.85397
  Prefactor  = 0.0001
  norm       = 12.8097
  Prefactor  = 12.0505
  norm       = 1.98987
  norm       = 16.0182
  Prefactor  = 29.8533
  norm       = 0.165574
  norm       = 9.5506
  Prefactor  = 0.0001
  Prefactor  = 0.204122
  Normalizat = 0.848404
  Prefactor  = 1.03346
 **********
 **   18 **HESSE 
 **********

 FCN=   6709.564     FROM HESSE     STATUS=OK           328 CALLS     1905 TOTAL
                     EDM=   .89E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8056        4.6162        .45881E-02   -1.5269    
   2  Prefactor     31.974        34.849        .17714E-02   -1.4576    
   3  norm          3.2644        10.042        .56042E-02   -1.5347    
   4  norm          1.3181        1.7418        .95864E-02   -1.5478    
   5  norm          2.7963        1.6121        .60826E-02   -1.5374    
   6  norm          15.806        18.429        .25186E-02   -1.4913    
   7  norm          3.8540        4.6617        .51381E-02   -1.5315    
   8  Prefactor     .10000E-03    15.430        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.810        23.458        .27980E-02   -1.4992    
  10  Prefactor     12.050        14.967        .28847E-02   -1.5014    
  11  norm          1.9899        1.1282        .73429E-02   -1.5426    
  12  norm          16.018        8.5122        .25018E-02   -1.4907    
  13  Prefactor     29.853        20.327        .18332E-02   -1.4615    
  14  norm          .16557        1.5346        .52259E-01   -1.5627    
  15  norm          9.5506        6.1682        .32414E-02   -1.5090    
  16  Prefactor     .10000E-03    28.140        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .20412        1.7668        .36434E-01   -1.5618    
  18  Normalizat    .84840        .18868        .66597E-01   -.98298    
  19  Prefactor     1.0335        .14129        .40984E-01   -.91622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92736e-08
Minuit parameter uncertainties:
  1  4.61652
  2  34.8714
  3  10.0474
  4  1.74186
  5  1.61211
  6  18.4355
  7  4.66216
  8  5.65904e-05
  9  23.4745
  10  14.972
  11  1.12818
  12  8.51284
  13  20.3314
  14  1.00786
  15  6.16858
  16  0.000107391
  17  1.20081
  18  0.188831
  19  0.141338
Done.

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

Extracting fit parameters...

4FGL J0839.8+0105
   Spectrum: LogParabola
295         norm:  1.602e+01  8.513e+00  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.241e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.924e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.486e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  1.033e+00  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  8.484e-01  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.68
Ra Dec: 129.963 1.088
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 6.22e-08 +/- 3.31e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 1.22e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6709.51434513
delta logL = 0.049871549737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6709.51184352
delta logL = 0.0523731562243

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.537       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0334       1.0000          .0000       5.0000    
     3 'Normalizat'    .86188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0266       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5010E+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=   6709.512     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      243 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.537        8.9210        .98489E-04   -.29377E-03
   2  alpha         2.0334        .62641        .16267E-01   -.29508E-04
   3  Normalizat    .86188        .21250        .29255E-03    .22228E-04
   4  Prefactor     1.0266        .16348        .20880E-03    .40891E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.5372
  alpha      = 2.03343
  Normalizat = 0.86188
  Prefactor  = 1.0266
 **********
 **   18 **HESSE 
 **********

 FCN=   6709.512     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.537        8.9088        .39396E-05   -1.4894    
   2  alpha         2.0334        .62521        .65069E-03   -.18773    
   3  Normalizat    .86188        .21257        .11702E-04   -.97813    
   4  Prefactor     1.0266        .16356        .83518E-05   -.91848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01642e-10
Minuit parameter uncertainties:
  1  8.90955
  2  0.632166
  3  0.21278
  4  0.163644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/605053': 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) = 6709.51184351
delta logL = 0.0523731676012

Extracting fit parameters...

4FGL J0839.8+0105
   Spectrum: LogParabola
295         norm:  1.654e+01  8.910e+00  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.033e+00  6.322e-01  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.924e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  6.486e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
498    Prefactor:  1.027e+00  1.636e-01  0.000e+00  1.000e+01 ( 1.000e+00)
499        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
500        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
497   Normalization:  8.619e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.78
Ra Dec: 129.963 1.088
Photon Index (Free Index): 2.03 +/- 0.63
Photon Flux (Free Index): 5.32e-08 +/- 3.97e-08
Energy Flux (Free Index): 2.44e-05 +/- 1.41e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/605053/cmap_HighResolution_486345601_486604801_4FGL_J0839.8+0105_daily_bin953.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.22e-08', energy_flux2='2.44e-05', photon_flux_error='3.31e-08', dlogl='5.24e-02', energy_flux='2.29e-05', photon_flux2='5.32e-08', job_status='DONE', time_completed='2021-08-30 03:15:32.590531', photon_index_error2='0.63', photon_index2='2.03', ts='7.68', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='0.85', time_epoch_completed='1630318532.59', return_code='0', job_id='605053', GAL2='1.03', EG2='0.86', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.97e-08', ts2='7.78', photon_index='2.24' WHERE bin_id='953' AND source_name='4FGL J0839.8+0105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 03:15:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 605053: <4FGL_J0839.8+0105_daily_bin953> in cluster <slac> Done

Job <4FGL_J0839.8+0105_daily_bin953> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 03:00:51 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 03:00:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 03:00:53 2021
Terminated at Mon Aug 30 03:15:33 2021
Results reported at Mon Aug 30 03:15:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0839.8+0105_daily_bin953 129.963 1.0877 486345601 486604801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0839.8+0105 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             210.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            882 sec.

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

