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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1723
RA = 120.888, Dec = 20.7678
tmin = 685929601, tmax = 686188801
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='431184', job_status='RUN', time_executed='2022-09-30 00:11:05.685369', time_epoch_executed='1664521865.69' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431184

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431184/ft1_4FGL_J0803.5+2046_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431184/ft1_4FGL_J0803.5+2046_daily_bin1723.fits outfile=/scratch/kocevski/431184/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1723.fits ra=120.888 dec=20.7678 rad=12.0 tmin=685929601.0 tmax=686188801.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.61
user 3.38
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.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/431184/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.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.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/431184/ltcube_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.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/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits
.....................!
real 14.95
user 14.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/431184/ltcube_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.fits outfile=/scratch/kocevski/431184/expmap_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.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/431184/ltcube_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.fits
.....................!
real 193.99
user 188.55
sys 4.84

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

Setting source of interest to:
4FGL J0803.5+2046 @ 120.888 20.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits scfile=/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits outfile=/scratch/kocevski/431184/cmap_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.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=120.888 yref=20.7678 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits scfile=/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits outfile=/scratch/kocevski/431184/cmap_HighResolution_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.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=120.888 yref=20.7678 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.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431184/Model_4FGL_J0803.5+2046_daily_bin1723.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/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits.....................!
real 69.51
user 68.08
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits', '/scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits', expMap='/scratch/kocevski/431184/expmap_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.fits', expCube='/scratch/kocevski/431184/ltcube_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/431184/Model_4FGL_J0803.5+2046_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0803.5+2046'

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  9.736e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/431184/ft1_filtered_4FGL_J0803.5+2046_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/431184/ft2_4FGL_J0803.5+2046_daily_bin1723.fits
Exposure map: /scratch/kocevski/431184/expmap_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.fits
Exposure cube: /scratch/kocevski/431184/ltcube_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/431184/Model_4FGL_J0803.5+2046_daily_bin1723.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6713.19917233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    41.169       1.0000          .0000       .10000E+07
     2 'norm      '    .45479       1.0000          .0000       .10000E+07
     3 'norm      '    13.702       1.0000          .0000       .10000E+07
     4 'norm      '    .39013       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20069       1.0000          .0000       .10000E+07
     6 'Prefactor '    .24529E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .80658E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.2264       1.0000          .0000       .10000E+07
     9 'norm      '    .25404E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .34164E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .47068E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48053E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38047E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    16.677       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.579       1.0000          .0000       .10000E+07
    16 'norm      '    2.3488       1.0000          .0000       .10000E+07
    17 'Prefactor '    .68282       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.4857       1.0000          .0000       .10000E+07
    19 'Normalizat'    .98356       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0042       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6712.072     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1231 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          41.278        3.6724       -.91068E-10    .35637E-01
   2  norm          .45513        .72800        .54328E-08    .11912E-02
   3  norm          13.697        2.8593        .15462E-07    .38751E-02
   4  norm          .39591        8.3763        .44074E-07   -.92914E-03
   5  Prefactor     .14578E-05    84.694       -.11214E-06** at limit **
   6  Prefactor     .20262E-07    8.1340        .56974E-07** at limit **
   7  Prefactor     .55511E-10    20.673       -.15207E-06** at limit **
   8  Prefactor     4.2286        2.8862        .47526E-07    .36727E-02
   9  norm          .52625E-07    112.68        .11392E-06** at limit **
  10  Prefactor     .55511E-09    35.844        .43156E-06** at limit **
  11  norm          .87708E-08    43.800        .43731E-06** at limit **
  12  Prefactor      .0000        12.721       -.21581E-06** at limit **
  13  Prefactor     .19706E-07    8.5160        .26739E-07** at limit **
  14  Prefactor     16.224        7.5646       -.20565E-07    .18009E-01
  15  Prefactor     16.673        1.3553        .23372E-08   -.50185E-02
  16  norm          2.3439        1.0986        .55745E-08    .17422E-02
  17  Prefactor     .72662        2.0972        .59905E-08   -.40133E-01
  18  Prefactor     3.6672        3.0887       -.57603E-08   -.22341E-01
  19  Normalizat    .98442        .21507       -.24107E-05   -.51115E-05
  20  Prefactor     1.0038        .16485        .16955E-05    .89472E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 41.2777
  norm       = 0.455126
  norm       = 13.6973
  norm       = 0.395911
  Prefactor  = 1.45783e-06
  Prefactor  = 2.02616e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 4.22857
  norm       = 5.26246e-08
  Prefactor  = 5.55112e-10
  norm       = 8.77076e-09
  Prefactor  = 0
  Prefactor  = 1.97065e-08
  Prefactor  = 16.2237
  Prefactor  = 16.6727
  norm       = 2.34394
  Prefactor  = 0.726615
  Prefactor  = 3.66724
  Normalizat = 0.984416
  Prefactor  = 1.00381
 **********
 **   18 **HESSE 
 **********

 FCN=   6712.072     FROM HESSE     STATUS=OK           349 CALLS     1580 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          41.278        16.751        .15587E-03   -1.5579    
   2  norm          .45513        .90493        .20278E-02   -1.5694    
   3  norm          13.697        2.8716        .27034E-03   -1.5634    
   4  norm          .39591        2.0290        .63202E-02   -1.5695    
   5  Prefactor     .14578E-05    114.99        .11764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20262E-07    8.2994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    20.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2286        2.9010        .48992E-03   -1.5667    
   9  norm          .52625E-07    110.18        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-09    7.0114        .68145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .87708E-08    43.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .19706E-07    8.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.224        17.539        .24499E-03   -1.5627    
  15  Prefactor     16.673        20.182        .24571E-03   -1.5626    
  16  norm          2.3439        1.1719        .66859E-03   -1.5677    
  17  Prefactor     .72662        18.878        .62114E-03   -1.5691    
  18  Prefactor     3.6672        47.390        .54134E-03   -1.5670    
  19  Normalizat    .98442        .19383        .45961E-01   -.93554    
  20  Prefactor     1.0038        .14399        .44371E-01   -.92602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32996e-07
Minuit parameter uncertainties:
  1  16.7507
  2  0.90493
  3  2.8716
  4  1.79253
  5  0.0258946
  6  0.000819703
  7  6.78678e-05
  8  2.90099
  9  0.00481485
  10  0.000125064
  11  0.00124219
  12  6.30917e-06
  13  0.000826799
  14  17.5392
  15  20.1821
  16  1.17194
  17  7.40725
  18  26.3663
  19  0.193968
  20  0.144045
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  8.771e-09  1.242e-03  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.004e+00  1.440e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  9.844e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.888 20.768
Photon Flux Upper Limit: 3.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431184/likelihoodResults_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.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) = 6712.0825413
delta logL = -0.0108614554592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6712.07167996
delta logL = -1.08992026071e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24633E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    3.9055       1.0000          .0000       5.0000    
     3 'Normalizat'    .98440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6712.072     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      187 TOTAL
                     EDM=   .25E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        17.001        .42118E-03** at limit **
   2  alpha         .15381        .46300        .15998E-03     .0000    
   3  Normalizat    .98442        1.3151        .10325E-05   -.50146E-06
   4  Prefactor     1.0038        1.2926        .80397E-06    .21689E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.153811
  Normalizat = 0.984417
  Prefactor  = 1.00381
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6712.072     FROM HESSE     STATUS=FAILED         7 CALLS      194 TOTAL
                     EDM=   .25E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        17.001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .30902E-01    .48881        .15998E-03   -1.2182    
   3  Normalizat    .98442        1.3151        .10325E-05   -.93554    
   4  Prefactor     1.0038        1.2926        .80397E-06   -.92603    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.50558e-14
Minuit parameter uncertainties:
  1  2.66227e-06
  2  0.488676
  3  1.36256
  4  1.33621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431184': 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): 101
logL (Free Index) = 6712.07167985
delta logL = 1.13686837722e-10

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  0.000e+00  2.662e-06  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  1.538e-01  4.887e-01  0.000e+00  5.000e+00 ( 1.000e+00)
275         beta:  7.702e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.004e+00  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  9.844e-01  1.363e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 120.888 20.768

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/431184/cmap_HighResolution_685929601_686188801_4FGL_J0803.5+2046_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-05', job_status='DONE', photon_flux_upper_limit='3.62e-08', time_completed='2022-09-30 00:20:31.386881', job_id='431184', GAL2='1.00', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1664522431.39', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.14e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1723' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:20:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 431183: <4FGL_J0803.5+2046_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:54 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:10:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:10:27 2022
Terminated at Fri Sep 30 00:20:15 2022
Results reported at Fri Sep 30 00:20:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1723 120.888 20.7678 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0803.5+2046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   559.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   587 sec.
    Turnaround time :                            861 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 431184: <4FGL_J0803.5+2046_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1723> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:54 2022
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:10:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:10:28 2022
Terminated at Fri Sep 30 00:20:32 2022
Results reported at Fri Sep 30 00:20:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1723 120.888 20.7678 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0803.5+2046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   567.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            878 sec.

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

