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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1715
RA = 120.888, Dec = 20.7678
tmin = 683856001, tmax = 684115201
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='60917', job_status='RUN', time_executed='2022-09-16 13:34:33.165076', time_epoch_executed='1663360473.17' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/60917/ft1_4FGL_J0803.5+2046_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60917/ft1_4FGL_J0803.5+2046_daily_bin1715.fits outfile=/scratch/kocevski/60917/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1715.fits ra=120.888 dec=20.7678 rad=12.0 tmin=683856001.0 tmax=684115201.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.47
user 3.22
sys 0.22

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

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

Number of photons that the gtmktime cut: 740

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/60917/ft1_filtered_4FGL_J0803.5+2046_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/60917/ltcube_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.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/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits
.....................!
real 14.92
user 14.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60917/ft1_filtered_4FGL_J0803.5+2046_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/60917/ltcube_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.fits outfile=/scratch/kocevski/60917/expmap_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.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/60917/ltcube_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.fits
.....................!
real 192.16
user 186.42
sys 5.32

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/60917/ft1_filtered_4FGL_J0803.5+2046_daily_bin1715.fits scfile=/scratch/kocevski/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits outfile=/scratch/kocevski/60917/cmap_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60917/ft1_filtered_4FGL_J0803.5+2046_daily_bin1715.fits scfile=/scratch/kocevski/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits outfile=/scratch/kocevski/60917/cmap_HighResolution_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/60917/ft1_filtered_4FGL_J0803.5+2046_daily_bin1715.fits', '/scratch/kocevski/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits', expMap='/scratch/kocevski/60917/expmap_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.fits', expCube='/scratch/kocevski/60917/ltcube_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/60917/Model_4FGL_J0803.5+2046_daily_bin1715.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/60917/ft1_filtered_4FGL_J0803.5+2046_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/60917/ft2_4FGL_J0803.5+2046_daily_bin1715.fits
Exposure map: /scratch/kocevski/60917/expmap_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.fits
Exposure cube: /scratch/kocevski/60917/ltcube_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/60917/Model_4FGL_J0803.5+2046_daily_bin1715.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) = 8199.72758544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.404       1.0000          .0000       .10000E+07
     2 'norm      '    .21871       1.0000          .0000       .10000E+07
     3 'norm      '    16.700       1.0000          .0000       .10000E+07
     4 'norm      '    6.0415       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.433       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45495E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.311       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11726E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .33295E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .65681E-01   1.0000          .0000       .10000E+07
    11 'norm      '    54.260       1.0000          .0000       .10000E+07
    12 'Prefactor '    .87673E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11512E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .42377E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .35014E-01   1.0000          .0000       .10000E+07
    16 'norm      '    3.1119       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74813       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15441E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1709       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97020       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=   8199.719     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1576 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.417        14.307        .13071E-05    .17492E-02
   2  norm          .21400        1.2370        .38299E-06** at limit **
   3  norm          16.707        2.9551       -.21761E-06   -.67862E-02
   4  norm          6.0171        4.4903        .75496E-06    .45119E-02
   5  Prefactor     24.633        31.311       -.46107E-05   -.88862E-01
   6  Prefactor     .10908E-06    24.589        .24883E-05** at limit **
   7  Prefactor     14.124        52.123        .30110E-05   -.19051E-01
   8  Prefactor      .0000        1.5261        .60206E-06** at limit **
   9  norm          .55511E-10    8.8180       -.40954E-06** at limit **
  10  Prefactor     .78839E-01    203.53        .28363E-04** at limit **
  11  norm          54.707        66.875        .65321E-05   -.62096E-01
  12  Prefactor     .95757E-07    24.493       -.15434E-05** at limit **
  13  Prefactor     .33307E-09    15.341        .90738E-06** at limit **
  14  Prefactor      .0000        7.6265       -.98337E-06** at limit **
  15  Prefactor     .44409E-09    29.439        .10306E-05** at limit **
  16  norm          3.1164        1.4040       -.44784E-07   -.29206E-02
  17  Prefactor     .62153        1.5026       -.10521E-05   -.19165E-02
  18  Prefactor      .0000        78.663       -.12610E-05** at limit **
  19  Normalizat    1.1725        .22136        .54234E-05    .18680E-03
  20  Prefactor     .96980        .16197       -.32141E-05    .22076E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.4173
  norm       = 0.214
  norm       = 16.707
  norm       = 6.01713
  Prefactor  = 24.6327
  Prefactor  = 1.09079e-07
  Prefactor  = 14.1241
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 0.0788393
  norm       = 54.7066
  Prefactor  = 9.57567e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  norm       = 3.11637
  Prefactor  = 0.621525
  Prefactor  = 0
  Normalizat = 1.17254
  Prefactor  = 0.9698
 **********
 **   18 **HESSE 
 **********

 FCN=   8199.719     FROM HESSE     STATUS=OK           343 CALLS     1919 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.417        14.334        .31039E-03   -1.5643    
   2  norm          .21400        .77735        .27045E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.707        2.9648        .24482E-03   -1.5626    
   4  norm          6.0171        4.8172        .40826E-03   -1.5659    
   5  Prefactor     24.633        47.512        .20235E-03   -1.5609    
   6  Prefactor     .10908E-06    24.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.124        53.529        .25570E-03   -1.5633    
   8  Prefactor      .0000        1.5191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    8.8167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .78839E-01    7.3142        .78807E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          54.707        85.568        .13577E-03   -1.5560    
  12  Prefactor     .95757E-07    24.769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33307E-09    15.367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        7.6285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .44409E-09    28.867        .16197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1164        1.4736        .57454E-03   -1.5673    
  17  Prefactor     .62153        45.934        .56884E-03   -1.5692    
  18  Prefactor      .0000        75.959        .17357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1725        .19358        .65542E-01   -.87456    
  20  Prefactor     .96980        .13793        .45894E-01   -.93743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43057e-06
Minuit parameter uncertainties:
  1  14.334
  2  0.777348
  3  2.96484
  4  4.81722
  5  47.5124
  6  0.00327383
  7  53.5312
  8  8.31799e-06
  9  3.96635e-05
  10  1.51875
  11  85.5702
  12  0.00307992
  13  0.000146425
  14  1.38146e-05
  15  0.00021968
  16  1.47356
  17  10.6864
  18  4.81659e-05
  19  0.193699
  20  0.137978
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  5.471e+01  8.557e+01  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:  9.698e-01  1.380e-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:  1.173e+00  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/60917/likelihoodResults_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.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) = 8199.47328475
delta logL = 0.245418078412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8199.45159968
delta logL = 0.267103152897

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.167       1.0000          .0000       .10000E+07
     2 'alpha     '    .68391       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96743       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8199.452     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      200 TOTAL
                     EDM=   .74E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.140        66.451       -.90400E-06   -.13898E-03
   2  alpha         .67822        1.3645       -.16745E-03    .72551E-06
   3  Normalizat    1.1784        .17924       -.24285E-06    .90129E-04
   4  Prefactor     .96751        .13379        .35089E-06    .42143E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 40.1396
  alpha      = 0.678216
  Normalizat = 1.1784
  Prefactor  = 0.967514
 **********
 **   18 **HESSE 
 **********

 FCN=   8199.452     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.140        62.164        .63120E-05   -1.5581    
   2  alpha         .67822        1.3039        .69947E-01   -.81644    
   3  Normalizat    1.1784        .20977        .28930E-03   -.87273    
   4  Prefactor     .96751        .15657        .23376E-03   -.93820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4213e-10
Minuit parameter uncertainties:
  1  62.1651
  2  1.48221
  3  0.209916
  4  0.156646
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60917': 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) = 8199.45158561
delta logL = 0.267117222247

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  4.014e+01  6.217e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  6.782e-01  1.482e+00  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:  9.675e-01  1.566e-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:  1.178e+00  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 120.888 20.768
Photon Index (Free Index): 0.68 +/- 1.48
Photon Flux (Free Index): 5.79e-09 +/- 7.98e-09
Energy Flux (Free Index): 6.86e-06 +/- 8.84e-06

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/60917/cmap_HighResolution_683856001_684115201_4FGL_J0803.5+2046_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', comment='SUCCESS', energy_flux2='6.86e-06', dlogl='2.67e-01', photon_flux2='5.79e-09', job_status='DONE', time_completed='2022-09-16 13:44:59.908721', photon_index_error2='1.48', photon_index2='0.68', ts='0.56', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='5.05e-08', energy_flux_error2='8.84e-06', EG='1.17', time_epoch_completed='1663361099.91', return_code='0', job_id='60917', GAL2='0.97', EG2='1.18', return_code2='0', photon_flux_error2='7.98e-09', ts2='1.09', photon_index='2.00' WHERE bin_id='1715' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:44:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 60917: <4FGL_J0803.5+2046_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1715> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 13:30:19 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:31:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:31:22 2022
Terminated at Fri Sep 16 13:45:00 2022
Results reported at Fri Sep 16 13:45:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1715 120.888 20.7678 683856001 684115201 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 :                                   629.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            881 sec.

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

