aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 20 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7493
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0839.8+0105_daily_bin1748
RA = 129.963, Dec = 1.0877
tmin = 692409601, tmax = 692668801
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='881681', job_status='RUN', time_executed='2022-12-14 00:25:51.260939', time_epoch_executed='1671006351.26' WHERE source_name='4FGL J0839.8+0105' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881681

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881681/ft1_4FGL_J0839.8+0105_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881681/ft1_4FGL_J0839.8+0105_daily_bin1748.fits outfile=/scratch/kocevski/881681/ft1_filteredMKT_4FGL_J0839.8+0105_daily_bin1748.fits ra=129.963 dec=1.0877 rad=12.0 tmin=692409601.0 tmax=692668801.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 3.60
user 3.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.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/881681/ft1_filteredMKT_4FGL_J0839.8+0105_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881681/ft1_filtered_4FGL_J0839.8+0105_daily_bin1748.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 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881681/ft1_filtered_4FGL_J0839.8+0105_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881681/ltcube_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.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/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits
.....................!
real 12.03
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881681/ft1_filtered_4FGL_J0839.8+0105_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881681/ltcube_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.fits outfile=/scratch/kocevski/881681/expmap_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.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/881681/ltcube_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.fits
.....................!
real 191.13
user 185.94
sys 4.86

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/881681/ft1_filtered_4FGL_J0839.8+0105_daily_bin1748.fits scfile=/scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits outfile=/scratch/kocevski/881681/cmap_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.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 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881681/ft1_filtered_4FGL_J0839.8+0105_daily_bin1748.fits scfile=/scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits outfile=/scratch/kocevski/881681/cmap_HighResolution_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.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 0.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/881681/ft1_filtered_4FGL_J0839.8+0105_daily_bin1748.fits', '/scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits', expMap='/scratch/kocevski/881681/expmap_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.fits', expCube='/scratch/kocevski/881681/ltcube_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/881681/Model_4FGL_J0839.8+0105_daily_bin1748.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  0.000e+00  1.000e+06 ( 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 -5.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/881681/ft1_filtered_4FGL_J0839.8+0105_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/881681/ft2_4FGL_J0839.8+0105_daily_bin1748.fits
Exposure map: /scratch/kocevski/881681/expmap_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.fits
Exposure cube: /scratch/kocevski/881681/ltcube_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/881681/Model_4FGL_J0839.8+0105_daily_bin1748.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) = 7160.39633737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28605E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0976       1.0000          .0000       .10000E+07
     3 'norm      '    46.937       1.0000          .0000       .10000E+07
     4 'norm      '    .53291E-08   1.0000          .0000       .10000E+07
     5 'norm      '    4.7997       1.0000          .0000       .10000E+07
     6 'norm      '    12.119       1.0000          .0000       .10000E+07
     7 'norm      '    .64512       1.0000          .0000       .10000E+07
     8 'norm      '    19.100       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.6616       1.0000          .0000       .10000E+07
    10 'norm      '    .41334E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .99047       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10853       1.0000          .0000       .10000E+07
    13 'norm      '    1.3337       1.0000          .0000       .10000E+07
    14 'norm      '    6.4085       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10776E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6834       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2264       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .65651       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=   7159.700     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1045 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4010        .24734E-07** at limit **
   2  Prefactor     4.1745        53.477        .26669E-06    .67728E-03
   3  norm          46.910        5.0507        .20226E-08    .15931    
   4  norm           .0000        .96936        .28954E-07** at limit **
   5  norm          4.8012        1.6802        .35664E-07    .16382E-01
   6  norm          12.523        7.3201       -.30362E-07   -.21640E-01
   7  norm          .65361        2.0857        .53836E-07    .19761E-02
   8  norm          18.691        23.148        .17056E-07   -.30276E-01
   9  Prefactor     4.6219        11.152       -.25708E-08   -.11145E-01
  10  norm           .0000        1.0922        .25451E-08** at limit **
  11  norm          .98181        6.3711       -.63464E-07    .75852E-02
  12  Prefactor     .31744E-04    12.525       -.15014E-07** at limit **
  13  norm          1.3218        3.1842       -.20787E-07   -.31129E-03
  14  norm          6.4207        5.4408        .21227E-07    .18077E-02
  15  Prefactor     .16598E-07    11.555        .25688E-06** at limit **
  16  Prefactor     3.6726        3.7900        .47016E-07    .36807E-02
  17  Normalizat    1.2284        .20410        .26050E-05    .18313E-03
  18  Prefactor     .65600        .15187       -.28627E-05   -.43964E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.17455
  norm       = 46.9096
  norm       = 0
  norm       = 4.80124
  norm       = 12.5235
  norm       = 0.653611
  norm       = 18.6911
  Prefactor  = 4.62192
  norm       = 0
  norm       = 0.981805
  Prefactor  = 3.17436e-05
  norm       = 1.32177
  norm       = 6.42074
  Prefactor  = 1.65978e-08
  Prefactor  = 3.67256
  Normalizat = 1.22838
  Prefactor  = 0.655997
 **********
 **   18 **HESSE 
 **********

 FCN=   7159.700     FROM HESSE     STATUS=OK           290 CALLS     1335 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1745        55.723        .40635E-03   -1.5667    
   3  norm          46.910        12.228        .14597E-03   -1.5571    
   4  norm           .0000        .96204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.8012        1.6850        .45897E-03   -1.5664    
   6  norm          12.523        16.648        .28750E-03   -1.5637    
   7  norm          .65361        2.1216        .65280E-03   -1.5692    
   8  norm          18.691        24.076        .22889E-03   -1.5621    
   9  Prefactor     4.6219        11.179        .46588E-03   -1.5665    
  10  norm           .0000        1.0439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .98181        7.6776        .43428E-03   -1.5688    
  12  Prefactor     .31744E-04    8.7788        .13706E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3218        3.2056        .95000E-03   -1.5685    
  14  norm          6.4207        5.4539        .39624E-03   -1.5657    
  15  Prefactor     .16598E-07    11.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6726        3.8053        .52601E-03   -1.5670    
  17  Normalizat    1.2284        .17294        .53697E-01   -.85730    
  18  Prefactor     .65600        .12839        .41819E-01   -1.0528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46077e-07
Minuit parameter uncertainties:
  1  7.28507e-06
  2  30.5041
  3  12.2278
  4  8.3002e-06
  5  1.68505
  6  16.6477
  7  2.12158
  8  24.076
  9  11.1791
  10  3.94989e-07
  11  5.49107
  12  0.033387
  13  3.20563
  14  5.45395
  15  0.000877761
  16  3.80533
  17  0.17302
  18  0.128452
Done.

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

Extracting fit parameters...

4FGL J0839.8+0105
   Spectrum: LogParabola
295         norm:  9.818e-01  5.491e+00  0.000e+00  1.000e+06 ( 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 -5.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:  6.560e-01  1.285e-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.228e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/881681/likelihoodResults_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.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) = 7159.63720702
delta logL = 0.0623528029319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7159.60983085
delta logL = 0.08972897072

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1437       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6120       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64907       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7159.610     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      224 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1409        8.4348         .0000        .18385    
   2  alpha         1.6093        1.5988         .0000       -.19364E-04
   3  Normalizat    1.2345        .16870         .0000       -.10295E-03
   4  Prefactor     .64957        .12914         .0000       -.11901E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14094
  alpha      = 1.60935
  Normalizat = 1.2345
  Prefactor  = 0.649574
 **********
 **   18 **HESSE 
 **********

 FCN=   7159.610     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1409        5.1963        .14072E-03   -1.5679    
   2  alpha         1.6093        1.1685        .37814E-01   -.36426    
   3  Normalizat    1.2345        .19847        .23691E-03   -.85543    
   4  Prefactor     .64957        .15047        .23753E-03   -1.0554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30167e-09
Minuit parameter uncertainties:
  1  5.19633
  2  1.22373
  3  0.198592
  4  0.150567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881681': 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) = 7159.60982225
delta logL = 0.0897375736713

Extracting fit parameters...

4FGL J0839.8+0105
   Spectrum: LogParabola
295         norm:  2.141e+00  5.196e+00  0.000e+00  1.000e+06 ( 1.000e-12)
296        alpha:  1.609e+00  1.224e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.924e-01  0.000e+00 -5.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:  6.496e-01  1.506e-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.235e+00  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/881681/cmap_HighResolution_692409601_692668801_4FGL_J0839.8+0105_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-05', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2022-12-14 00:34:20.342439', job_id='881681', GAL2='0.65', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1671006860.34', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='8.97e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1748' AND source_name='4FGL J0839.8+0105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:34:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 881681: <4FGL_J0839.8+0105_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0839.8+0105_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:20 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:21 2022
Terminated at Wed Dec 14 00:34:21 2022
Results reported at Wed Dec 14 00:34:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0839.8+0105_daily_bin1748 129.963 1.0877 692409601 692668801 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 :                                   511.17 sec.
    Max Memory :                                 1167 MB
    Average Memory :                             384.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            541 sec.

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

