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


Performing analysis on: 4FGL_J0839.8+0105_daily_bin847
RA = 129.963, Dec = 1.0877
tmin = 458870401, tmax = 459129601
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='604880', job_status='RUN', time_executed='2021-08-30 03:04:19.738891', time_epoch_executed='1630317859.74' WHERE source_name='4FGL J0839.8+0105' and cadence='daily' and bin_id='847'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/604880

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/604880/ft1_4FGL_J0839.8+0105_daily_bin847.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/604880/ft1_4FGL_J0839.8+0105_daily_bin847.fits outfile=/scratch/kocevski/604880/ft1_filteredMKT_4FGL_J0839.8+0105_daily_bin847.fits ra=129.963 dec=1.0877 rad=12.0 tmin=458870401.0 tmax=459129601.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 7.26
user 3.33
sys 3.35

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.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/604880/ft1_filteredMKT_4FGL_J0839.8+0105_daily_bin847.fits evtable="EVENTS" outfile="/scratch/kocevski/604880/ft1_filtered_4FGL_J0839.8+0105_daily_bin847.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 3.70
user 0.35
sys 3.33

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/604880/ft1_filtered_4FGL_J0839.8+0105_daily_bin847.fits" evtable="EVENTS" scfile=/scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits sctable="SC_DATA" outfile=/scratch/kocevski/604880/ltcube_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.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/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits
.....................!
real 16.75
user 12.33
sys 4.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/604880/ft1_filtered_4FGL_J0839.8+0105_daily_bin847.fits evtable="EVENTS" scfile=/scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits sctable="SC_DATA" expcube=/scratch/kocevski/604880/ltcube_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.fits outfile=/scratch/kocevski/604880/expmap_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.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/604880/ltcube_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.fits
.....................!
real 195.67
user 186.07
sys 9.12

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/604880/ft1_filtered_4FGL_J0839.8+0105_daily_bin847.fits scfile=/scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits outfile=/scratch/kocevski/604880/cmap_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.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 3.88
user 0.37
sys 3.25

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/604880/ft1_filtered_4FGL_J0839.8+0105_daily_bin847.fits scfile=/scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits outfile=/scratch/kocevski/604880/cmap_HighResolution_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.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 4.22
user 0.37
sys 3.21

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/604880/ft1_filtered_4FGL_J0839.8+0105_daily_bin847.fits', '/scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits', expMap='/scratch/kocevski/604880/expmap_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.fits', expCube='/scratch/kocevski/604880/ltcube_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/604880/Model_4FGL_J0839.8+0105_daily_bin847.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/604880/ft1_filtered_4FGL_J0839.8+0105_daily_bin847.fits
Spacecraft file(s): /scratch/kocevski/604880/ft2_4FGL_J0839.8+0105_daily_bin847.fits
Exposure map: /scratch/kocevski/604880/expmap_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.fits
Exposure cube: /scratch/kocevski/604880/ltcube_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/604880/Model_4FGL_J0839.8+0105_daily_bin847.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) = 7066.43488654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5829       1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.380       1.0000         .10000E-03   10000.    
     3 'norm      '    3.5084       1.0000         .10000E-03   10000.    
     4 'norm      '    .64839E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .81054       1.0000         .10000E-03   10000.    
     6 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.6817       1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.031       1.0000         .10000E-03   10000.    
     9 'norm      '    36.150       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.559       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4705       1.0000         .10000E-03   10000.    
    12 'norm      '    6.7739       1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.183       1.0000         .10000E-03   10000.    
    14 'norm      '    5.8972       1.0000         .10000E-03   10000.    
    15 'norm      '    .10603E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.321       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .82481       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0993       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98750       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.

 FCN=   7066.435     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     2430 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5689        8.9826        .20630E-06    .25834E-04
   2  Prefactor     42.571        35.065        .39856E-06    .91897E-04
   3  norm          3.5070        8.6276        .58539E-06   -.99004E-05
   4  norm          .66312E-01    1.0675       -.16458E-06    .11094E-04
   5  norm          .81070        1.1421        .91546E-06   -.94791E-04
   6  norm          .10000E-03    28.851       -.20136E-05** at limit **
   7  norm          6.6886        4.0273        .27679E-07    .15307E-05
   8  Prefactor     41.965        49.310       -.11881E-06   -.79947E-04
   9  norm          36.226        27.793       -.19957E-06   -.65280E-04
  10  Prefactor     10.748        20.438        .16774E-06    .18987E-04
  11  norm          1.4708        .91937        .31184E-07   -.17608E-04
  12  norm          6.7771        8.0664        .35178E-06    .28133E-06
  13  Prefactor     48.375        30.298        .93418E-08   -.81784E-04
  14  norm          5.9077        4.1225       -.74947E-07   -.15171E-03
  15  norm          .10000E-03    3.5343        .19626E-06** at limit **
  16  Prefactor     17.373        18.484       -.49746E-07   -.26913E-04
  17  Prefactor     .83182        4.5977        .29734E-05   -.10168E-03
  18  Normalizat    1.0985        .20338        .86547E-06   -.17474E-03
  19  Prefactor     .98761        .14962       -.18399E-05    .17053E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.56895
  Prefactor  = 42.5707
  norm       = 3.50702
  norm       = 0.0663116
  norm       = 0.8107
  norm       = 0.0001
  norm       = 6.68865
  Prefactor  = 41.9646
  norm       = 36.2256
  Prefactor  = 10.7476
  norm       = 1.47085
  norm       = 6.77714
  Prefactor  = 48.375
  norm       = 5.90772
  norm       = 0.0001
  Prefactor  = 17.3728
  Prefactor  = 0.831817
  Normalizat = 1.0985
  Prefactor  = 0.987606
 **********
 **   18 **HESSE 
 **********

 FCN=   7066.435     FROM HESSE     STATUS=OK           278 CALLS     2708 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5689        8.9784        .17003E-03   -1.5236    
   2  Prefactor     42.571        35.052        .61579E-04   -1.4402    
   3  norm          3.5070        8.6045        .21584E-03   -1.5333    
   4  norm          .66312E-01    15.961        .16194E-02   -1.5656    
   5  norm          .81070        1.1606        .24958E-03   -1.5528    
   6  norm          .10000E-03    28.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.6886        4.0242        .12537E-03   -1.5191    
   8  Prefactor     41.965        49.308        .61833E-04   -1.4411    
   9  norm          36.226        27.806        .66655E-04   -1.4503    
  10  Prefactor     10.748        20.442        .12330E-03   -1.5052    
  11  norm          1.4708        .91427        .61204E-04   -1.5465    
  12  norm          6.7771        8.0647        .15416E-03   -1.5187    
  13  Prefactor     48.375        30.371        .57768E-04   -1.4316    
  14  norm          5.9077        4.1245        .13518E-03   -1.5222    
  15  norm          .10000E-03    18.397        .30402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.373        18.468        .96236E-04   -1.4874    
  17  Prefactor     .83182        4.7138        .33871E-03   -1.5526    
  18  Normalizat    1.0985        .23629        .28371E-03   -.89800    
  19  Prefactor     .98761        .17220        .22625E-03   -.93144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25393e-10
Minuit parameter uncertainties:
  1  8.98055
  2  35.0687
  3  8.60754
  4  2.05655
  5  1.16059
  6  5.16178e-05
  7  4.02439
  8  49.3559
  9  27.8164
  10  20.4548
  11  0.914277
  12  8.06601
  13  30.3805
  14  4.12475
  15  0.000136532
  16  18.4743
  17  3.96056
  18  0.236519
  19  0.172296
Done.

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

Extracting fit parameters...

4FGL J0839.8+0105
   Spectrum: LogParabola
295         norm:  6.777e+00  8.066e+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:  9.876e-01  1.723e-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:  1.099e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.90
Ra Dec: 129.963 1.088
Photon Flux Upper Limit: 9.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/604880/likelihoodResults_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.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) = 7066.40366769
delta logL = 0.0309990675287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7066.40107972
delta logL = 0.0335870426725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3574       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0515       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98516       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=   7066.401     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      249 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3560        8.5926        .14787E-03   -.69811E-04
   2  alpha         2.0516        .71175        .20939E-01    .31073E-05
   3  Normalizat    1.1024        .21854        .28325E-03    .46156E-04
   4  Prefactor     .98516        .16789        .22649E-03   -.83174E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.35597
  alpha      = 2.0516
  Normalizat = 1.10243
  Prefactor  = 0.985155
 **********
 **   18 **HESSE 
 **********

 FCN=   7066.401     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3560        8.5407        .59147E-05   -1.5165    
   2  alpha         2.0516        .70767        .83755E-03   -.18034    
   3  Normalizat    1.1024        .21870        .11330E-04   -.89674    
   4  Prefactor     .98516        .16801        .90595E-05   -.93226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14565e-11
Minuit parameter uncertainties:
  1  8.54216
  2  0.717813
  3  0.218875
  4  0.168095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/604880': 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) = 7066.40107969
delta logL = 0.0335870643503

Extracting fit parameters...

4FGL J0839.8+0105
   Spectrum: LogParabola
295         norm:  7.356e+00  8.542e+00  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.052e+00  7.178e-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:  9.852e-01  1.681e-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:  1.102e+00  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.90
Ra Dec: 129.963 1.088

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/604880/cmap_HighResolution_458870401_459129601_4FGL_J0839.8+0105_daily_bin847.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', job_status='DONE', photon_flux_upper_limit='9.52e-08', time_completed='2021-08-30 03:15:52.607220', job_id='604880', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630318552.61', return_code2='0', ts='0.90', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.36e-02', ts2='0.96', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='847' AND source_name='4FGL J0839.8+0105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 03:15:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 604880: <4FGL_J0839.8+0105_daily_bin847> in cluster <slac> Done

Job <4FGL_J0839.8+0105_daily_bin847> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 03:00:36 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 03:00:38 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:38 2021
Terminated at Mon Aug 30 03:15:53 2021
Results reported at Mon Aug 30 03:15:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0839.8+0105_daily_bin847 129.963 1.0877 458870401 459129601 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 :                                   720.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             235.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            917 sec.

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

