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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1712
RA = 120.888, Dec = 20.7678
tmin = 683078401, tmax = 683337601
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='60913', job_status='RUN', time_executed='2022-09-16 13:35:13.465961', time_epoch_executed='1663360513.47' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60913

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/60913/ft1_4FGL_J0803.5+2046_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/60913/ft2_4FGL_J0803.5+2046_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60913/ft1_4FGL_J0803.5+2046_daily_bin1712.fits outfile=/scratch/kocevski/60913/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1712.fits ra=120.888 dec=20.7678 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.80
user 4.54
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/60913/ft2_4FGL_J0803.5+2046_daily_bin1712.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/60913/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/60913/ft1_filtered_4FGL_J0803.5+2046_daily_bin1712.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.35
sys 0.14

Number of photons that the gtmktime cut: 692

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/60913/ft1_filtered_4FGL_J0803.5+2046_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/60913/ft2_4FGL_J0803.5+2046_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/60913/ltcube_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.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/60913/ft2_4FGL_J0803.5+2046_daily_bin1712.fits
.....................!
real 12.93
user 12.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60913/ft1_filtered_4FGL_J0803.5+2046_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/60913/ft2_4FGL_J0803.5+2046_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/60913/ltcube_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.fits outfile=/scratch/kocevski/60913/expmap_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.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/60913/ltcube_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.fits
.....................!
real 192.39
user 185.88
sys 5.58

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/60913/ft1_filtered_4FGL_J0803.5+2046_daily_bin1712.fits scfile=/scratch/kocevski/60913/ft2_4FGL_J0803.5+2046_daily_bin1712.fits outfile=/scratch/kocevski/60913/cmap_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60913/ft1_filtered_4FGL_J0803.5+2046_daily_bin1712.fits scfile=/scratch/kocevski/60913/ft2_4FGL_J0803.5+2046_daily_bin1712.fits outfile=/scratch/kocevski/60913/cmap_HighResolution_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.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.60
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29345E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .72355       1.0000          .0000       .10000E+07
     3 'norm      '    10.285       1.0000          .0000       .10000E+07
     4 'norm      '    2.4102       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.108       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.5311       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.4211       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.3390       1.0000          .0000       .10000E+07
     9 'norm      '    .37551       1.0000          .0000       .10000E+07
    10 'Prefactor '    .94028E-03   1.0000          .0000       .10000E+07
    11 'norm      '    108.76       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11925E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .43967E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .38280E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .58250E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .43587E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.4692       1.0000          .0000       .10000E+07
    18 'Prefactor '    44.149       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1650       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1419       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=   7863.069     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1536 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38858E-09    30.465       -.40172E-05** at limit **
   2  norm          .72557        .91680       -.17953E-06    .78071E-02
   3  norm          10.276        2.6108        .87886E-06    .11551E-01
   4  norm          2.3415        6.0241       -.55979E-06    .46094E-02
   5  Prefactor     12.122        42.371        .43452E-05   -.71333E-01
   6  Prefactor     6.5060        1.6586        .19528E-06   -.25208E-01
   7  Prefactor     8.4991        48.146        .49183E-05    .40629E-01
   8  Prefactor     2.3571        3.7350       -.41694E-06    .71186E-03
   9  norm          .62254E-05    3.1832        .51058E-06** at limit **
  10  Prefactor     .18213E-06    41.481        .13073E-05** at limit **
  11  norm          108.74        1.6739       -.46760E-07    .46910E-01
  12  Prefactor     .16653E-09    15.906        .68186E-06** at limit **
  13  Prefactor     .56621E-08    12.830       -.22934E-05** at limit **
  14  Prefactor     .99920E-09    9.0144        .15086E-05** at limit **
  15  Prefactor     .46074E-07    21.094        .10889E-05** at limit **
  16  norm          .22204E-09    3.6697       -.50268E-05** at limit **
  17  Prefactor     9.7281        10.965        .88043E-08   -.28344E-04
  18  Prefactor     44.648        14.482        .74267E-06    .15241    
  19  Normalizat    1.1624        .24980       -.34904E-04    .61358E-04
  20  Prefactor     1.1425        .17182        .29028E-04    .57146E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.88578e-10
  norm       = 0.725571
  norm       = 10.2758
  norm       = 2.34155
  Prefactor  = 12.1223
  Prefactor  = 6.50598
  Prefactor  = 8.49908
  Prefactor  = 2.35707
  norm       = 6.22535e-06
  Prefactor  = 1.82132e-07
  norm       = 108.743
  Prefactor  = 1.66533e-10
  Prefactor  = 5.66214e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 4.60743e-08
  norm       = 2.22045e-10
  Prefactor  = 9.7281
  Prefactor  = 44.6475
  Normalizat = 1.16241
  Prefactor  = 1.14252
 **********
 **   18 **HESSE 
 **********

 FCN=   7863.069     FROM HESSE     STATUS=OK           353 CALLS     1889 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38858E-09    9.6965        .85841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .72557        .92576        .58817E-03   -1.5691    
   3  norm          10.276        2.6502        .31218E-03   -1.5644    
   4  norm          2.3415        8.1477        .65915E-03   -1.5677    
   5  Prefactor     12.122        95.394        .30035E-03   -1.5638    
   6  Prefactor     6.5060        19.830        .39246E-03   -1.5657    
   7  Prefactor     8.4991        90.394        .36793E-03   -1.5650    
   8  Prefactor     2.3571        3.7767        .67015E-03   -1.5677    
   9  norm          .62254E-05    13.286        .12166E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18213E-06    41.063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          108.74        103.29        .95896E-04   -1.5499    
  12  Prefactor     .16653E-09    15.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56621E-08    12.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99920E-09    9.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .46074E-07    21.540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22204E-09    .90826        .28511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.7281        11.171        .32543E-03   -1.5646    
  18  Prefactor     44.648        44.170        .15051E-03   -1.5574    
  19  Normalizat    1.1624        .21188        .70203E-01   -.87772    
  20  Prefactor     1.1425        .14573        .52173E-01   -.88119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95361e-06
Minuit parameter uncertainties:
  1  0.000126233
  2  0.925761
  3  2.65023
  4  8.14771
  5  68.0131
  6  19.8298
  7  55.4361
  8  3.77675
  9  0.0181889
  10  0.00546971
  11  103.294
  12  0.000103783
  13  0.000540716
  14  0.000188265
  15  0.00199284
  16  2.80417e-05
  17  11.1715
  18  44.1701
  19  0.212037
  20  0.145784
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.087e+02  1.033e+02  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.143e+00  1.458e-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.162e+00  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.68
Ra Dec: 120.888 20.768
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.99e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 9.93e-06

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

Saving results to:
/scratch/kocevski/60913/likelihoodResults_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.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) = 7863.05248359
delta logL = 0.0161349400496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7863.05205427
delta logL = 0.0165642595402

Fit tolerance = 1e-08

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

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

 FCN=   7863.052     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      222 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          110.99        128.28        .94926E-04   -.25256E-02
   2  alpha         1.7197        1.5853        .44027       -.94784E-05
   3  Normalizat    1.1666        .19647        .70095E-01    .12692E-04
   4  Prefactor     1.1403        .14530        .52216E-01    .15148E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 110.992
  alpha      = 1.71971
  Normalizat = 1.1666
  Prefactor  = 1.14026
 **********
 **   18 **HESSE 
 **********

 FCN=   7863.052     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          110.99        104.40        .37970E-05   -1.5497    
   2  alpha         1.7197        1.3855        .50824E-01   -.31742    
   3  Normalizat    1.1666        .23064        .31015E-03   -.87641    
   4  Prefactor     1.1403        .17144        .23086E-03   -.88190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25731e-10
Minuit parameter uncertainties:
  1  104.401
  2  1.47936
  3  0.230841
  4  0.171522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60913': 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) = 7863.05205363
delta logL = 0.0165648994471

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.110e+02  1.044e+02  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  1.720e+00  1.479e+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:  1.140e+00  1.715e-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.167e+00  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 120.888 20.768
Photon Index (Free Index): 1.72 +/- 1.48
Photon Flux (Free Index): 1.77e-08 +/- 1.95e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.09e-05

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/60913/cmap_HighResolution_683078401_683337601_4FGL_J0803.5+2046_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', comment='SUCCESS', photon_flux='1.99e-08', energy_flux2='1.10e-05', photon_flux_error='1.89e-08', dlogl='1.66e-02', energy_flux='1.05e-05', photon_flux2='1.77e-08', job_status='DONE', time_completed='2022-09-16 13:45:30.474561', photon_index_error2='1.48', photon_index2='1.72', ts='1.68', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='6.42e-08', energy_flux_error2='1.09e-05', EG='1.16', time_epoch_completed='1663361130.47', return_code='0', job_id='60913', GAL2='1.14', EG2='1.17', return_code2='0', energy_flux_error='9.93e-06', photon_flux_error2='1.95e-08', ts2='1.71', photon_index='2.00' WHERE bin_id='1712' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:45:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 60913: <4FGL_J0803.5+2046_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1712> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 13:30:18 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:31:15 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:15 2022
Terminated at Fri Sep 16 13:45:31 2022
Results reported at Fri Sep 16 13:45:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1712 120.888 20.7678 683078401 683337601 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 :                                   617.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            913 sec.

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

